Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<div class="portlet">
2
 
3
<h2 class="portlet-title">Account</h2>
4
 
5
<div class="portlet-content">
6
Welcome, <b><%= $this->User->Name %></b>!
7
<ul>
8
<li><a href="<%= $this->Service->constructUrl('Posts.NewPost') %>">New post</a></li>
9
<li><a href="<%= $this->Service->constructUrl('Posts.MyPost') %>">My post</a></li>
10
<li><a href="<%= $this->Service->constructUrl('Users.ViewUser',array('id'=>$this->User->ID)) %>">Profile</a></li>
11
<%%
12
if($this->User->IsAdmin)
13
    echo '<li><a href="'.$this->Service->constructUrl('Admin.PostMan').'">Admin</a></li>';
14
%>
15
<li><com:TLinkButton Text="Logout" OnClick="logout" /></li>
16
</ul>
17
 
18
</div><!-- end of portlet-content -->
19
 
20
</div><!-- end of portlet -->