[Checkins] SVN: zope3org/trunk/src/zorg/wikification/browser/ Added text/plain to wikifiable content types and added file extension to new page form.

Uwe Oestermeier uwe_oestermeier at iwm-kmrc.de
Fri Apr 28 07:05:32 EDT 2006


Log message for revision 67714:
  Added text/plain to wikifiable content types and added file extension to new page form.

Changed:
  U   zope3org/trunk/src/zorg/wikification/browser/README.txt
  U   zope3org/trunk/src/zorg/wikification/browser/templates/wiki_newpage.pt
  U   zope3org/trunk/src/zorg/wikification/browser/wikipage.py

-=-
Modified: zope3org/trunk/src/zorg/wikification/browser/README.txt
===================================================================
--- zope3org/trunk/src/zorg/wikification/browser/README.txt	2006-04-28 11:04:17 UTC (rev 67713)
+++ zope3org/trunk/src/zorg/wikification/browser/README.txt	2006-04-28 11:05:32 UTC (rev 67714)
@@ -145,7 +145,7 @@
     <div class="inline_form" id="create_folder5">
         <form method="post" enctype="multipart/form-data" action="renameLink" onsubmit="WikiMenu.submitForm(this); return false;" onreset="WikiMenu.hideForm()">
     <BLANKLINE>
-            <h4>Rename Link &quot;New Subject&quot;</h4>
+            <div class="inline-title">Rename Link &quot;New Subject&quot;</div>
             <input name="link_id" type="hidden"
                    value="wiki-link5" />
             <input name="cmd" type="hidden" value="rename" />

Modified: zope3org/trunk/src/zorg/wikification/browser/templates/wiki_newpage.pt
===================================================================
--- zope3org/trunk/src/zorg/wikification/browser/templates/wiki_newpage.pt	2006-04-28 11:04:17 UTC (rev 67713)
+++ zope3org/trunk/src/zorg/wikification/browser/templates/wiki_newpage.pt	2006-04-28 11:05:32 UTC (rev 67714)
@@ -12,10 +12,10 @@
         <table>
             <tr>
                 <td valign="top" class="form-title">
-                    Page Name:
+                    Filename:
                 </td>
                 <td valign="top" >
-                    <input id="page_name" name="name" type="text" size="40" value="FileName"  tal:attributes="value python: view.unicodeLabel()" />
+                    <input id="page_name" name="name" type="text" size="40" value="FileName"  tal:attributes="value python: view.unicodeLabel() + u'.html'" />
                 </td>
             </tr>
             <tr>

Modified: zope3org/trunk/src/zorg/wikification/browser/wikipage.py
===================================================================
--- zope3org/trunk/src/zorg/wikification/browser/wikipage.py	2006-04-28 11:04:17 UTC (rev 67713)
+++ zope3org/trunk/src/zorg/wikification/browser/wikipage.py	2006-04-28 11:05:32 UTC (rev 67714)
@@ -70,7 +70,8 @@
     
     _outdated = ViewPageTemplateFile("./templates/wiki_outdated.pt")  
 
-    supported = 'text/html', 'application/xhtml+xml', 'application/xml', 'text/xml'
+    supported = ('text/html', 'application/xhtml+xml', 'application/xml', 
+                        'text/xml', 'text/plain')
     title = u"Wiki page"
     action = "/@@wiki.html"      # the action that wikifies
     add = "/@@wikiedit.html"



More information about the Checkins mailing list