allow for the setting of the page title from the sub-template
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 17 Feb 2009 22:57:37 +0000 (22:57 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 17 Feb 2009 22:57:37 +0000 (22:57 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12210 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/templates/base.tt2
Open-ILS/web/templates/default/actor/user/register.tt2

index 54702a8..2153016 100644 (file)
@@ -1,6 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns='http://www.w3.org/1999/xhtml' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
     <head>
+        <title>[% ctx.page_title %]</title>
         <link rel='stylesheet' type='text/css' 
             href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %].css'></link>
         <link rel='stylesheet' type='text/css' 
index 04c6bc4..4e4cd4e 100644 (file)
@@ -1,3 +1,4 @@
+[% ctx.page_title = 'User Editor' %]
 [% WRAPPER default/base.tt2 %]
 <script src='[% ctx.media_prefix %]/js/ui/default/actor/user/register.js'> </script>