[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - template.pt:1.37
Roger Ineichen
roger@projekt01.ch
Tue, 29 Jul 2003 21:07:42 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv1248
Modified Files:
template.pt
Log Message:
Change URL of context sensitive HelpTopic
to popup and show in Onlinhelp skin.
=== Zope3/src/zope/app/browser/skins/rotterdam/template.pt 1.36 => 1.37 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/template.pt:1.36 Tue Jul 29 18:36:27 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/template.pt Tue Jul 29 21:07:38 2003
@@ -212,20 +212,34 @@
</div>
<!-- Do not remove! This box will show the contextually related
- help topics! -->
+ help topics and point to the Onlinehelp skin -->
<div class="box" id="help"
tal:define="results view/@@find_help_topics|nothing"
tal:condition="results">
<h4>Online Help</h4>
<div class="body">
<a href="#"
- tal:repeat="entry results"
- tal:attributes="href entry/url">
- <div tal:define="oddrow repeat/entry/odd"
- tal:attributes="class python:oddrow and 'even' or 'odd'"
- tal:content="entry/topic/title">Topic Title
- </div>
- </a>
+ tal:define="url string:'${entry/url}';
+ name string:'OnlineHelp';
+ settings string:'height=400
+ ,width=700
+ ,resizable=1
+ ,scrollbars=yes
+ ,location=yes
+ ,status=yes
+ ,toolbar=yes
+ ,menubar=yes'"
+ tal:attributes="href python:'javascript:popup('
+ + url + ','
+ + name + ','
+ + settings +')'"
+ >
+ <div tal:define="oddrow repeat/entry/odd"
+ tal:attributes="class python:oddrow and 'even' or 'odd'"
+ tal:content="entry/topic/title">Topic Title
+ </div>
+ </a>
+ </div>
</div>
</div>