[CMF-checkins] CVS: Products/CMFDecor/skins/zpt_control - finish_portal_construction.pt:1.2 synPropertiesForm.pt:1.2
Tres Seaver
tseaver@zope.com
Thu, 9 Aug 2001 10:20:32 -0400
Update of /cvs-repository/Products/CMFDecor/skins/zpt_control
In directory cvs.zope.org:/tmp/cvs-serv10935/zpt_control
Modified Files:
finish_portal_construction.pt synPropertiesForm.pt
Log Message:
- Remove carriage returns.
- zpt_generic/search.pt: enable full search, as well as default
(remove dependency on request/SearchableText). Uses new
PythonScript, zpt_generic/searchQueryString.py, to build
"Next" and "Previous" batching links.
=== Products/CMFDecor/skins/zpt_control/finish_portal_construction.pt 1.1 => 1.2 ===
- xmlns:metal="http://xml.zope.org/namespaces/metal"
- metal:use-macro="here/main_template/macros/master">
-<body>
-<div metal:fill-slot="main">
-
-<div class="Desktop">
-
-<h3>Welcome to the CMF!</h3>
-
-<p>The first thing you should do is visit the
- <a href="http://cmf.zope.org"
- tal:attributes="href python: here.portal_url() + '/reconfig_form'">basic configuration form</a>.<br />
- Then visit the <a href="http://cmf.zope.org"
- tal:attributes="href python: here.portal_url() + '/manage'">management interface</a> and
- the <a href="http://cmf.zope.org"
- tal:attributes="href python: here.portal_url()">home page</a>.
-</p>
-</div>
-</div>
-</body>
-</html>
+<html xmlns:tal="http://xml.zope.org/namespaces/tal"
+ xmlns:metal="http://xml.zope.org/namespaces/metal"
+ metal:use-macro="here/main_template/macros/master">
+<body>
+<div metal:fill-slot="main">
+
+<div class="Desktop">
+
+<h3>Welcome to the CMF!</h3>
+
+<p>The first thing you should do is visit the
+ <a href="http://cmf.zope.org"
+ tal:attributes="href python: here.portal_url() + '/reconfig_form'">basic configuration form</a>.<br />
+ Then visit the <a href="http://cmf.zope.org"
+ tal:attributes="href python: here.portal_url() + '/manage'">management interface</a> and
+ the <a href="http://cmf.zope.org"
+ tal:attributes="href python: here.portal_url()">home page</a>.
+</p>
+</div>
+</div>
+</body>
+</html>
=== Products/CMFDecor/skins/zpt_control/synPropertiesForm.pt 1.1 => 1.2 ===
- xmlns:metal="http://xml.zope.org/namespaces/metal"
- metal:use-macro="here/main_template/macros/master">
-<body>
-<div metal:fill-slot="main">
-<div class="Desktop" tal:define="global portal_syndication here/portal_syndication">
-<h2>Default Syndication Properties</h2>
- <div tal:condition="python: portal_syndication.isSiteSyndicationAllowed() and portal_syndication.isSyndicationAllowed(here)">
- <form action="editSynProperties" method="post">
- <table width="100%" border="0">
- <tr>
- <th colspan="2" valign="top" align="left">Channel Properties</th>
- </tr>
- <tr>
- <td colspan="2">
- <table width="90%" border="1">
- <tr>
- <td>
- <table>
- <tr>
- <td valign="top" height="30">Channel Title: </td>
- <td valign="top" height="30" tal:content="here/Title">
- Title
- </td>
- </tr>
- <tr>
- <td valign="top" height="30">Channel Description: </td>
- <td valign="top" height="30" tal:content="here/Description">
- Description
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
-<table width="100%" border="0">
- <tr>
- <th valign="top" align="left">Sy Module Properties</th>
- </tr>
- <tr>
- <td colspan="2">
- <table width="90%" border="1"><tr><td>
- <table>
- <tr>
- <th align="left">Element</th>
- <th align="left">Default Value</th>
- </tr>
- <tr>
- <td>
- UpdatePeriod
- </td>
- <td>
- <select name="updatePeriod">
- <option value="hourly"
- tal:define="upd python: portal_syndication.getUpdatePeriod(here)"
- tal:repeat="item portal_syndication/buildUpdatePeriods"
- tal:attributes="value python: item[0]; selected python: item == upd"
- tal:content="python: item[1]">Hourly
- </option>
- </select>
- </td>
- </tr>
- <tr>
- <td>
- UpdateFrequency
- </td>
- <td>
- <input type="text" name="updateFrequency" size="3" value=""
- tal:attributes="value python: portal_syndication.getUpdateFrequency(here)">
- </td>
- </tr>
- <tr>
- <td>
- UpdateBase
- </td>
- <td>
- <input type="text" name="updateBase:date" value="" size="25"
- tal:attributes="value python: portal_syndication.getUpdateBase(here)">
- </td>
- </tr>
- <tr>
- <td>
- Max Syndicated Items
- </td>
- <td>
- <input type="text" name="max_items" value="" size="3"
- tal:attributes="value python: portal_syndication.getMaxItems(here)">
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <input type="submit" name="edit" value=" Save ">
- </td>
- </tr>
-
- </table>
- </td></tr></table>
- </td>
- </tr>
- <tr>
- <td> <br /> </td>
- </tr>
-</table>
-</form>
-<form action="disableSyndication" method="post">
-<input type="submit" value="Disable Syndication">
-<input type="hidden" name="isAllowed:int" value="0">
- </form>
-</div>
-<div tal:condition="python: here.portal_syndication.isSiteSyndicationAllowed() and not(here.portal_syndication.isSyndicationAllowed(here))">
-<form action="enableSyndication" method="post">
-<input type="hidden" name="isAllowed:int" value="1">
-<input type="submit" value="Enable Syndication">
-</form>
-</div>
-<div tal:condition="python: not(here.portal_syndication.isSiteSyndicationAllowed() and here.portal_syndication.isSyndicationAllowed(here))">
-<h4>Syndication is Disabled</h4>
-</div>
-</div>
-</div>
-</body>
-</html>
+<html xmlns:tal="http://xml.zope.org/namespaces/tal"
+ xmlns:metal="http://xml.zope.org/namespaces/metal"
+ metal:use-macro="here/main_template/macros/master">
+<body>
+<div metal:fill-slot="main">
+<div class="Desktop" tal:define="global portal_syndication here/portal_syndication">
+<h2>Default Syndication Properties</h2>
+ <div tal:condition="python: portal_syndication.isSiteSyndicationAllowed() and portal_syndication.isSyndicationAllowed(here)">
+ <form action="editSynProperties" method="post">
+ <table width="100%" border="0">
+ <tr>
+ <th colspan="2" valign="top" align="left">Channel Properties</th>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="90%" border="1">
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <td valign="top" height="30">Channel Title: </td>
+ <td valign="top" height="30" tal:content="here/Title">
+ Title
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" height="30">Channel Description: </td>
+ <td valign="top" height="30" tal:content="here/Description">
+ Description
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+<table width="100%" border="0">
+ <tr>
+ <th valign="top" align="left">Sy Module Properties</th>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="90%" border="1"><tr><td>
+ <table>
+ <tr>
+ <th align="left">Element</th>
+ <th align="left">Default Value</th>
+ </tr>
+ <tr>
+ <td>
+ UpdatePeriod
+ </td>
+ <td>
+ <select name="updatePeriod">
+ <option value="hourly"
+ tal:define="upd python: portal_syndication.getUpdatePeriod(here)"
+ tal:repeat="item portal_syndication/buildUpdatePeriods"
+ tal:attributes="value python: item[0]; selected python: item == upd"
+ tal:content="python: item[1]">Hourly
+ </option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ UpdateFrequency
+ </td>
+ <td>
+ <input type="text" name="updateFrequency" size="3" value=""
+ tal:attributes="value python: portal_syndication.getUpdateFrequency(here)">
+ </td>
+ </tr>
+ <tr>
+ <td>
+ UpdateBase
+ </td>
+ <td>
+ <input type="text" name="updateBase:date" value="" size="25"
+ tal:attributes="value python: portal_syndication.getUpdateBase(here)">
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Max Syndicated Items
+ </td>
+ <td>
+ <input type="text" name="max_items" value="" size="3"
+ tal:attributes="value python: portal_syndication.getMaxItems(here)">
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <input type="submit" name="edit" value=" Save ">
+ </td>
+ </tr>
+
+ </table>
+ </td></tr></table>
+ </td>
+ </tr>
+ <tr>
+ <td> <br /> </td>
+ </tr>
+</table>
+</form>
+<form action="disableSyndication" method="post">
+<input type="submit" value="Disable Syndication">
+<input type="hidden" name="isAllowed:int" value="0">
+ </form>
+</div>
+<div tal:condition="python: here.portal_syndication.isSiteSyndicationAllowed() and not(here.portal_syndication.isSyndicationAllowed(here))">
+<form action="enableSyndication" method="post">
+<input type="hidden" name="isAllowed:int" value="1">
+<input type="submit" value="Enable Syndication">
+</form>
+</div>
+<div tal:condition="python: not(here.portal_syndication.isSiteSyndicationAllowed() and here.portal_syndication.isSyndicationAllowed(here))">
+<h4>Syndication is Disabled</h4>
+</div>
+</div>
+</div>
+</body>
+</html>