diff options
author | Christophe.Boulain <> | 2009-05-27 13:55:58 +0000 |
---|---|---|
committer | Christophe.Boulain <> | 2009-05-27 13:55:58 +0000 |
commit | 7d15c048340cbcbd06cb9664b479d45906d2b0d8 (patch) | |
tree | 0af02875479def0e52d5ea1b6d11b5a276a477a6 /demos/personal/protected/Pages | |
parent | 5a87ceb5ce3a62aae92c344f670059971d5914d9 (diff) | |
parent | 9a87732ce51fd34e312ac63ed1ebec8d7fc1c16f (diff) |
Merge from 3.2 branch.
Beginning of Prado 3.2 development
Diffstat (limited to 'demos/personal/protected/Pages')
-rw-r--r-- | demos/personal/protected/Pages/Layout.tpl | 2 | ||||
-rw-r--r-- | demos/personal/protected/Pages/Settings.page | 2 | ||||
-rw-r--r-- | demos/personal/protected/Pages/config.php | 16 |
3 files changed, 18 insertions, 2 deletions
diff --git a/demos/personal/protected/Pages/Layout.tpl b/demos/personal/protected/Pages/Layout.tpl index 3ffb5306..d650a689 100644 --- a/demos/personal/protected/Pages/Layout.tpl +++ b/demos/personal/protected/Pages/Layout.tpl @@ -8,7 +8,7 @@ <div class="header">
<h1>Your Name Here</h1>
-<h2>My Personal Site</h2>
+<h2><%$siteName%></h2>
<div class="mainmenu">
<com:MainMenu />
diff --git a/demos/personal/protected/Pages/Settings.page b/demos/personal/protected/Pages/Settings.page index 48dfde96..f461fa13 100644 --- a/demos/personal/protected/Pages/Settings.page +++ b/demos/personal/protected/Pages/Settings.page @@ -1,4 +1,4 @@ -<com:TContent ID="main" >
+<com:TContent ID="content" >
Welcome, <com:TLabel Text=<%= $this->User->Name %> />!
This page contains site settings accessible only to site admin.
</com:TContent>
\ No newline at end of file diff --git a/demos/personal/protected/Pages/config.php b/demos/personal/protected/Pages/config.php new file mode 100644 index 00000000..7a42d866 --- /dev/null +++ b/demos/personal/protected/Pages/config.php @@ -0,0 +1,16 @@ +<?php +return array( + 'authorization' => array( + array( + 'action' => 'deny', + 'pages' => 'Settings', + 'users' => '?', + ), + ), + 'pages' => array( + 'properties' => array( + 'MasterClass' => 'Application.Pages.Layout', + 'Theme' => 'White', + ), + ), +);
\ No newline at end of file |