[Zope] Simple Question

Nancy Donnelly nancydonnelly2006 at yahoo.com
Thu Dec 7 15:31:32 EST 2006


7170----- Original Message ----
From: Jonathan <dev101 at magma.ca>

Here is the page that I need to quote, and this is why I need triple quotes:

print """
<html>
<body>

<tal:block metal:define-macro="main">
<tal:content metal:use-macro="here/templates/protect/macros/strong"></tal:content>
<div 
      tal:condition="here/Quotes | nothing"
      tal:content="structure here/s/getRandomQuote" />
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/header_bg.jpg" class=header>
 <tr>
  <td width="76"><img src="images/header_left.jpg" alt="" width="76" height="37"></td>
  <td align="right"><tal:block metal:define-slot="headline"><span tal:replace="template/title_or_id" /></tal:block></td>
  <td width="76"><img src="images/header_right.jpg" alt="" width="76" height="37"></td>
 </tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0" class=main align="center">
<tr>
  <td><br>
    
<!-- START TEXT SLOT --> 
<tal:block metal:define-slot="text"></tal:block>
<!-- END TEXT SLOT -->
          
  </td>
</tr>
<tr>
  <td>

<br />&#160;<br/>

<!-- START FOOTER SLOT -->
<tal:block metal:define-slot="footer">
  <span metal:use-macro="here/templates/frame_footer/macros/main"></span>
</tal:block>
<!-- END FOOTER SLOT -->


  </td>
</tr>
</table>

</tal:block>

</body>
</html>
"""
return printed





 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20061207/f3338045/attachment.htm


More information about the Zope mailing list