]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MonoBook/templates/signin.tmpl
rcs_id no longer makes sense with Subversion global version number
[SourceForge/phpwiki.git] / themes / MonoBook / templates / signin.tmpl
1 <?php // -*-php-*-
2 // rcs_id('$Id$'); ?>
3 <?php // On MonoBook we do away with only GET urls, no form.
4   $sp = HTML::Raw("&nbsp;"); $id = $user->UserName();
5 ?>
6 <div class="portlet" id="p-personal"><div class="pBody">
7  <ul>
8   <?php if ($user->isAuthenticated()) { ?>
9   <li id="pt-userpage"><?= WikiLink($id, 'auto', HTML($sp,$id,$sp)) ?></li>
10   <li><?= WikiLink($id . "/Discussion", 'auto' ,_("My Discussion")) ?></li>
11   <li><?= WikiLink(_("UserPreferences"), "",_("My Preferences")) ?></li>
12   <li><?= WikiLink(_("MyRecentChanges"), "",_("My Changes")) ?></li>
13   <li><?= HTML::a(array('href'=>'?auth[logout]=1'),$sp,_("Logout"),$sp) ?></li>
14   <?php } else { ?>
15   <!-- Login or Register -->
16   <?php if ($id) { ?>
17     <li id="pt-userpage"><?= WikiLink($id, 'auto', HTML($sp,$id,$sp)) ?></li>
18   <?php } ?>
19   <li id="pt-login"><?= HTML::a(array('href'=>'?auth[login]=1'),$sp,_("Login"),$sp) ?></li>
20   <?php } ?>
21  </ul>
22 </div></div>