[CMF-checkins] CVS: CMF - custstx.dtml:1.1
tseaver@digicool.com
tseaver@digicool.com
Tue, 29 May 2001 22:53:18 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore/dtml
In directory korak.digicool.com:/tmp/cvs-serv9800/CMFCore/dtml
Added Files:
custstx.dtml
Log Message:
- Moved STX handling ('_format_stx') out of CMFDefault.Document into
CMFCore.utils & made it a free function (it was only a faux method
anyway).
- Created new document class in order to override search patterns
for 'doc_href'; STXNG inexplicably doesn't include underscore in
the reference portion (Tracker #281).
- Added CMFCore.FSSTXMethod, to allow creation of "skin" methods from
StructuredText files. Note that these skin methods are not yet
customizable.
--- Added File custstx.dtml in package CMF ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML lang="en">
<HEAD>
<TITLE>Customize</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<dtml-var manage_tabs>
<FORM ACTION="manage_doCustomize" METHOD="POST">
<TABLE CELLSPACING="2">
<TR>
<TH ALIGN="LEFT" VALIGN="TOP">Id</TH>
<TD ALIGN="LEFT" VALIGN="TOP"><dtml-var getId></TD>
</TR>
<tr>
<th align="left" valign="top">
<em>Size</em>
</th>
<td align="left" valign="top">
<dtml-var get_size thousands_commas> bytes
</td>
</tr>
<tr>
<th align="left" valign="top">
<em>Last modified</em>
</th>
<td align="left" valign="top">
&dtml-getModTime;
</td>
</tr>
<tr>
<th align="left" valign="top">
<em>Source file</em>
</th>
<td align="left" valign="top">
&dtml-getObjectFSPath;
</td>
</tr>
<tr>
<th align="left" valign="top">
Customize
</th>
<td align="left" valign="top">
<em>Select a destination folder and press the button
to make a copy of this method that can be customized.</em><br>
<select name="folder_path" size="1">
<dtml-in expr="listCustFolderPaths('DTML Method')">
<option value="&dtml-sequence-key;">&dtml-sequence-item;</option>
</dtml-in>
</select>
<input type="submit" name="submit" value=" Customize ">
</td>
</tr>
</TABLE>
</FORM>
<table border="1" bgcolor="#cccccc"><tr><td>
<pre>
<dtml-var document_src>
</pre>
</td></tr></table>
</BODY>
</HTML>