summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Pages
diff options
context:
space:
mode:
authorcarlgmathisen <>2008-12-02 00:02:51 +0000
committercarlgmathisen <>2008-12-02 00:02:51 +0000
commit439b0b12dc8f6cbeb769fe4f2c0061ff9d3c9d31 (patch)
tree30046fc52a8c2ae53bad05224c95dbabd0d5238f /demos/personal/protected/Pages
parentc356dfc6660d68f1e7fbde92aaf15c6a94894d4f (diff)
php configuration type
Diffstat (limited to 'demos/personal/protected/Pages')
-rw-r--r--demos/personal/protected/Pages/Layout.tpl2
-rw-r--r--demos/personal/protected/Pages/config.php18
2 files changed, 19 insertions, 1 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/config.php b/demos/personal/protected/Pages/config.php
new file mode 100644
index 00000000..7a6c9a6c
--- /dev/null
+++ b/demos/personal/protected/Pages/config.php
@@ -0,0 +1,18 @@
+<?php
+return array(
+ 'authorization' => array(
+ array(
+ 'action' => 'deny',
+ 'properties' => array(
+ 'pages' => 'Settings',
+ 'users' => '?',
+ ),
+ ),
+ ),
+ 'pages' => array(
+ 'properties' => array(
+ 'MasterClass' => 'Application.Pages.Layout',
+ 'Theme' => 'White',
+ ),
+ ),
+); \ No newline at end of file