##############################################################################
#
-# File : $Source: /cvsroot/ijbswa/current/cgi.c,v $
+# File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-list-section,v $
#
# Purpose : Template which forms part of edit-actions-list
#
#
# Copyright : Written by and Copyright (C) 2001 the SourceForge
-# IJBSWA team. http://ijbswa.sourceforge.net
+# Privoxy team. http://www.privoxy.org/
#
# Original Author: Copyright (C) 2001 Jonathan Foster
# http://www.jon-foster.co.uk/
# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Revisions :
-# $Log$
+# $Log: edit-actions-list-section,v $
+# Revision 1.15.2.1 2003/12/17 16:35:17 oes
+# Work around new & silly MSIE behaviour where the request resulting from
+# changing window.location.href doesn't reveal the referrer anymore
+#
+# Revision 1.15 2002/05/21 21:02:52 oes
+# Added more help links
+#
+# Revision 1.14 2002/05/21 19:12:43 oes
+# - Added client-side JavaScript versions of edit and add URL forms
+# - Moved jump targets to before container table cell
+#
+# Revision 1.13 2002/05/12 15:45:33 jongfoster
+# Applying [Patch 552094] New templates for edit-actions-list
+# This cleans up the templates by:
+# - Removing the (confusing) alternating color scheme.
+# - Making everything left-justified.
+#
+# Revision 1.12 2002/04/26 12:58:11 oes
+# Central "button" link style in cgi-style.css
+#
+# Revision 1.11 2002/04/24 02:14:03 oes
+# Changed shortcuts, Cosmetics
+#
+# Revision 1.10 2002/04/17 21:27:26 jongfoster
+# Adding #linenumber to the URLs which affect blocks, to make
+# editing in long files easier.
+#
+# Revision 1.9 2002/04/17 15:51:47 oes
+# Args! Restoring CVS history
+#
+# Revision 1.8 2002/04/17 15:04:16 oes
+# Adapted to style change
+#
+# Revision 1.7 2002/03/26 22:29:56 swa
+# we have a new homepage!
+#
+# Revision 1.6 2002/03/24 11:01:06 swa
+# name change
+#
+# Revision 1.5 2002/01/23 00:26:45 jongfoster
+# Reducing length of URLs
+# Where encoded and unencoded versions of a string existed, removing
+# the unencoded one.
+#
+# Revision 1.4 2002/01/17 21:33:00 jongfoster
+# Replacing all references to the URL of the config interface
+# with @default-cgi@
+#
+# Revision 1.3 2001/11/13 00:58:18 jongfoster
+# New version of actions file editor templates
+#
#
#############################################################################
#
# urls
#
#############################################################################
-<table border="0" width="100%" cellspacing="0" cellpadding="3" class="wide">
-<tr class="actions" valign="top">
- <td class="header" align="right"><a name="s@sectionid@"></a>Actions:</td>
- <td align="center"><a class="cmd" href="http://i.j.b/edit-actions-for-url?filename=@filename@&ver=@ver@&section=@sectionid@"
- >Edit</a></td>
- <td class="action" align="left">@actions@</td>
-</tr>
-<tr class="rule">
- <td colspan="3"><img src="http://i.j.b/send-banner?type=trans" width="2"
- height="1" alt="----"></td>
-</tr>
-<tr class="url1" valign="top">
- <td class="header" align="right"><a name="s@sectionid@urls">URLs:</a></td>
- <td align="center"><a class="cmd" href="http://i.j.b/edit-actions-add-url-form?filename=@filename@&ver=@ver@&section=@sectionid@"
- >Add</a></td>
- <td align="left"> </td>
-</tr>
+#
+# ** Important note: **
+#
+# It is important to keep this file small. That's why all the
+# identifiers in the HTML are short and cryptic. Currently, the main
+# edit-actions page is ~300k. Before it was optimized, it was ~550k.
+#
+#############################################################################
+<tr><td class="container"><a name="l@s@"></a>
+<table border="0" width="100%" cellspacing="2" cellpadding="3" class="framed">
+<tr class="actions"><td class="header"><a href="@user-manual@@actions-help-prefix@ACTIONS">Actions</a>:</td></tr>
+<tr class="actions"><td class="indentbuttons"><a href="eafu?f=@f@&v=@v@&s=@s@">Edit</a></td></tr>
+<tr class="actions"><td class="action">@actions@</td></tr>
+<tr class="url"><td class="header"><a href="@user-manual@@actions-help-prefix@AF-PATTERNS">URL patterns</a>:</td></tr>
+<tr class="url"><td class="indentbuttons"><a href="eaa?f=@f@&v=@v@&s=@s@" onclick="return a_p(this,@s@);">Add</a></td></tr>
@urls@
-
-<tr class="rule">
- <td colspan="3"><img src="http://i.j.b/send-banner?type=trans" width="2"
- height="1" alt="-"></td>
-</tr>
-<tr class="adv" valign="top">
- <td class="header" align="right"><b>Advanced:</b></td>
- <td colspan="2">
- <table border="0" cellspacing="0" cellpadding="4">
- <tr valign="middle" align="center">
- <td class="nobreak"> <a class="cmd" href="javascript:not_yet()">Move section up</a> </td>
- <td class="nobreak">
- <a class="cmd" href="http://i.j.b/edit-actions-section-add?filename=@filename@&ver=@ver@&section=@sectionid@"
- >Insert new section below</a> </td>
- </tr>
- <tr valign="middle" align="center">
- <td class="nobreak"> <a class="cmd" href="javascript:not_yet()">Move section down</a> </td>
- <td class="nobreak"><!-- @if-empty-section-start -->
- <a class="cmd" href="http://i.j.b/edit-actions-section-remove?filename=@filename@&ver=@ver@&section=@sectionid@"
- >Delete whole section</a><!-- if-empty-section-end@ --> </td>
- </tr>
- </table>
- </td>
-</tr>
+<tr class="adv"><td class="header">Advanced:</td></tr>
+<tr class="adv"><td class="indentbuttons">
+@if-s-prev-exists-start@<a href="eass?f=@f@&v=@v@&s1=@s-prev@&s2=@s@#l@s-prev@">Move section up</a> @if-s-prev-exists-end@
+@if-s-next-exists-start@<a href="eass?f=@f@&v=@v@&s1=@s@&s2=@s-next@#l@s@">Move section down</a> @if-s-next-exists-end@
+<a href="easa?f=@f@&v=@v@&s=@s@#l@s-next@">Insert new section below</a>
+@if-empty-section-start@ <a href="easr?f=@f@&v=@v@&s=@s@#l@s@">Delete whole section</a>@if-empty-section-end@
+</td></tr>
</table>
-<p> </p>
-
-
-
+</td></tr>