Changeset 541 for trunk/app/views/entries/admin_start.ctp
- Timestamp:
- 05/21/08 15:27:00 (8 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/entries/admin_start.ctp (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/entries/admin_start.ctp
r395 r541 117 117 <div style="clear:both;"></div> 118 118 <br /> 119 <?php if ( $ cU['User']['group_id']== 1 ): ?>119 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 120 120 <h2>Admin sections</h2> 121 121 <?php endif; ?> 122 122 123 <?php if ( $ cU['User']['group_id']== 1 ): ?>123 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 124 124 <div class="main-item" title="News" onclick="document.location.href = '/admin/news/listing'"> 125 125 <span class="main-item-icon"> … … 130 130 <?php endif; ?> 131 131 132 <?php if ( $ cU['User']['group_id']== 1 ): ?>132 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 133 133 <div class="main-item" title="Subjects" onclick="document.location.href = '/admin/subjects/listing'"> 134 134 <span class="main-item-icon"> … … 139 139 <?php endif; ?> 140 140 141 <?php if ( $ cU['User']['group_id']== 1 ): ?>141 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 142 142 <div class="main-item" title="News Themes" onclick="document.location.href = '/admin/themes/listing'"> 143 143 <span class="main-item-icon"> … … 148 148 <?php endif; ?> 149 149 150 <?php if ( $ cU['User']['group_id']== 1 ): ?>150 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 151 151 <div class="main-item" title="polls" onclick="document.location.href = '/admin/polls/listing'"> 152 152 <span class="main-item-icon"> … … 157 157 <?php endif; ?> 158 158 159 <?php if ( $ cU['User']['group_id']== 1 ): ?>159 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 160 160 <div class="main-item" title="Users" onclick="document.location.href = '/admin/users/listing'"> 161 161 <span class="main-item-icon"> … … 166 166 <?php endif; ?> 167 167 168 <?php if ( $ cU['User']['group_id']== 1 ): ?>168 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 169 169 <div class="main-item" title="Backup" onclick="document.location.href = '/admin/users/backup'"> 170 170 <span class="main-item-icon"> … … 175 175 <?php endif; ?> 176 176 177 <?php if ( $ cU['User']['group_id']== 1 ): ?>177 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 178 178 <div class="main-item" title="Newsletters" onclick="document.location.href = '/admin/newsletters/listing'"> 179 179 <span class="main-item-icon"> … … 184 184 <?php endif; ?> 185 185 186 <?php if ( $ cU['User']['group_id']== 1 ): ?>186 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 187 187 <div class="main-item" title="Help" onclick="document.location.href = '/admin/helps/listing'"> 188 188 <span class="main-item-icon"> … … 193 193 <?php endif; ?> 194 194 195 <?php if ( $ cU['User']['group_id']== 1 ): ?>195 <?php if ( $session->read('Auth.User.group_id') == 1 ): ?> 196 196 <div class="main-item" title="Admin" onclick="document.location.href = '/admin/colleges/listing'"> 197 197 <span class="main-item-icon">
