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

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