Skip to content

Commit

Permalink
Hide menu
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jan 17, 2010
1 parent 6253233 commit da15ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/templates/layout.php
Expand Up @@ -7,7 +7,7 @@
<link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
<?php if ($sf_user->isAuthenticated()): ?>
<?php if ($sf_user->isAuthenticated() && $sf_user->hasCredential('admin')): ?>
<ul id="nav">
<li><?php echo link_to('Dashboard', 'dashboard/index') ?></li>
<li><?php echo link_to('Authors', 'author/index') ?></li>
Expand Down

0 comments on commit da15ab0

Please sign in to comment.