summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl
blob: 6cfe7b07aee54e0945e3d8ffa9f249e5fc748baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html>
<com:THead />
<body>
<com:TForm>
<div id="page">

<div id="header">
<h1>My PRADO Blog</h1>
</div>

<div id="main">
<com:TContentPlaceHolder ID="Main" />
</div>

<div id="footer">
<com:THyperLink Text="Login"
	NavigateUrl="<%= $this->Service->constructUrl('users.LoginUser') %>"
	Visible="<%= $this->User->IsGuest %>" />

<com:TLinkButton Text="Logout"
	OnClick="logoutButtonClicked"
	Visible="<%= !$this->User->IsGuest %>"
	CausesValidation="false" />

<br/>
<%= PRADO::poweredByPrado() %>
</div>

</div>
</com:TForm>
</body>
</html>