flush
[pharext/pharext.org] / app / views / navbar.phtml
index 1d14a0bdf37e6d1ff8814a2ceac62af071229540..310ab533b469277573eb1ac25ec3ad081d5f85e3 100644 (file)
@@ -28,7 +28,8 @@
                                        </a>
                                        <ul class="dropdown-menu" role="menu">
                                                <?php foreach ($pages as $page) : ?>
-                                               <li><a href="<?= $baseUrl->mod("./pages/". rawurlencode($page)) ?>"><?= $this->e($page) ?></a></li>
+                                               <li><a href="<?= $baseUrl->mod("./pages/". rawurlencode($page)) ?>">
+                                                       <?= $this->e($page) ?></a></li>
                                                <?php endforeach; ?>
                                        </ul>
                                </li>
                                <ul class="nav navbar-nav navbar-right">
                                        <li class="dropdown">
                                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
-                                                       <img src="<?= $session->github->avatar_url ?>" 
+                                                       <img src="<?= $session->github->owner["avatar_url"] ?>" 
                                                         class="img-circle"
                                                         alt="avatar"
                                                         width="32"
                                                         style="margin:-15px 0px">
-                                                       <abbr title="<?= $this->e($session->github->name) ?>">
-                                                               <?= $this->e($session->github->login) ?>
+                                                       <abbr title="<?= $this->e($session->github->owner["name"]) ?>">
+                                                               <?= $this->e($session->github->owner["login"]) ?>
                                                        </abbr>
                                                        <span class="caret"></span>
                                                </a>