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

sree sree at mahiti.org
Wed Dec 17 06:22:10 EST 2003


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

Modified Files:
	adding.py 
Log Message:
Clean up of adding.py


=== Zope3/src/zope/app/browser/container/adding.py 1.35 => 1.36 ===
--- Zope3/src/zope/app/browser/container/adding.py:1.35	Wed Dec 17 06:15:13 2003
+++ Zope3/src/zope/app/browser/container/adding.py	Wed Dec 17 06:22:03 2003
@@ -90,13 +90,12 @@
         button_label = translation.translate(button_label,
                                              context=self.request)
         if IContainerNamesContainer.isImplementedBy(container):
-            return "<input type='refresh' name='Refresh'><input type='submit' name='UPDATE_SUBMIT' value='%s'>" \
+            return "<input type='submit' value='Refresh' i18n:attributes='value refresh-button'><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='refresh' name='Refresh'>&nbsp;&nbsp;<input type='submit' name='UPDATE_SUBMIT' value='%s'>"
+              "<b>Name:<b>&nbsp;<input type='text' name='add_input_name' value='%s'><hr>" "<input type='submit' value='Refresh' i18n:attributes='value refresh-button' >&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