[CMF-checkins] CVS: CMF/CMFCore/dtml - addFSDirView.dtml:1.1.106.1

Yvo Schubbe y.2004_ at wcm-solutions.de
Sun May 16 15:52:44 EDT 2004


Update of /cvs-repository/CMF/CMFCore/dtml
In directory cvs.zope.org:/tmp/cvs-serv24500/CMFCore/dtml

Modified Files:
      Tag: yuppie-collector210-branch
	addFSDirView.dtml 
Log Message:
- fixed / cleaned up / improved add form


=== CMF/CMFCore/dtml/addFSDirView.dtml 1.1 => 1.1.106.1 ===
--- CMF/CMFCore/dtml/addFSDirView.dtml:1.1	Fri Feb 23 09:24:11 2001
+++ CMF/CMFCore/dtml/addFSDirView.dtml	Sun May 16 15:52:44 2004
@@ -1,47 +1,46 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
-<HTML lang="en">
-<HEAD>
-<TITLE>Add Directory View</TITLE>
-</HEAD>
-<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
-<H2>Add Directory View</H2>
+<dtml-var manage_page_header>
 
-<P>
-<!-- Description here -->
-</P>
+<dtml-var "manage_form_title(this(), _,
+           form_title='Add Directory View'
+	   )">
 
-<FORM ACTION="manage_addDirectoryView" METHOD="POST">
-<TABLE CELLSPACING="2">
-<TR>
-  <TD ALIGN="LEFT" VALIGN="TOP">
-  <EM><STRONG>Directory</STRONG></EM>
-  </TD>
-  <TD ALIGN="LEFT" VALIGN="TOP">
-  <select name="filepath" size="5">
+<p class="form-help">A Directory View mounts a filesystem directory in read
+ only mode.</p>
+
+<p class="form-help">For security reasons you have to select the directory
+ from a list of registered directories:</p>
+
+<form action="manage_addDirectoryView" method="post">
+<table cellspacing="2">
+ <tr>
+  <td align="left" valign="top">
+   <div class="form-label">Directory<div>
+  </td>
+  <td align="left" valign="top">
+   <select name="dirpath" size="5">
     <dtml-in manage_listAvailableDirectories>
       <option value="&dtml-sequence-item;">&dtml-sequence-item;</option>
     </dtml-in>
-  </select>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="LEFT" VALIGN="TOP">
-  <STRONG>Id</STRONG>
-  </TD>
-  <TD ALIGN="LEFT" VALIGN="TOP">
-  <INPUT TYPE="TEXT" NAME="id" SIZE="40">
+   </select>
+  </td>
+ </tr>
+ <tr>
+  <td align="left" valign="top">
+   <div class="form-optional">Id<div>
+  </td>
+  <td align="left" valign="top">
+  <input type="text" name="id" size="40">
   <br>
   <em>(Leave blank to use the default.)</em>
-  </TD>
-</TR>
+  </td>
+ </tr>
+ <tr>
+  <td><br></td>
+  <td>
+   <input type="submit" name="submit" value=" Add ">
+  </td>
+ </tr>
+</table>
+</form>
 
-<TR>
-<TD></TD>
-<TD>
-<BR><INPUT TYPE="SUBMIT" name="submit" VALUE=" Add ">
-</TD>
-</TR>
-</TABLE>
-</FORM>
-</BODY>
-</HTML>
+<dtml-var manage_page_footer>




More information about the CMF-checkins mailing list