summaryrefslogtreecommitdiff
path: root/demos/controls
diff options
context:
space:
mode:
Diffstat (limited to 'demos/controls')
-rw-r--r--demos/controls/protected/application.xml1
-rw-r--r--demos/controls/protected/pages/HomePage.tpl5
2 files changed, 5 insertions, 1 deletions
diff --git a/demos/controls/protected/application.xml b/demos/controls/protected/application.xml
index 3b9f749d..a9d0d922 100644
--- a/demos/controls/protected/application.xml
+++ b/demos/controls/protected/application.xml
@@ -3,6 +3,7 @@
<configuration>
<paths>
<alias id="Demo" path="." />
+ <alias id="Pages" path="pages" />
</paths>
<!-- modules configured and loaded for all services -->
<modules>
diff --git a/demos/controls/protected/pages/HomePage.tpl b/demos/controls/protected/pages/HomePage.tpl
index 7774882e..66fd9e71 100644
--- a/demos/controls/protected/pages/HomePage.tpl
+++ b/demos/controls/protected/pages/HomePage.tpl
@@ -1,3 +1,5 @@
+<%@ MasterClass="Pages.master.MasterPage" %>
+<com:TContent id="header" >
<com:TForm>
<h1>Welcome! <%=$this->User->Name %></h1>
<com:TLiteral Text="literal" />
@@ -9,4 +11,5 @@
<com:TImageButton ImageUrl=<%~/fungii_logo.gif %> /><br/>
<com:THyperLink Text="Visit a 'classless' page" NavigateUrl="?sp=page.plain" /> |
<com:THyperLink Text="Visit member only page" NavigateUrl="?sp=page.private.member" />
-</com:TForm> \ No newline at end of file
+</com:TForm>
+</com:TContent> \ No newline at end of file