Skip to content
Browse files

добавил управление юзерами в админку

  • Loading branch information...
1 parent f2c25e5 commit 62c3bb5124c53396d013f04dbd7e9fc70eccaed1 @FladeX committed
Showing with 11 additions and 0 deletions.
  1. +11 −0 apps/backend/templates/layout.php
View
11 apps/backend/templates/layout.php
@@ -9,6 +9,17 @@
<?php include_javascripts() ?>
</head>
<body>
+
+ <?php if ($sf_user->isAuthenticated()): ?>
+ <div id="menu">
+ <ul>
+ <li><?php echo link_to('Проекты', 'projects') ?></li>
+ <li><?php echo link_to('Пользователи', 'sf_guard_user') ?></li>
+ <li><?php echo link_to('Выход', 'sf_guard_signout') ?></li>
+ </ul>
+ </div>
+ <?php endif ?>
+
<?php echo $sf_content ?>
</body>
</html>

0 comments on commit 62c3bb5

Please sign in to comment.
Something went wrong with that request. Please try again.