<!--
Copyright (c) 2002 Infrae. All rights reserved.
See also LICENSE.txt
Version of this file: $Revision: 1.2 $
-->
<h1 tal:replace="structure here/manage_page_header">Header</h1>
<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
  tal:replace="structure here/manage_tabs">Tabs</h2>

<h2 tal:define="
  form_title string:Edit Files Service"
  tal:replace="structure here/manage_form_title">Form Title</h2>
  <p class="form-help">
    Edit Files Service  
  </p>
  <div style="background-color: #FFEEDD; width:60%;"
    tal:condition="not:here/is_filesystem_storage_available">
    <span class="form-label">Filesystem storage is not available.</span>
    <br />Thus, following settings do not have any effect. 
  </div>
  <br />
  <form action="manage_filesServiceEdit" method="post">
    <table cellspacing="0" cellpadding="2" border="0">
      <tr>
        <td align="left" valign="top">
          <div class="form-label">
            Id
          </div>
        </td>
        <td align="left" valign="top">
          <input type="text" name="id" size="40" value="service_files" disabled="disabled"
            tal:attributes="value here/id" />
        </td>
      </tr>
      <tr>
        <td align="left" valign="top">
          <div class="form-label">
            Title
          </div>
        </td>
        <td align="left" valign="top">
          <input type="text" name="title" size="40" 
          tal:attributes="value here/title" />
        </td>
      </tr>
      <tr>
        <td align="left" valign="top">
          <div class="form-label">
            Enable filesystem storage
          </div>
        </td>
        <td align="left" valign="top">
          <input type="checkbox" name="filesystem_storage_enabled"
            tal:attributes="checked python:test(here.filesystem_storage_enabled(), 'CHECKED', '')" />
        </td>
      </tr>
      <tr>
        <td align="left" valign="top">
          <div class="form-label">
            Filesystem path<br />
            (relative to Zope's INSTANCE_HOME.<br />
            For security reasons, only alphanumeric<br />
            and '/' characters are allowed. However<br />
            a leading '/' will be ignored.)
          </div>
        </td>
        <td align="left" valign="top">
          <input type="text" name="filesystem_path" size="40"
            tal:attributes="value here/filesystem_path" />
        </td>
      </tr>
      <tr>
        <td align="left" valign="top">
        </td>
        <td align="left" valign="top">
          <div class="form-element">
            <input class="form-element" type="submit" name="submit_edit" 
              value=" Edit " /> 
          </div>
        </td>
      </tr>
    </table>
  </form>
  <h1 tal:replace="structure here/manage_page_footer">Footer</h1>
