[Zope3-checkins] CVS: Zope3/src/zope/app/wiki/browser -
wiki_add.pt:1.3
Suresh Babu Eddala
sbabu at zeomega.com
Thu May 6 11:46:07 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/wiki/browser
In directory cvs.zope.org:/tmp/cvs-serv3952/wiki/browser
Modified Files:
wiki_add.pt
Log Message:
The renderAddButton method is deprecated, use nameAllowed method.
=== Zope3/src/zope/app/wiki/browser/wiki_add.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/wiki/browser/wiki_add.pt:1.2 Tue Mar 2 09:25:03 2004
+++ Zope3/src/zope/app/wiki/browser/wiki_add.pt Thu May 6 11:46:06 2004
@@ -28,8 +28,13 @@
<div class="controls"><hr />
<input type="submit" value="Refresh"
i18n:attributes="value refresh-button">
- <input type="submit" name="UPDATE_SUBMIT" value=" Add "
- tal:replace="structure context/renderAddButton|default"/>
+ <input type='submit' value='Add' name='UPDATE_SUBMIT'
+ i18n:attributes='value add-button' />
+ <span tal:condition="context/nameAllowed" tal:omit-tag="">
+ <b i18n:translate="">Object Name</b>
+ <input type='text' name='add_input_name'
+ tal:attributes="value context/contentName" />
+ </span>
</div>
</div>
More information about the Zope3-Checkins
mailing list