Permalink
Browse files

Merge pull request #13 from aseques/disable_menu_before_login

Disable the menu before login to control panel
  • Loading branch information...
antonraharja committed Mar 30, 2012
2 parents 25ccad6 + 982acc9 commit d4f309a667422e81a0601c4a85156ee6d4b8d8fb
Showing with 3 additions and 5 deletions.
  1. +3 −5 web/plugin/themes/play/header.php
@@ -104,6 +104,7 @@
<body>
+ <?php if (valid()) { ?>
<div class="topbar" data-dropdown="dropdown" >
<div class="fill">
<div class="container">
@@ -114,17 +115,14 @@
<!--
<span class="pull-right">
<p>
- <?php
- if (valid()) {
- echo "<a>"._('Logged in') .': '. $username."</a>";
- }
- ?>
+ <?php echo "<a>"._('Logged in') .': '. $username."</a>"; ?>
</p>
</span>
-->
</div>
</div>
</div>
+ <?php } ?>
<div class="container">

0 comments on commit d4f309a

Please sign in to comment.