|
From: Benjamin C. <bc...@us...> - 2002-04-11 07:34:32
|
Update of /cvsroot/phpbt/phpbt/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv27913/templates/default
Modified Files:
header.html
Log Message:
Don't show the new account link when logged in
Index: header.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/header.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- header.html 3 Apr 2002 19:01:04 -0000 1.4
+++ header.html 11 Apr 2002 07:34:26 -0000 1.5
@@ -33,7 +33,7 @@
<div class="navbox" onMouseOver="this.className='navboxselected'" onMouseOut="this.className='navbox'" onClick="document.location.href='report.php'">
<a href="report.php" class="sidenavlink">View Reports</a>
</div>
- {if not NEW_ACCOUNTS_DISABLED}
+ {if not NEW_ACCOUNTS_DISABLED and not $smarty.session.uid}
<div class="navbox" onMouseOver="this.className='navboxselected'" onMouseOut="this.className='navbox'" onClick="document.location.href='newaccount.php'">
<a href="newaccount.php" class="sidenavlink">Create a new account</a>
</div>
|