fix #1; upgrade jquery
[mdref/mdref] / views / layout.phtml
index 05367b98d1f65fb6120d88d0bb5aeaee0a89085f..f3bcbf792e8a0a1da0794319f39d42dd6a5f19fd 100644 (file)
                        <base href="<?= $baseUrl ?>">
                        <meta http-equiv="Content-Location" content="<?= $baseUrl . $ref ?>">
                        <link rel="stylesheet" href="index.css">
-               <?php else: ?>
-                       <style type="text/css">
-                               <?= file_get_contents(__DIR__."/../public/index.css"); ?>
-                       </style>
                <?php endif; ?>
                
-               <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+               <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
        </head>
        <body>
+               <div class="page">
                <?php include __DIR__."/sidebar.phtml" ?>
                <?php if (isset($exception)) : ?>
                        <?= \mdref\ExceptionHandler::htmlException($exception) ?>
                </footer>
                <?php if (isset($baseUrl)) : ?>
                        <script src="index.js"></script>
-               <?php else : ?>
-                       <script type="application/javascript">
-                               <?= file_get_contents(__DIR__."/../public/index.js"); ?>
-                       </script>
                <?php endif; ?>
+               </div>
        </body>
 </html>