home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / privoxy / privoxy_setup_3.0.21.exe / templates / edit-actions-url-form < prev    next >
Text File  |  2013-03-08  |  5KB  |  151 lines

  1. ##############################################################################
  2. #
  3. # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-url-form,v $
  4. #
  5. # Purpose     :  Template used to edit a URL pattern in an actions file.
  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. ##############################################################################
  33. #
  34. # Standard support:
  35. #
  36. # This file currently produces valid HTML 4.01 Strict.
  37. #
  38. # If you change it, please save the generated page from your web browser
  39. # and then upload it to http://validator.w3.org/ for checking.
  40. #
  41. #############################################################################
  42. #
  43. # Available variables include:
  44. #
  45. # f - filename
  46. # v - version
  47. # s - section
  48. # p - pattern
  49. # u - old value of URL
  50. # jumptarget - append to eal URL to jump to relevant section
  51. #
  52. #############################################################################
  53. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  54. <html>
  55.  
  56. <head>
  57.   <meta http-equiv="Content-Style-Type" content="text/css">
  58.   <meta http-equiv="Content-Script-Type" content="text/javascript">
  59.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  60.   <meta name="robots" content="noindex,nofollow">
  61.   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
  62.   <link rel="shortcut icon" href="@default-cgi@favicon.ico">
  63.  
  64.   <title>Privoxy@@my-hostname@: Edit URL Pattern</title>
  65.  
  66.   <script type="text/javascript">
  67. <!--
  68. function validate(text)
  69. {
  70.   if (text=="")
  71.   {
  72.     alert("You need to type a pattern in order to continue!");
  73.     return false;
  74.   }
  75.  
  76.   return true;
  77. }
  78. //-->
  79.   </script>
  80. </head>
  81.  
  82. <body>
  83.  
  84.   <table cellpadding="20" cellspacing="10" border="0" width="100%">
  85.     <tr>
  86.       <td class="title">
  87.  
  88. #include mod-title
  89.  
  90.       </td>
  91.     </tr>
  92.  
  93. <!-- @if-unstable-start -->
  94. # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
  95.     <tr>
  96.       <td class="warning">
  97.  
  98. #include mod-unstable-warning
  99.  
  100.       </td>
  101.     </tr>
  102. <!-- if-unstable-end@ -->
  103.  
  104.     <tr>
  105.       <td class="box">
  106.         <h2>Edit URL or TAG Pattern</h2>
  107.         <form method="GET" action="edit-actions-url"
  108.               onSubmit="return validate(u.value);">
  109.           <p>
  110.             <input type="hidden" name="f" value="@f@">
  111.             <input type="hidden" name="v" value="@v@">
  112.             <input type="hidden" name="p" value="@p@">
  113.             <input type="text" name="u" value="@u@" size="78" class="pattern"><br>
  114.             <input type="submit" value="Submit">  
  115.             <input type="reset" value="Reset">  
  116.             <a class="cmd" href="edit-actions-list?f=@f@@jumptarget@">Cancel</a>
  117.           </p>
  118.         </form>
  119.       </td>
  120.     </tr>
  121.  
  122.     <tr>
  123.       <td class="box">
  124.         <h2>More Privoxy:</h2>
  125.         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
  126.       </td>
  127.     </tr>
  128.  
  129.     <tr>
  130.       <td class="info">
  131.  
  132. #include mod-support-and-service
  133.  
  134.       </td>
  135.     </tr>
  136.  
  137. <!-- @if-have-help-info-start -->
  138.     <tr>
  139.       <td class="info">
  140.  
  141. #include mod-local-help
  142.  
  143.       </td>
  144.     </tr>
  145. <!-- if-have-help-info-end@ -->
  146.  
  147.   </table>
  148. </body>
  149.  
  150. </html>
  151.