6 <?php if (!empty($title)) : ?>
7 <?= $this->e($title) ?> –
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12 <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
13 <link rel="stylesheet" href="<?= $baseUrl->mod(":./octicons/octicons.css") ?>">
14 <link rel="stylesheet" href="<?= $baseUrl->mod(":./index.css") ?>">
15 <link rel="shortcut icon" type="image/png" href="<?= $baseUrl->mod(":./pharext.png") ?>">
17 <?php if (!empty($styles)) : ?>
18 <?php foreach($styles as $style) : ?>
19 <?php if ($style instanceof \http\Url) : ?>
21 <link rel="stylesheet" href="<?= $style ?>">
25 <style><?= $style ?></style>
34 <?php include "navbar.phtml" ?>
36 <div id="content" class="<?= (isset($container) && !$container) ? "":"container" ?>">
38 <?= $this->section("content") ?>
41 <?php if (isset($modal)) : ?>
42 <?= $this->fetch("modal/$modal") ?>
44 <footer class="footer">
45 <div class="container">
47 © 2015 <abbr title="Michael Wallner">m6w6</abbr>
48 <addr><mike@php.net></addr>
49 — Powered by <a href="//github.com/m6w6/pharext">pharext
50 <?= \pharext\Metadata::version() ?>
55 <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
56 <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
57 <script>$(".modal").modal("show")</script>
58 <?php if (!empty($scripts)) : ?>
59 <?php foreach ($scripts as $script) : ?>
60 <?php if ($script instanceof \http\Url) : ?>
62 <script src="<?= $script ?>"></script>
66 <script><?= $script ?></script>