[Checkins] SVN: zope3org/trunk/src/zorg/wikification/browser/ Renamed rest and tinymce edit fields to body

Uwe Oestermeier uwe_oestermeier at iwm-kmrc.de
Wed Mar 22 15:07:11 EST 2006


Log message for revision 66133:
  Renamed rest and tinymce edit fields to body

Changed:
  U   zope3org/trunk/src/zorg/wikification/browser/templates/rest.pt
  U   zope3org/trunk/src/zorg/wikification/browser/templates/tinymce.pt
  U   zope3org/trunk/src/zorg/wikification/browser/wikipage.py

-=-
Modified: zope3org/trunk/src/zorg/wikification/browser/templates/rest.pt
===================================================================
--- zope3org/trunk/src/zorg/wikification/browser/templates/rest.pt	2006-03-22 19:23:18 UTC (rev 66132)
+++ zope3org/trunk/src/zorg/wikification/browser/templates/rest.pt	2006-03-22 20:07:11 UTC (rev 66133)
@@ -10,7 +10,7 @@
     			             tal:attributes="value string:${view/editableTitle}"/>
                 <h4>Body</h4>
                 <textarea class="edit-area" tal:content="view/display" 
-                        id="version_body" name="rest" cols="68" rows="22" value=""></textarea>
+                        id="version_body" name="body" cols="68" rows="22" value=""></textarea>
                 <p><input name="text_submit" type="submit" value="Save">
                 or <a href="./wiki.html" tal:attributes="href view/cancelURL">Cancel</a></p>
             </form>

Modified: zope3org/trunk/src/zorg/wikification/browser/templates/tinymce.pt
===================================================================
--- zope3org/trunk/src/zorg/wikification/browser/templates/tinymce.pt	2006-03-22 19:23:18 UTC (rev 66132)
+++ zope3org/trunk/src/zorg/wikification/browser/templates/tinymce.pt	2006-03-22 20:07:11 UTC (rev 66133)
@@ -13,7 +13,7 @@
                 <h4>Body</h4>
 
                 <textarea class="edit-area" tal:content="view/display" 
-                        id="version_body" name="tinyhtml" cols="68" rows="22" value=""></textarea>
+                        id="version_body" name="body" cols="68" rows="22" value=""></textarea>
               
                 <p><input name="text_submit" type="submit" value="Save">
                 or <a href="./wiki.html" tal:attributes="href view/cancelURL">Cancel</a></p>

Modified: zope3org/trunk/src/zorg/wikification/browser/wikipage.py
===================================================================
--- zope3org/trunk/src/zorg/wikification/browser/wikipage.py	2006-03-22 19:23:18 UTC (rev 66132)
+++ zope3org/trunk/src/zorg/wikification/browser/wikipage.py	2006-03-22 20:07:11 UTC (rev 66133)
@@ -384,7 +384,7 @@
     def __init__(self, parent) :
         super(RestEditor, self).__init__(parent)
         
-        self.data = parent.parameter('rest')
+        self.data = parent.parameter('body')
         self.title = parent.parameter('title')
         self.description = parent.parameter('description')
         
@@ -404,7 +404,7 @@
     def __init__(self, parent) :
         super(TinyMCEEditor, self).__init__(parent)
         
-        self.data = parent.parameter('tinyhtml')
+        self.data = parent.parameter('body')
         self.title = parent.parameter('title')
         self.description = parent.parameter('description')
         



More information about the Checkins mailing list