[Zope-Checkins] CVS: Zope/lib/python/OFS/dtml - objectManagerSettings.dtml:1.2
Casey Duncan
casey@zope.com
Wed, 27 Mar 2002 16:51:35 -0500
Update of /cvs-repository/Zope/lib/python/OFS/dtml
In directory cvs.zope.org:/tmp/cvs-serv10546/lib/python/OFS/dtml
Added Files:
objectManagerSettings.dtml
Log Message:
Merging death (to index_html). Sorry about the previous noise. Note that the
new settings tab will have more stuff under it before 2.6 ships.
=== Zope/lib/python/OFS/dtml/objectManagerSettings.dtml 1.1 => 1.2 ===
+<dtml-var manage_tabs>
+<p class="form-help">
+ Use this form to change the behavior of this container
+ and its subordinates.
+</p>
+
+<dtml-unless name="hasCustomBrowserDefault">
+<form action="setBrowserDefaultId" method="post">
+<table width="100%" cellspacing="0" cellpadding="2" border="0">
+<tr class="section-bar">
+ <td>
+ <div class="form-label">
+ Browser Default Id
+ </div>
+ </td>
+</tr>
+
+<tr><td>
+ <div class="form-help">
+ Enter the id of object used as the default presentation
+ <dtml-unless isTopLevelPrincipiaApplicationObject>
+ or select the checkbox to acquire this setting
+ from the parent container.
+ </dtml-unless>
+ Note that creating a custom callable browser_default
+ object in this folder will supercede this setting.
+ </div>
+</td></tr>
+
+<tr><td>
+ <span class="form-label">Browser Default Id</span>
+ <input class="form-element" type="text" name="id"
+ size="20" value="&dtml.null-getBrowserDefaultId;"
+ <dtml-unless isTopLevelPrincipiaApplicationObject>
+ onchange="if(this.value!='') this.form.acquire.checked=false"
+ </dtml-unless>
+ />
+ <dtml-unless isTopLevelPrincipiaApplicationObject>
+
+ <input class="form-element" type="checkbox"
+ name="acquire" id="acquire" value="1"
+ onclick="if(this.checked) this.form.id.value=''"
+ <dtml-if name="isBrowserDefaultAcquired">
+ checked
+ </dtml-if>
+ />
+ <label class="form-text" for="acquire">
+ Acquire this setting
+ </label>
+ </dtml-unless>
+</td></tr>
+
+<tr><td> </td></tr>
+
+<tr><td>
+ <input class="form-element" type="submit" value="Save Changes" />
+</td></tr>
+</table>
+</form>
+</dtml-unless>
+
+<dtml-var manage_page_footer>