OSDN Git Service

ナビのul括り修正
authorCake <cake_67@users.sourceforge.jp>
Mon, 28 Dec 2009 08:42:11 +0000 (17:42 +0900)
committerCake <cake_67@users.sourceforge.jp>
Mon, 28 Dec 2009 08:42:11 +0000 (17:42 +0900)
app/views/layouts/default.ctp

index c085b80..ff2887b 100644 (file)
 <body>
        <div id="container">
                <div id="header">
+                       <ul>
                        <?php if ($isAdministrator): ?>
-                               <ul>
-                                       <li>
-                                       <?php if (!$admin): ?>
-                                               <?php echo $html->link(__('Administration', true), '/admin/users/index'); ?>
-                                       <?php else: ?>
-                                               <?php echo $html->link(__('Members', true), '/users/index'); ?>
-                                       <?php endif; ?>
-                                       </li>
-                               </ul>
+                               <li>
+                               <?php if (!$admin): ?>
+                                       <?php echo $html->link(__('Administration', true), '/admin/users/index'); ?>
+                               <?php else: ?>
+                                       <?php echo $html->link(__('Members', true), '/users/index'); ?>
+                               <?php endif; ?>
+                               </li>
                        <?php endif; ?>
                        <?php if ($uid): ?>
-                               <ul>
-                                       <li><?php echo $html->link(__('Home', true), '/users/index'); ?>
-                                       <li><?php echo $html->link(__('Logout', true), '/users/logout'); ?>
+                               <li><?php echo $html->link(__('Home', true), '/users/index'); ?>
+                               <li><?php echo $html->link(__('Logout', true), '/users/logout'); ?>
 </li>
-                               </ul>
                        <?php endif; ?>
-                               <li><?php echo $html->link(__('System', true), '/systems/index'); ?>
 
+                       <li><?php echo $html->link(__('System', true), '/systems/index'); ?>
+
+                       </ul>
                </div>
                <div id="content">
                        <?php $session->flash(); ?>