[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - zpt_inlinecode.pt:1.1.2.2

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Aug 20 23:11:24 EDT 2003


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

Modified Files:
      Tag: srichter-inlinepython-branch
	zpt_inlinecode.pt 
Log Message:
Fixed the Inline Code screen a bit.

Finally figured out why SourceText's were displayed so badly. Deactivated
horribly broken code for now.


=== Zope3/src/zope/app/browser/content/zpt_inlinecode.pt 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/content/zpt_inlinecode.pt:1.1.2.1	Wed Aug 20 20:11:09 2003
+++ Zope3/src/zope/app/browser/content/zpt_inlinecode.pt	Wed Aug 20 22:10:53 2003
@@ -19,17 +19,17 @@
           <p i18n:translate="">
             This screen allows you to activate Inline Code Evaluation. This
             means that you can say
-            <pre i18n:name="code-example-1">
-               &lt;script type="text/server-python"&gt;
-                 print "Hello World!"
+            <span i18n:name="code-example-1"><pre>
+               &nbsp;&lt;script type="text/server-python"&gt;<br/>
+               &nbsp;&nbsp;print "Hello World!"<br/>
                &lt;/script&gt;
-            </pre>
+            </pre></span>
             or
-            <pre i18n:name="code-example-2">
-               &lt;p tal:script="text/server-python"&gt;
-                 print "Hello World!"
+            <span i18n:name="code-example-2"><pre>
+               &nbsp;&lt;p tal:script="text/server-python"&gt;<br/>
+               &nbsp;&nbsp;print "Hello World!"<br/>
                &lt;/p&gt;
-            </pre>.
+            </pre></span>
           </p>
           <p i18n:translate="">
             Now, many Zope 3 developers consider inline code blocks something




More information about the Zope3-Checkins mailing list