From e025035abef8d6481ffe1c13d999bcd0b46fdf1e Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Wed, 16 Jun 2004 13:58:57 +0000 Subject: [PATCH] example of dyamic images (skins) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1026 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/skins/erp5_html_style/dialog_master.pt | 2 +- product/ERP5/skins/erp5_html_style/global_definition.pt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/product/ERP5/skins/erp5_html_style/dialog_master.pt b/product/ERP5/skins/erp5_html_style/dialog_master.pt index 668bef4f4e..dcd856d25e 100755 --- a/product/ERP5/skins/erp5_html_style/dialog_master.pt +++ b/product/ERP5/skins/erp5_html_style/dialog_master.pt @@ -98,7 +98,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. <tr> <div class="OutMain"> <td width="5"><img src="/images/pro/images/spacer.png" width="5" height="5" - border="0" alt="img"/></td> + border="0" alt="img" tal:attributes="src string:$portal_url/images/spacer.png" /></td> </div> <td> <!-- Main Content --> diff --git a/product/ERP5/skins/erp5_html_style/global_definition.pt b/product/ERP5/skins/erp5_html_style/global_definition.pt index aef99a9844..884fbc47e5 100755 --- a/product/ERP5/skins/erp5_html_style/global_definition.pt +++ b/product/ERP5/skins/erp5_html_style/global_definition.pt @@ -26,7 +26,8 @@ global sort_actions filtered_actions/object_sort | nothing; global user_actions filtered_actions/user | nothing; global global_actions filtered_actions/global | nothing; - global ordered_global_actions python:here.getOrderedGlobalActionList(global_actions);" /> + global ordered_global_actions python:here.getOrderedGlobalActionList(global_actions); + global portal_url python:here.portal_url();" /> </body> -- 2.30.9