1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta http-equiv="Content-Script-Type" content="text/javascript">
7 <meta name="robots" content="noindex,nofollow">
9 <title>JunkBuster: Edit actions list</title>
11 <style type="text/css">
12 body { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif }
13 tr.actions { background-color: #EEFFEE }
14 tr.url1 { background-color: #D0D0FF }
15 tr.url2 { background-color: #EEEEFF }
16 tr.rule { background-color: #C0C0C0; height: 3 }
17 tr.adv { background-color: #FFFFD0 }
18 td.header { font-weight: bold }
19 td.url { font-weight: bold }
20 td.action { font-weight: bold; font-style: italic }
23 <script type="text/javascript">
27 window.alert("The feature you are trying to use has not been implemented yet.");
30 function edit_pattern(b,p,ct)
33 nt=window.prompt("Edit this URL pattern:",ct);
34 if ((nt!=null)&&(nt!=ct)&&(nt!=""))
35 { window.location.href="http://i.j.b/edit-actions-url?filename=@filename@&ver=@ver@§ion="+b+"&pattern="+p+"&newval="+escape(nt)+"#s"+b+"url"+p; }
38 function remove_pattern(b,p,ct)
40 if (window.confirm("Are you sure you want to delete this URL pattern?\nPattern is: "+unescape(ct)))
41 { window.location.href="http://i.j.b/edit-actions-remove-url?filename=@filename@&ver=@ver@§ion="+b+"&pattern="+p+"#s"+b+"urls"; }
44 function add_pattern(b)
46 nt=window.prompt("Enter URL pattern to add:", "");
47 if ((nt!=null)&&(nt!=""))
48 { window.location.href="http://i.j.b/edit-actions-add-url?filename=@filename@&ver=@ver@§ion="+b+"&newval="+escape(nt)+"#s"+b+"urls"; }
51 function edit_actions(b)
53 window.location.href="http://i.j.b/edit-actions-for-url?filename=@filename@&ver=@ver@§ion="+b;
56 function section_down(b)
59 //window.location.href="http://i.j.b/edit-actions-section-down?filename=@filename@&ver=@ver@§ion="+b+"#s"+b+"urls";
62 function section_up(b)
65 //window.location.href="http://i.j.b/edit-actions-section-up?filename=@filename@&ver=@ver@§ion="+b+"#s"+b+"urls";
68 function section_add(b)
70 window.location.href="http://i.j.b/edit-actions-section-add?filename=@filename@&ver=@ver@§ion="+b+"#s"+b+"urls";
73 function section_remove(b)
75 if (window.confirm("Are you REALLY sure you want to delete this empty section?"))
76 window.location.href="http://i.j.b/edit-actions-section-remove?filename=@filename@&ver=@ver@§ion="+b+"#s"+b+"urls";
83 <h1>Editing @filename@.action</h1>
86 <form action="http://i.j.b/">
87 <input type="button" onclick="section_add(0)" value="Insert new section at top">