summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/samples/day4/blog/protected/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog-tutorial/samples/day4/blog/protected/layouts')
-rw-r--r--demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl b/demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl
index 3f0a9a4f..cc4a34c1 100644
--- a/demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl
+++ b/demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl
@@ -2,6 +2,7 @@
<com:THead />
<body>
<com:TForm>
+<div id="page">
<div id="header">
<h1>My PRADO Blog</h1>
@@ -13,7 +14,8 @@
<div id="footer">
-<a href="<%= $this->Service->DefaultPageUrl %>">Home</a>
+<com:THyperLink Text="Home"
+ NavigateUrl="<%= $this->Service->DefaultPageUrl %>" />
<com:THyperLink Text="New Post"
NavigateUrl="<%= $this->Service->constructUrl('posts.NewPost') %>"
@@ -35,6 +37,7 @@
<%= PRADO::poweredByPrado() %>
</div>
+</div>
</com:TForm>
</body>
</html> \ No newline at end of file