Synced with stable branch
[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.14  2002/05/21 19:12:43  oes
35 #     - Added client-side JavaScript versions of edit and add URL forms
36 #     - Moved jump targets to before container table cell
37 #
38 #    Revision 1.13  2002/05/12 15:45:33  jongfoster
39 #    Applying [Patch 552094] New templates for edit-actions-list
40 #    This cleans up the templates by:
41 #    - Removing the (confusing) alternating color scheme.
42 #    - Making everything left-justified.
43 #
44 #    Revision 1.12  2002/04/26 12:58:11  oes
45 #    Central "button" link style in cgi-style.css
46 #
47 #    Revision 1.11  2002/04/24 02:14:03  oes
48 #    Changed shortcuts, Cosmetics
49 #
50 #    Revision 1.10  2002/04/17 21:27:26  jongfoster
51 #    Adding #linenumber to the URLs which affect blocks, to make
52 #    editing in long files easier.
53 #
54 #    Revision 1.9  2002/04/17 15:51:47  oes
55 #    Args! Restoring CVS history
56 #
57 #    Revision 1.8  2002/04/17 15:04:16  oes
58 #    Adapted to style change
59 #
60 #    Revision 1.7  2002/03/26 22:29:56  swa
61 #    we have a new homepage!
62 #
63 #    Revision 1.6  2002/03/24 11:01:06  swa
64 #    name change
65 #
66 #    Revision 1.5  2002/01/23 00:26:45  jongfoster
67 #    Reducing length of URLs
68 #    Where encoded and unencoded versions of a string existed, removing
69 #    the unencoded one.
70 #
71 #    Revision 1.4  2002/01/17 21:33:00  jongfoster
72 #    Replacing all references to the URL of the config interface
73 #    with @default-cgi@
74 #
75 #    Revision 1.3  2001/11/13 00:58:18  jongfoster
76 #    New version of actions file editor templates
77 #
78 #
79 #############################################################################
80 #
81 # Available variables include:
82 #
83 # filename
84 # ver
85 # sectionid
86 # urls
87 #
88 #############################################################################
89 #
90 # ** Important note: **
91 #
92 # It is important to keep this file small.  That's why all the
93 # identifiers in the HTML are short and cryptic.  Currently, the main
94 # edit-actions page is ~300k.  Before it was optimized, it was ~550k.
95 #
96 #############################################################################
97
98 <tr><td class="container"><a name="l@s@"></a>
99 <table border="0" width="100%" cellspacing="2" cellpadding="3" class="framed">
100 <tr class="actions"><td class="header"><a href="@user-manual@@actions-help-prefix@ACTIONS">Actions</a>:</td></tr>
101 <tr class="actions"><td class="indentbuttons"><a href="eafu?f=@f@&amp;v=@v@&amp;s=@s@">Edit</a></td></tr>
102 <tr class="actions"><td class="action">@actions@</td></tr>
103 <tr class="url"><td class="header"><a href="@user-manual@@actions-help-prefix@AF-PATTERNS">URL patterns</a>:</td></tr>
104 <tr class="url"><td class="indentbuttons"><a href="eaa?f=@f@&amp;v=@v@&amp;s=@s@" onclick="return a_p(@s@);">Add</a></td></tr>
105 @urls@
106 <tr class="adv"><td class="header">Advanced:</td></tr>
107 <tr class="adv"><td class="indentbuttons">
108 @if-s-prev-exists-start@<a href="eass?f=@f@&amp;v=@v@&amp;s1=@s-prev@&amp;s2=@s@#l@s-prev@">Move section up</a> &nbsp; @if-s-prev-exists-end@
109 @if-s-next-exists-start@<a href="eass?f=@f@&amp;v=@v@&amp;s1=@s@&amp;s2=@s-next@#l@s@">Move section down</a> &nbsp; @if-s-next-exists-end@
110 <a href="easa?f=@f@&amp;v=@v@&amp;s=@s@#l@s-next@">Insert new section below</a>
111 @if-empty-section-start@ &nbsp; <a href="easr?f=@f@&amp;v=@v@&amp;s=@s@#l@s@">Delete whole section</a>@if-empty-section-end@
112 </td></tr>
113 </table>
114 </td></tr>