Commit 89c48feb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* Use absolute_url instead of absolute_url_path.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16469 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent df26f85b
......@@ -806,7 +806,7 @@ fieldset {\n
/* listbox */\n
\n
.ListSummary {\n
background: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/tab_left.png\') top left no-repeat;\n
background: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/tab_left.png\') top left no-repeat;\n
color: #000;\n
background-color: <dtml-var document_background_color>;\n
padding-left: 10px;\n
......@@ -904,43 +904,43 @@ fieldset {\n
}\n
\n
#favourites button .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/favourite.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/favourite.png\');\n
}\n
\n
#modules button .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/appearance.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/appearance.png\');\n
}\n
\n
#language button .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/language.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/language.png\');\n
}\n
\n
#search button .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/info.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/info.png\');\n
}\n
\n
#actions button .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/exec16.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/exec16.png\');\n
}\n
\n
#context_bar .tool_buttons .jump_first .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/2leftarrowb.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/2leftarrowb.png\');\n
}\n
\n
#context_bar .tool_buttons .jump_previous .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/1leftarrowb.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/1leftarrowb.png\');\n
}\n
\n
#context_bar .tool_buttons .jump_next .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/1rightarrowb.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/1rightarrowb.png\');\n
}\n
\n
#context_bar .tool_buttons .jump_last .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/2rightarrowb.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/2rightarrowb.png\');\n
}\n
\n
#context_bar .tool_buttons .list_mode .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url_path()">/images/text_block.png\');\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/text_block.png\');\n
}\n
\n
#navigation_bar button .image,\n
......
......@@ -76,7 +76,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
-->\n
</tal:block>\n
<tal:block tal:define="form_action string:logged_in;\n
js_list python: [\'%s/login_form.js\' % (here.portal_url.getPortalObject().absolute_url_path(), )]">\n
js_list python: [\'%s/login_form.js\' % (here.portal_url.getPortalObject().absolute_url(), )]">\n
<tal:block metal:use-macro="here/main_template/macros/master">\n
<tal:block metal:fill-slot="main">\n
<div class="content login">\n
......
2007-09-04 Kazuhiko
* use portal_url.getPortalObject().absolute_url_path() instead of portal_url.getPortalPath() for better virtual host support.
\ No newline at end of file
2007-09-19 Kazuhiko
* use portal_url.getPortalObject().absolute_url() instead of portal_url.getPortalPath() for better virtual host support.
20
\ No newline at end of file
21
\ No newline at end of file
......@@ -82,7 +82,7 @@
have id "2". This is probably a bit too stupid. -->\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'%s/foo_module/2/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td tal:content="python: \'%s/foo_module/2/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -103,7 +103,7 @@ have id "2". This is probably a bit too stupid. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'%s/foo_module/2/1/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td tal:content="python: \'%s/foo_module/2/1/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -131,7 +131,7 @@ have id "2". This is probably a bit too stupid. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'%s/foo_module/3/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td tal:content="python: \'%s/foo_module/3/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -153,7 +153,7 @@ another object of the same type. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'%s/foo_module/4/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td tal:content="python: \'%s/foo_module/4/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......
......@@ -93,7 +93,7 @@ shouldn\'t do anything. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'%s/foo_module/1/view\' % here.portal_url.getPortalObject().absolute_url_path()">/erp5/foo_module/1/view</td>\n
<td tal:content="python: \'%s/foo_module/1/view\' % here.portal_url.getPortalObject().absolute_url()">/erp5/foo_module/1/view</td>\n
<td/>\n
</tr>\n
<tr>\n
......
......@@ -134,7 +134,7 @@ button</td></tr>\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'%s/portal_categories/foo_category/a/a1/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td tal:content="python: \'%s/portal_categories/foo_category/a/a1/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
<td/>\n
</tr>\n
</tbody></table>\n
......
......@@ -2,7 +2,7 @@
* Add planningbox_field_zuite.
2007-09-04 Kazuhiko
* use portal_url.getPortalObject().absolute_url_path() instead of portal_url.getPortalPath() for better virtual host support.
* use portal_url.getPortalObject().absolute_url() instead of portal_url.getPortalPath() for better virtual host support.
2007-02-13 yo
* Add datetime_field_zuite.
......@@ -88,4 +88,4 @@
* Add missing properties to Listbox_setPropertyList.
2006-06-30 yo
* initial version
\ No newline at end of file
* initial version
213
\ No newline at end of file
214
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment