diff --git a/product/ERP5/skins/erp5_html_style/dialog_master.pt b/product/ERP5/skins/erp5_html_style/dialog_master.pt index dcd856d25ee571f749ba81d84c1dfba4e06f95b1..a0493a58cd9f4d9a94b822b9edaca998629d9692 100755 --- a/product/ERP5/skins/erp5_html_style/dialog_master.pt +++ b/product/ERP5/skins/erp5_html_style/dialog_master.pt @@ -108,23 +108,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </td> <div class="OutMain"> <td width="5"><img src="/images/pro/images/spacer.png" width="5" height="5" - border="0"/></td> + border="0" tal:attributes="src string:$portal_url/images/spacer.png"/></td> </div> </tr> <tr> <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> <td></td> <td></td> </tr> <tr> <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> <td align="left" tal:define="cancel_url request/cancel_url | request/HTTP_REFERER; previous_form_id request/previous_form_id | nothing"> <img src="/images/pro/images/spacer.png" width="5" height="5" - border="0" alt="img"/> + border="0" alt="img" tal:attributes="src string:$portal_url/images/spacer.png"/> <input type="hidden" name="dialog_method" value="cancel_url" tal:attributes="value python: form.action"/> <input type="hidden" name="cancel_url" value="cancel_url" diff --git a/product/ERP5/skins/erp5_html_style/form_dialog.pt b/product/ERP5/skins/erp5_html_style/form_dialog.pt index 5679326e023754bf8170cf270e82eaa12c8e991a..10f0678defd5ecf1024f20117df1f17aa9efbae5 100755 --- a/product/ERP5/skins/erp5_html_style/form_dialog.pt +++ b/product/ERP5/skins/erp5_html_style/form_dialog.pt @@ -67,7 +67,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </select></td> <td valign="bottom" align="left" nowrap> <input type="image" src="/images/pro/images/exec16.png" title="Action" - alt="Action" name="doDialog:method" /> + alt="Action" name="doDialog:method" + tal:attributes="src string:$portal_url/images/exec16.png"/> </td> </tr> </table> diff --git a/product/ERP5/skins/erp5_html_style/form_list_dialog.pt b/product/ERP5/skins/erp5_html_style/form_list_dialog.pt index a98db49dac2aa2e7dd569e2afac1410a46b66c17..00eb87ed0017e17c643e2284224304a8c9081ef5 100755 --- a/product/ERP5/skins/erp5_html_style/form_list_dialog.pt +++ b/product/ERP5/skins/erp5_html_style/form_list_dialog.pt @@ -67,7 +67,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </select></td> <td valign="bottom" align="left" nowrap> <input type="image" src="/images/pro/images/exec16.png" title="Action" - alt="Action" name="doDialog:method" /> + alt="Action" name="doDialog:method" + tal:attributes="src string:$portal_url/images/exec16.png"/> </td> </tr> </table> diff --git a/product/ERP5/skins/erp5_html_style/list_box.pt b/product/ERP5/skins/erp5_html_style/list_box.pt index 5a90af73638287ed7432f91a62fb43a60baf537c..807e44ab2369648a958457a9ba527488467ca4ab 100755 --- a/product/ERP5/skins/erp5_html_style/list_box.pt +++ b/product/ERP5/skins/erp5_html_style/list_box.pt @@ -17,38 +17,44 @@ <div class="ListSummary"> <table border="0" cellpadding="0" cellspacing="0"> <tr height="10"> - <td height="10"><img src="/images/pro/images/Left.png" border="0"></td> + <td height="10"><img src="/images/pro/images/Left.png" border="0" + tal:attributes="src string:$portal_url/images/Left.png"/></td> <td class="Top" colspan="2" height="10"> <img src="/images/pro/images/spacer.png" width="5" height="10" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> <td class="Top" colspan="3" height="10"> <img src="/images/pro/images/spacer.png" width="5" height="10" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> </tr> <tr> <td class="Left" width="17"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> <td valign="middle" nowrap> - <img src="/images/pro/images/text_block.png" border="0" alt="img"/> - <img src="/images/pro/images/view_tree.png" border="0" alt="img"/> - <img src="/images/pro/images/view_choose.png" border="0" alt="img"/></td> + <img src="/images/pro/images/text_block.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/text_block.png"/> + <img src="/images/pro/images/view_tree.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/view_tree.png"/> + <img src="/images/pro/images/view_choose.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/view_choose.png"/></td> <td width="100%" valign="middle"> <a href="(Empty Reference!)">Interlocuteurs</a> : 2 enregistrements - 0 élément(s) selectionné(s) </td> <td nowrap valign="middle" align="center"> - <input type="image" src="/images/pro/images/1leftarrowv.png" border="0"> + <input type="image" src="/images/pro/images/1leftarrowv.png" border="0" + tal:attributes="src string:$portal_url/images/1leftarrowv.png"> </td> <td nowrap valign="middle" align="center"> <select name="selectName" size="1"> <option value="1">1/1</option> </select></td> <td nowrap valign="middle" align="center"> - <input type="image" src="/images/pro/images/1rightarrowv.png" border="0"> + <input type="image" src="/images/pro/images/1rightarrowv.png" border="0" + tal:attributes="src string:$portal_url/images/1rightarrowv.png"> </td> </tr> </table> @@ -59,15 +65,18 @@ <table cellpadding="0" cellspacing="0" border="0"> <tr > <td class="Data" width="50" align="center" valign="middle"> - <img src="/images/pro/images/checkall.png" border="0" alt="img"/> - <img src="/images/pro/images/decheckall.png" border="0" alt="img"/></td> + <img src="/images/pro/images/checkall.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/checkall.png"/> + <img src="/images/pro/images/decheckall.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/decheckall.png"/></td> <div tal:repeat="attribute list_box_attributes"> <td class="Data" tal:content="attribute">Nom</td> </div> </tr> <tr> <td class="DataA" width="50" align="center" valign="middle"> - <img src="/images/pro/images/exec16.png" border="0" alt="img"/></td> + <img src="/images/pro/images/exec16.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/exec16.png"/></td> <td class="DataA" tal:repeat="attribute list_box_attributes"> <input type="text" name="textfieldName" size="15" tal:attributes="name attribute"> diff --git a/product/ERP5/skins/erp5_html_style/list_dialog_master.pt b/product/ERP5/skins/erp5_html_style/list_dialog_master.pt index be2c3c2db91b6bb64d62167457fc319595bae1ce..6fe6f06d1776238e30a1b1e1ca45635ef0c88ebe 100755 --- a/product/ERP5/skins/erp5_html_style/list_dialog_master.pt +++ b/product/ERP5/skins/erp5_html_style/list_dialog_master.pt @@ -94,7 +94,8 @@ 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 --> @@ -104,23 +105,27 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </td> <div class="OutMain"> <td width="5"><img src="/images/pro/images/spacer.png" width="5" height="5" - border="0"/></td> + border="0" + tal:attributes="src string:$portal_url/images/spacer.png"/></td> </div> </tr> <tr> <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> <td></td> <td></td> </tr> <tr> <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> <td align="left" tal:define="cancel_url request/cancel_url | request/HTTP_REFERER; previous_form_id request/previous_form_id | nothing"> <img src="/images/pro/images/spacer.png" width="5" height="5" - border="0" alt="img"/> + border="0" alt="img" + tal:attributes="src string:$portal_url/images/spacer.png"/> <input type="hidden" name="dialog_method" value="cancel_url" tal:attributes="value python: form.action"/> <input type="hidden" name="cancel_url" value="cancel_url" diff --git a/product/ERP5/skins/erp5_html_style/list_master.pt b/product/ERP5/skins/erp5_html_style/list_master.pt index b78680d160b03b9aad5a2267080c1e901a4d4362..abc51e4cdb57fff9b1ce73dfb529165f47a63a22 100755 --- a/product/ERP5/skins/erp5_html_style/list_master.pt +++ b/product/ERP5/skins/erp5_html_style/list_master.pt @@ -88,7 +88,8 @@ 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 --> @@ -98,7 +99,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </td> <div class="OutMain"> <td width="5"><img src="/images/pro/images/spacer.png" width="5" height="5" - border="0"/></td> + border="0" + tal:attributes="src string:$portal_url/images/spacer.png"/></td> </div> </tr> </table> diff --git a/product/ERP5/skins/erp5_html_style/list_menu_box.pt b/product/ERP5/skins/erp5_html_style/list_menu_box.pt index 531e460b95b8301ae4fcd117a1c75e20b355fbc5..3acc5a1a6cef6ef8870a570acc1a468a201af136 100755 --- a/product/ERP5/skins/erp5_html_style/list_menu_box.pt +++ b/product/ERP5/skins/erp5_html_style/list_menu_box.pt @@ -46,65 +46,80 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. tal:attributes="value selection_name"> <input type="hidden" name="list_method_id" value="list_method_id" tal:attributes="value list_method_id" tal:condition="list_method_id"> - <img src="/images/pro/images/sepacla.png" alt="img"/> + <img src="/images/pro/images/sepacla.png" alt="img" + tal:attributes="src string:$portal_url/images/sepacla.png"/> <input type="image" src="/images/pro/images/editcopy.png" title="Copy" width="22" height="22" - name="folder_copy:method" alt="Copy"/> + name="folder_copy:method" alt="Copy" + tal:attributes="src string:$portal_url/images/editcopy.png"/> <input type="image" src="/images/pro/images/editcut.png" title="Cut" width="22" height="22" - name="folder_cut:method" alt="Cut"/> + name="folder_cut:method" alt="Cut" + tal:attributes="src string:$portal_url/images/editcut.png"/> <input type="image" src="/images/pro/images/editpaste.png" title="Paste" width="22" height="22" - name="folder_paste:method" alt="Paste"/> - <img src="/images/pro/images/sepacla.png" alt="|"/> + name="folder_paste:method" alt="Paste" + tal:attributes="src string:$portal_url/images/editpaste.png"/> + <img src="/images/pro/images/sepacla.png" alt="|" + tal:attributes="src string:$portal_url/images/sepacla.png"/> <span tal:condition="print_actions"> <a href="print" tal:attributes="href python:print_actions[0]['url'] + '?selection_name=%s&dialog_category=%s&form_id=%s' % (selection_name , 'object_print', form_id) "> <img src="/images/pro/images/print.png" title="Print" width="22" height="22" - alt="Print" border="0"/> + alt="Print" border="0" + tal:attributes="src string:$portal_url/images/print.png"/> </a> </span> <input type="image" src="/images/pro/images/filenew.png" title="New" width="22" height="22" - name="folder_new:method" alt="New"/> + name="folder_new:method" alt="New" + tal:attributes="src string:$portal_url/images/filenew.png"/> <input type="image" src="/images/pro/images/edittrash.png" title="Delete" width="22" height="22" - name="base_folder_delete:method" alt="Delete"/> - <img src="/images/pro/images/sepacla.png" alt="img"/> + name="base_folder_delete:method" alt="Delete" + tal:attributes="src string:$portal_url/images/edittrash.png"/> + <img src="/images/pro/images/sepacla.png" alt="img" + tal:attributes="src string:$portal_url/images/sepacla.png"/> <span tal:condition="search_actions"> <a href="" tal:attributes=" href python:search_actions[0]['url'] + '?selection_name=%s&dialog_category=%s&form_id=%s' % (selection_name , 'object_search', form_id) "> <img src="/images/pro/images/find.png" width="22" height="22" border="0" - title="Find" alt="img"/> + title="Find" alt="img" + tal:attributes="src string:$portal_url/images/find.png"/> </a> </span> <input type="image" src="/images/pro/images/toutsel.png" title="Show All" width="22" height="22" - name="folder_show:method" alt="Cut"/> + name="folder_show:method" alt="Cut" + tal:attributes="src string:$portal_url/images/toutsel.png"/> <input type="image" src="/images/pro/images/filter.png" title="Filter" width="22" height="22" - name="folder_filter:method" alt="Cut"/> + name="folder_filter:method" alt="Cut" + tal:attributes="src string:$portal_url/images/filter.png"/> <span tal:condition="sort_actions"> <a href="" tal:attributes=" href python:sort_actions[0]['url'] + '?selection_name=%s&form_id=%s' % (selection_name, form_id)"> <img src="/images/pro/images/trier.png" width="22" height="22" border="0" - title="Sort" alt="img"/> + title="Sort" alt="img" + tal:attributes="src string:$portal_url/images/trier.png"/> </a> </span> - <img src="/images/pro/images/sepacla.png" border="0" alt="img" /> + <img src="/images/pro/images/sepacla.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/sepacla.png"/> <span tal:condition="exchange_actions"> <a href="" tal:attributes=" href python:exchange_actions[0]['url'] + '?selection_name=%s&dialog_category=%s&form_id=%s' % (selection_name , 'object_exchange', form_id) "> <img src="/images/pro/images/imp-exp.png" width="22" height="22" border="0" - title="Import / Export" alt="img"/> + title="Import / Export" alt="img" + tal:attributes="src string:$portal_url/images/imp-exp.png"/> </a> </span> <span tal:condition="report_actions"> @@ -113,11 +128,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + '?selection_name=%s&dialog_category=%s&form_id=%s' % (selection_name , 'object_report', form_id) "> <img src="/images/pro/images/etat3.png" width="22" height="22" border="0" - title="Report" alt="img"/> + title="Report" alt="img" + tal:attributes="src string:$portal_url/images/etat3.png"/> </a> </span> <span tal:condition="exchange_actions | report_actions"> - <img src="/images/pro/images/sepacla.png" border="0" alt="img"/> + <img src="/images/pro/images/sepacla.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/sepacla.png"/> </span> <span tal:condition="ui_actions"> <a href="" tal:attributes=" @@ -125,7 +142,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + '?selection_name=%s&form_id=%s' % (selection_name, form_id)"> <img src="/images/pro/images/configure.png" width="22" height="22" border="0" - title="Parametrer" alt="img"/> + title="Parametrer" alt="img" + tal:attributes="src string:$portal_url/images/configure.png"/> </a> </span> </div> diff --git a/product/ERP5/skins/erp5_html_style/main_template.pt b/product/ERP5/skins/erp5_html_style/main_template.pt index 5227e9ccd6b3f5aa5a45d31b30bc8c55a89cac99..127d1f4289f7e2014932b7db6db91e1a60f821b2 100755 --- a/product/ERP5/skins/erp5_html_style/main_template.pt +++ b/product/ERP5/skins/erp5_html_style/main_template.pt @@ -101,7 +101,8 @@ 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 --> @@ -111,7 +112,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </td> <div class="OutMain"> <td width="5"><img src="/images/pro/images/spacer.png" width="5" height="5" - border="0"/></td> + border="0" + tal:attributes="src string:$portal_url/images/spacer.png"/></td> </div> </tr> </table> diff --git a/product/ERP5/skins/erp5_html_style/menu_box.pt b/product/ERP5/skins/erp5_html_style/menu_box.pt index 1a44280de18e510c8fd2b4901f2aa7288eebed99..db36bc3065994c2bea2d41633fe5c8b64bac3ce0 100755 --- a/product/ERP5/skins/erp5_html_style/menu_box.pt +++ b/product/ERP5/skins/erp5_html_style/menu_box.pt @@ -49,8 +49,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </select></td> <td valign="bottom" align="center" nowrap> <input type="image" src="/images/pro/images/jump.png" title="Jump" - alt="Jump" name="doJump:method" /> - <img src="/images/pro/images/sepacla.png" alt="img"/> + alt="Jump" name="doJump:method" + tal:attributes="src string:$portal_url/images/jump.png"/> + <img src="/images/pro/images/sepacla.png" alt="img" + tal:attributes="src string:$portal_url/images/sepacla.png"/> </td> <td valign="middle" align="right" nowrap> <select name="action_select" size="1" tal:attributes="onChange string:submitAction(this.form,'${absolute_url}/doAction')"> @@ -79,13 +81,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </select></td> <td valign="bottom" align="left" nowrap> <input type="image" src="/images/pro/images/exec16.png" title="Action" - alt="Action" name="doAction:method" /> + alt="Action" name="doAction:method" + tal:attributes="src string:$portal_url/images/exec16.png"/> </td> <td width="100%"><span metal:define-slot="buttons"/></td> <td aligh="right" valign="center"> <img alt="Activity Pending" src="/images/pro/images/activity_busy.png" tal:condition="here/hasActivity | nothing" - border="0" title="Flush Activities" /> + border="0" title="Flush Activities" + tal:attributes="src string:$portal_url/images/activity_busy.png"/> </td> </tr> </table> diff --git a/product/ERP5/skins/erp5_html_style/navigation_box.pt b/product/ERP5/skins/erp5_html_style/navigation_box.pt index fb58027cfb5160921f4fe835ab5a519746779dd9..8f92820c3952bc5fd1f79ca5cb509051516def71 100755 --- a/product/ERP5/skins/erp5_html_style/navigation_box.pt +++ b/product/ERP5/skins/erp5_html_style/navigation_box.pt @@ -38,12 +38,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. tal:define="gettext python:here.gettext"> <tr> <td valign="middle" align="center" nowrap> - <!-- Hidden button as explained in http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html --> + <!-- Hidden button as explained in http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html --> <!-- We should probably call the default method instead --> <input type="image" src="/images/pro/images/spacer.png" width="3" height="3" border="0" alt="dummy" name="doSelect:method" tal:define="form_action form/action | form/id | template/id | script/id" - tal:attributes="name python:form_action + ':method'"> + tal:attributes="name python:form_action + ':method'; + src string:$portal_url/images/spacer.png"> <select name="favorite_select" size="1" tal:attributes="onChange string:submitAction(this.form,'${here/absolute_url}/doFavorite')"> <option selected value="" i18:translate="" disabled>My favourites</option> @@ -67,8 +68,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </td> <td valign="middle" align="left" nowrap> <input type="image" src="/images/pro/images/favourite.png" title="Select Favorite" - alt="Select Favorite" name="doFavorite:method" /> - <img src="/images/pro/images/sepafon.png" alt="img"/> + alt="Select Favorite" name="doFavorite:method" + tal:attributes="src string:$portal_url/images/favourite.png"/> + <img src="/images/pro/images/sepafon.png" alt="img" tal:attributes="src string:$portal_url/images/sepafon.png"/> </td> <td align="center" valign="middle" nowrap> <select name="module_select" size="1" @@ -84,7 +86,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </td> <td align="left" valign="middle" nowrap> <input type="image" src="/images/pro/images/appearance.png" title="Select Module" - alt="Select Module" name="doModule:method" /> + alt="Select Module" name="doModule:method" tal:attributes="src string:$portal_url/images/appearance.png"/> <!--img src="/images/pro/images/sepafon.png" alt="img" /> <a href="undo_form"> <img border="0" src="/images/pro/images/kmago.png" alt="img"/> @@ -111,7 +113,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. <input type="text" name="SearchableText"> </td> <td align="right" valign="middle"> - <input type="image" src="/images/pro/images/info.png" title="Search" alt="Search" name="search:method"/> + <input type="image" src="/images/pro/images/info.png" title="Search" alt="Search" name="search:method" + tal:attributes="src string:$portal_url/images/info.png" /> </td> </tr> </table> diff --git a/product/ERP5/skins/erp5_html_style/view_dialog_master.pt b/product/ERP5/skins/erp5_html_style/view_dialog_master.pt index 5b2f0bc357570ef5490811926beac30e35f22215..03ca7a5611c642641be5b8736b0e310642940b3e 100755 --- a/product/ERP5/skins/erp5_html_style/view_dialog_master.pt +++ b/product/ERP5/skins/erp5_html_style/view_dialog_master.pt @@ -99,7 +99,8 @@ 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 --> @@ -109,23 +110,27 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </td> <div class="OutMain"> <td width="5"><img src="/images/pro/images/spacer.png" width="5" height="5" - border="0"/></td> + border="0" + tal:attributes="src string:$portal_url/images/spacer.png"/></td> </div> </tr> <tr> <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> <td></td> <td></td> </tr> <tr> <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> <td align="left" tal:define="cancel_url request/cancel_url | request/HTTP_REFERER; previous_form_id request/previous_form_id | nothing"> <img src="/images/pro/images/spacer.png" width="5" height="5" - border="0" alt="img"/> + border="0" alt="img" + tal:attributes="src string:$portal_url/images/spacer.png"/> <input type="hidden" name="dialog_method" value="cancel_url" tal:attributes="value python: form.action"/> <input type="hidden" name="cancel_url" value="cancel_url" diff --git a/product/ERP5/skins/erp5_html_style/view_master.pt b/product/ERP5/skins/erp5_html_style/view_master.pt index 549035df83569296eea5a97bbec69d8c929f8742..f4883362c1a6fc603354ee1e7812298da1604edc 100755 --- a/product/ERP5/skins/erp5_html_style/view_master.pt +++ b/product/ERP5/skins/erp5_html_style/view_master.pt @@ -95,7 +95,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. <table border="0" cellpadding="0" cellspacing="0" width="99%"> <tr> <td width="5" class="OutMain"><img src="/images/pro/images/spacer.png" - width="5" height="5" border="0"/> + width="5" height="5" border="0" + tal:attributes="src string:$portal_url/images/spacer.png"/> </td> <td> <table border="0" cellpadding="0" cellspacing="0" width="100%"> @@ -126,7 +127,8 @@ metal:use-macro="here/view_selection_box/macros/view_selection_box"> </table> </td> <td width="1" class="OutMain"><img src="/images/pro/images/spacer.png" - width="1" height="1" border="0" alt="img"/> + width="1" height="1" border="0" alt="img" + tal:attributes="src string:$portal_url/images/spacer.png"/> </td> </tr> </table> diff --git a/product/ERP5/skins/erp5_html_style/view_menu_box.pt b/product/ERP5/skins/erp5_html_style/view_menu_box.pt index 34725fa3f4a097197aec7eb390ac11c9f5e79c9a..209b862c53b5ab75e7e81cc192faddec038400a5 100755 --- a/product/ERP5/skins/erp5_html_style/view_menu_box.pt +++ b/product/ERP5/skins/erp5_html_style/view_menu_box.pt @@ -51,13 +51,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. tal:attributes="value selection_url"> <div metal:use-macro="here/menu_box/macros/menu_box"> <div metal:fill-slot="buttons"> - <img src="/images/pro/images/sepacla.png" alt="img"/> + <img src="/images/pro/images/sepacla.png" alt="img" + tal:attributes="src string:$portal_url/images/sepacla.png"/> <span tal:condition="selection_url"> <a href="list" tal:attributes="href selection_url"> <img src="/images/pro/images/text_block.png" width="22" height="22" - title="List Mode" alt="List Mode" border="0"/> + title="List Mode" alt="List Mode" border="0" + tal:attributes="src string:$portal_url/images/text_block.png"/> </a> - <img src="/images/pro/images/sepacla.png" alt="img"/> + <img src="/images/pro/images/sepacla.png" alt="img" + tal:attributes="src string:$portal_url/images/sepacla.png"/> </span> <span tal:condition="search_actions"> <a href="" tal:attributes=" @@ -66,7 +69,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. % (selection_name , 'object_search', form_id) "> <img src="/images/pro/images/find.png" width="22" height="22" border="0" title="Find" alt="Find" tal:attributes="title python:gettext('Find'); - alt python:gettext('Find')"/> + alt python:gettext('Find'); + src string:$portal_url/images/find.png"/> </a> </span> <span tal:condition="print_actions"> @@ -76,49 +80,63 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. % (selection_name , 'object_print', form_id) "> <img src="/images/pro/images/print.png" title="Print" width="22" height="22" alt="Print" border="0" tal:attributes="title python:gettext('Print'); - alt python:gettext('Print')"/> + alt python:gettext('Print'); + src string:$portal_url/images/print.png"/> </a> </span> - <input type="image" src="/images/pro/images/filenew.png" title="New" width="22" height="22" - name="document_new:method" alt="New" - tal:attributes="title python:gettext('New'); - alt python:gettext('New')"/> + <input type="image" src="/images/pro/images/filenew.png" title="New" + width="22" height="22" name="document_new:method" alt="New" + tal:attributes="title python:gettext('New'); + alt python:gettext('New'); + src string:$portal_url/images/filenew.png"/> <span tal:condition="selection_index"> - <img src="/images/pro/images/sepacla.png" border="0" /> + <img src="/images/pro/images/sepacla.png" border="0" + tal:attributes="src string:$portal_url/images/sepacla.png"/> <a href="First" tal:attributes="href string:portal_selections/viewFirst?form_id=$form_id&selection_index=$selection_index&selection_name=$selection_name" ><img width="22" height="22" src="/images/pro/images/2leftarrowb.png" border="0" - title="First" alt="First" tal:attributes="alt python:gettext('First'); - title python:gettext('First')" /></a> + title="First" alt="First" + tal:attributes="alt python:gettext('First'); + title python:gettext('First'); + src string:$portal_url/images/2leftarrowb.png" /></a> <a href="Previous" tal:attributes="href string:portal_selections/viewPrevious?form_id=$form_id&selection_index=$selection_index&selection_name=$selection_name" ><img width="22" height="22" src="/images/pro/images/1leftarrowb.png" border="0" - title="Previous" alt="Previous" tal:attributes="alt python:gettext('Previous'); - title python:gettext('Previous')" /></a> + title="Previous" alt="Previous" + tal:attributes="alt python:gettext('Previous'); + title python:gettext('Previous'); + src string:$portal_url/images/1leftarrowb.png" /></a> <a href="Next" tal:attributes="href string:portal_selections/viewNext?form_id=$form_id&selection_index=$selection_index&selection_name=$selection_name" ><img width="22" height="22" src="/images/pro/images/1rightarrowb.png" border="0" - title="Next" alt="Next" tal:attributes="alt python:gettext('Next'); - title python:gettext('Next')"/></a> + title="Next" alt="Next" + tal:attributes="alt python:gettext('Next'); + title python:gettext('Next'); + src string:$portal_url/images/1rightarrowb.png"/></a> <a href="Last" tal:attributes="href string:portal_selections/viewLast?form_id=$form_id&selection_index=$selection_index&selection_name=$selection_name" ><img width="22" height="22" src="/images/pro/images/2rightarrowb.png" border="0" - title="Last" alt="Last" tal:attributes="alt python:gettext('Last'); - title python:gettext('Last')" /></a> + title="Last" alt="Last" + tal:attributes="alt python:gettext('Last'); + title python:gettext('Last'); + src string:$portal_url/images/2rightarrowb.png"/></a> </span> - <img src="/images/pro/images/sepacla.png" border="0" alt="img" /> + <img src="/images/pro/images/sepacla.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/sepacla.png"/> <span tal:condition="exchange_actions"> <a href="" tal:attributes=" href python:exchange_actions[0]['url'] + '?selection_name=%s&dialog_category=%s&form_id=%s' % (selection_name , 'object_exchange', form_id) "> <img src="/images/pro/images/imp-exp.png" width="22" height="22" border="0" - title="Import / Export" alt="Import" tal:attributes="alt python:gettext('Import/Export'); - title python:gettext('Import/Export')"/> + title="Import / Export" alt="Import" + tal:attributes="alt python:gettext('Import/Export'); + title python:gettext('Import/Export'); + src string:$portal_url/images/imp-exp.png"/> </a> </span> <span tal:condition="report_actions"> @@ -127,8 +145,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + '?selection_name=%s&dialog_category=%s&form_id=%s' % (selection_name , 'object_report', form_id) "> <img src="/images/pro/images/etat3.png" width="22" height="22" border="0" - title="Report" alt="Report" tal:attributes="alt python:gettext('Report'); - title python:gettext('Report')"/> + title="Report" alt="Report" + tal:attributes="alt python:gettext('Report'); + title python:gettext('Report'); + src string:$portal_url/images/etat3.png"/> </a> </span> </div> diff --git a/product/ERP5/skins/erp5_html_style/view_selection_box.pt b/product/ERP5/skins/erp5_html_style/view_selection_box.pt index 3805fc7fe962586e069d71bfe8a26768872cd9e2..771033714a97e90bb1a2eb13093cea30212e66ab 100755 --- a/product/ERP5/skins/erp5_html_style/view_selection_box.pt +++ b/product/ERP5/skins/erp5_html_style/view_selection_box.pt @@ -52,20 +52,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. <table border="0" cellpadding="0" cellspacing="0" width="1"> <tr> <td valign="bottom" colspan="6" class="OutMain"> - <img src="/images/pro/images/spacer.png" width="1" height="100%" border="0"> + <img src="/images/pro/images/spacer.png" width="1" height="100%" border="0" + tal:attributes="src string:$portal_url/images/spacer.png"/> </td> </tr> <tr> <span tal:repeat="action view_actions"> <td valign="bottom" width="17"> - <img src="/images/pro/images/Left.png" border="0" alt="img"/> + <img src="/images/pro/images/Left.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/Left.png"/> </td> <td nowrap class="BorderTop" valign="bottom"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> <td valign="bottom" width="17"> - <img src="/images/pro/images/Right.png" border="0" alt="img"/> + <img src="/images/pro/images/Right.png" border="0" alt="img" + tal:attributes="src string:$portal_url/images/Right.png"/> </td> </span> </tr> @@ -75,24 +78,24 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. <td class="BorderLeft" valign="bottom" width="17" tal:condition="python: not repeat['action'].start"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> <td class="BorderLeft" valign="bottom" tal:condition="repeat/action/start"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> </span> <span tal:condition="python: current_url != action['url']"> <td class="BorderLeftBottom" valign="bottom" width="17" tal:condition="python: not repeat['action'].start"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> <td class="BorderLeftBottom" valign="bottom" tal:condition="repeat/action/start"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> </span> <td nowrap class="On" align="center" valign="bottom" @@ -115,28 +118,28 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. <td valign="bottom" width="17" tal:condition="python: not repeat['action'].end"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> </span> <span tal:condition="python: current_url != action['url']"> <td valign="bottom" width="17" class="BorderBottom" tal:condition="python: not repeat['action'].end"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> </span> <span tal:condition="python: current_url != action['url']"> <td class="BorderRightBottom" valign="bottom" width="17" tal:condition="repeat/action/end"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> </span> <span tal:condition="python: current_url == action['url']"> <td class="BorderRight" valign="bottom" width="17" tal:condition="repeat/action/end"> <img src="/images/pro/images/spacer.png" width="5" height="5" border="0" - alt="spacer"/> + alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/> </td> </span> </span> @@ -151,7 +154,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. border="0" title="Save" name="action:method" tal:attributes="name python: form.action + ':method'; alt python:gettext('Save'); - title python:gettext('Save')"/> + title python:gettext('Save'); + src string:$portal_url/images/spacer.png"/> </td> </tr> </table>