From 10ba913990f428891e63c5e7a251dbfb52407df2 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Mon, 25 May 2009 09:03:52 +0000
Subject: [PATCH] make it possible to customize title header by header_title
 variable.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27141 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_xhtml_style/template_erp5_xhtml_style.xml           | 5 +++--
 product/ERP5/bootstrap/erp5_xhtml_style/bt/revision          | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
index b0176f151f..8c323e2878 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
@@ -64,8 +64,9 @@ IDEAS:\n
           <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n
           <meta http-equiv="Content-Script-Type" content="text/javascript" />\n
           <meta http-equiv="Content-Style-Type" content="text/css" />\n
-          <title tal:define="title title | string:ERP5"\n
-                 tal:content="python: \'%s | %s\' % (title, here.getPortalObject().title_or_id())"></title>\n
+          <title tal:define="title title | string:ERP5;\n
+                             header_title header_title | nothing"\n
+                 tal:content="python:header_title or \'%s | %s\' % (title, here.getPortalObject().title_or_id())"></title>\n
           <tal:block tal:repeat="css css_list">\n
             <link tal:attributes="href css" type="text/css" rel="stylesheet" />\n
           </tal:block>\n
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index e9244f999a..3879e48b52 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-752
\ No newline at end of file
+753
\ No newline at end of file
-- 
2.30.9