<h1 tal:replace="structure here/manage_page_header" />
<h1 tal:replace="structure here/manage_tabs" />

<!--
  $RCSfile: edit_cachemgr.pt,v $

  This is the HTML form for manipulating
  the Cache used for a related set of XSLTMethod objects.

  Author: Craeg Strong <cstrong@arielpartners.com>
  Modified by Philipp "philiKON" von Weitershausen <philikon@philikon.de>

  $Id: edit_cachemgr.pt,v 1.4 2003/03/30 03:45:47 cstrong Exp $
-->
  
<p class="form-help">
The Cache Management tab is used to perform batch operations
on XSLTMethod objects.  The operations will be applied to
the set of all XSLTMethod instances that are being managed
by this CacheManager.  This set is defined as all of the
XSLTMethod instances located underneath the folder in which
this CacheManager is located.
</p>

<p>The following are the set of possible operations:</p>
<ol>
  <li class="list-item">Turn caching on or off</li>
  <li class="list-item">List the filenames for all of the currently cached content</li>
  <li class="list-item">Remove all the files representing the currently cached content (clear cache)</li>
</ol>

<h3>Batch operations</h3>

<table cellpadding="5px">
  <tr>
    <td align="center" valign="center">
      <form name="CacheOnForm" action="." method="post">
	  <input type="submit" name="manage_setCachingOn:method"
	    value = "Turn Caching On" />
      </form>
    </td>
    <td align="center" valign="center">
      <form name="CacheOffForm" action="." method="post">
	  <input type="submit" name="manage_setCachingOff:method"
	    value = "Turn Caching Off" />
      </form>
    </td>
  </tr>
  <tr>
    <td align="center" valign="center">
      <form name="listCacheFilesForm" action="." method="post">
	  <input type="submit" name="manage_listCacheFiles:method"
	    value = "List Files In Cache" />
      </form>
    </td>
    <td align="center" valign="center">
      <form name="clearCacheForm" action="." method="post">
	  <input type="submit" name="manage_clearCache:method"
	    value = "Clear Cache" />
      </form>
    </td>
  </tr>
</table>

<h3>Results</h3>
<textarea rows="40" cols="80" readonly="readonly"
          tal:content="options/batchOperationOutput | nothing"></textarea>

<h1 tal:replace="structure here/manage_page_footer" />
