[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - adding.py:1.35

sree sree at mahiti.org
Wed Dec 17 06:15:44 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv11733/app/browser/container

Modified Files:
	adding.py 
Log Message:
Modifications to look and feel of default adding method..


=== Zope3/src/zope/app/browser/container/adding.py 1.34 => 1.35 ===
--- Zope3/src/zope/app/browser/container/adding.py:1.34	Wed Dec 17 06:08:57 2003
+++ Zope3/src/zope/app/browser/container/adding.py	Wed Dec 17 06:15:13 2003
@@ -90,13 +90,13 @@
         button_label = translation.translate(button_label,
                                              context=self.request)
         if IContainerNamesContainer.isImplementedBy(container):
-            return "<input type='submit' name='UPDATE_SUBMIT' value='%s'>" \
+            return "<input type='refresh' name='Refresh'><input type='submit' name='UPDATE_SUBMIT' value='%s'>" \
                    % button_label
         else:
             contentName = self.contentName or ''
             return (
               "Name:&nbsp;<input type='text' name='add_input_name' value='%s'><hr>"
-                    "<input type='submit' name='UPDATE_SUBMIT' value='%s'>"
+                    "<input type='refresh' name='Refresh'>&nbsp;&nbsp;<input type='submit' name='UPDATE_SUBMIT' value='%s'>"
                     % ( contentName, button_label))
 
     def publishTraverse(self, request, name):




More information about the Zope3-Checkins mailing list