2de8ce241ef035a043432ae85d632778933b5845
[privoxy.git] / templates / edit-actions-list-section
1 ##############################################################################
2 #
3 # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-list-section,v $
4 #
5 # Purpose     :  Template which forms part of edit-actions-list
6
7 #
8 # Copyright   :  Written by and Copyright (C) 2001 the SourceForge
9 #                Privoxy team. http://www.privoxy.org/
10 #
11 #                Original Author: Copyright (C) 2001 Jonathan Foster
12 #                http://www.jon-foster.co.uk/
13 #
14 #                This program is free software; you can redistribute it 
15 #                and/or modify it under the terms of the GNU General
16 #                Public License as published by the Free Software
17 #                Foundation; either version 2 of the License, or (at
18 #                your option) any later version.
19 #
20 #                This program is distributed in the hope that it will
21 #                be useful, but WITHOUT ANY WARRANTY; without even the
22 #                implied warranty of MERCHANTABILITY or FITNESS FOR A
23 #                PARTICULAR PURPOSE.  See the GNU General Public
24 #                License for more details.
25 #
26 #                The GNU General Public License should be included with
27 #                this file.  If not, you can view it at
28 #                http://www.gnu.org/copyleft/gpl.html
29 #                or write to the Free Software Foundation, Inc., 59
30 #                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
31 #
32 # Revisions   :
33 #    $Log: edit-actions-list-section,v $
34 #    Revision 1.6  2002/03/24 11:01:06  swa
35 #    name change
36 #
37 #    Revision 1.5  2002/01/23 00:26:45  jongfoster
38 #    Reducing length of URLs
39 #    Where encoded and unencoded versions of a string existed, removing
40 #    the unencoded one.
41 #
42 #    Revision 1.4  2002/01/17 21:33:00  jongfoster
43 #    Replacing all references to the URL of the config interface
44 #    with @default-cgi@
45 #
46 #    Revision 1.3  2001/11/13 00:58:18  jongfoster
47 #    New version of actions file editor templates
48 #
49 #
50 #############################################################################
51 #
52 # Available variables include:
53 #
54 # filename
55 # ver
56 # sectionid
57 # urls
58 #
59 #############################################################################
60 #
61 # ** Important note: **
62 #
63 # It is important to keep this file small.  That's why all the
64 # identifiers in the HTML are short and cryptic.  Currently, the main
65 # edit-actions page is ~300k.  Before it was optimized, it was ~550k.
66 #
67 #############################################################################
68 <table border="0" width="100%" cellspacing="0" cellpadding="3" class="wide">
69 <tr class="actions" valign="top">
70  <td class="header" align="right">Actions:</td>
71  <td align="center"><a name="l@s@" href="eas?f=@f@&amp;v=@v@&amp;s=@s@">Edit</a></td>
72  <td class="action" align="left">@actions@</td>
73 </tr>
74 <tr class="rule">
75  <td colspan="3"><img src="t" width="2" height="1" alt="----"></td>
76 </tr>
77 <tr class="url1" valign="top">
78  <td class="header" align="right">URLs:</a></td>
79  <td align="center"><a href="eaa?f=@f@&amp;v=@v@&amp;s=@s@">Add</a></td>
80  <td align="left">&nbsp;</td>
81 </tr>
82 @urls@
83 <tr class="rule">
84  <td colspan="3"><img src="t" width="2" height="1" alt="-"></td>
85 </tr>
86 <tr class="adv" valign="top">
87  <td class="header" align="right"><b>Advanced:</b></td>
88  <td colspan="2">
89   <table border="0" cellspacing="0" cellpadding="4">
90    <tr valign="middle" align="center">
91     <td class="nbr"> &nbsp; @if-s-prev-exists-start@<a href="eass?f=@f@&amp;v=@v@&amp;s1=@s-prev@&amp;s2=@s@">Move section up</a> &nbsp; @if-s-prev-exists-end@</td>
92     <td class="nbr"> &nbsp; <a href="easa?f=@f@&amp;v=@v@&amp;s=@s@">Insert new section below</a> &nbsp; </td>
93    </tr>
94    <tr valign="middle" align="center">
95     <td class="nbr"> &nbsp; @if-s-next-exists-start@<a href="eass?f=@f@&amp;v=@v@&amp;s1=@s@&amp;s2=@s-next@">Move section down</a> &nbsp; @if-s-next-exists-end@</td>
96     <td class="nbr"> &nbsp; @if-empty-section-start@<a href="easr?f=@f@&amp;v=@v@&amp;s=@s@">Delete whole section</a>&nbsp; @if-empty-section-end@</td>
97    </tr>
98   </table>
99  </td>
100 </tr>
101 </table>
102 <p>&nbsp;</p>
103