| 1 | <?php |
||
| 2 | /** |
||
| 3 | * @link http://www.newicon.net/neon |
||
| 4 | * @copyright Copyright (c) 08/09/2016 Newicon Ltd |
||
| 5 | * @license http://www.newicon.net/neon/license/ |
||
| 6 | */ |
||
| 7 | /** |
||
| 8 | * @var \neon\core\web\View $this |
||
| 9 | */ |
||
| 10 | use neon\core\helpers\Html; |
||
| 11 | use neon\user\widgets\Impersonating; |
||
| 12 | use neon\admin\widgets\AdminFlash; |
||
| 13 | use neon\core\helpers\Page; |
||
| 14 | ?> |
||
| 15 | <?php $this->beginPage(); ?> |
||
| 16 | <!DOCTYPE html> |
||
| 17 | <html lang="<?= neon()->language ?>"> |
||
| 18 | <head> |
||
| 19 | <meta charset="<?= neon()->charset ?>"/> |
||
| 20 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
||
| 21 | <?= Html::csrfMetaTags() ?> |
||
| 22 | <title><?= Html::encode($this->title) ?></title> |
||
| 23 | |||
| 24 | <?php \neon\core\themes\neon\Assets::register($this); ?> |
||
| 25 | <?php $this->head() ?> |
||
| 26 | <?= Html::favicon(setting('cms', 'favicon')); ?> |
||
| 27 | </head> |
||
| 28 | <body> |
||
| 29 | <?php $this->beginBody(); ?> |
||
| 30 | <div class="wrapper" id="neon"> |
||
| 31 | <header> |
||
| 32 | <?= Page::menuAdmin(); ?> |
||
| 33 | </header> |
||
| 34 | <!-- impersonating --> |
||
| 35 | <?= Impersonating::widget() ?> |
||
| 36 | |||
| 37 | <!-- flash messages --> |
||
| 38 | <div class='flash-messages'> |
||
| 39 | <?= AdminFlash::widget() ?> |
||
| 40 | </div> |
||
| 41 | |||
| 42 | <div class="content"> |
||
| 43 | <div class="container-fluid"> |
||
| 44 | |||
| 45 | <?php $this->beginBlock('header', true); $this->endBlock(); ?> |
||
| 46 | |||
| 47 | <!-- page content --> |
||
| 48 | <div class="page-content"> |
||
| 49 | <?= $content; ?> |
||
| 50 | </div> |
||
| 51 | |||
| 52 | </div> |
||
| 53 | </div> |
||
| 54 | |||
| 55 | </div> |
||
| 56 | <!-- <footer class="footer">--> |
||
| 57 | <!-- <div class="container">--> |
||
| 58 | <!-- <p class="pull-left">© <a href='http://newicon.net' target='_blank'>Newicon Ltd</a> --><?//= date('Y'); ?><!--</p>--> |
||
|
0 ignored issues
–
show
|
|||
| 59 | <!-- <p class="pull-right">--><?php // echo neon()->powered(); ?><!--</p>--> |
||
| 60 | <!-- </div>--> |
||
| 61 | <!-- </footer>--> |
||
| 62 | |||
| 63 | <?php $this->endBody(); ?> |
||
| 64 | </body> |
||
| 65 | </html> |
||
| 66 | <?php $this->endPage(); ?> |
||
| 67 |
Short opening tags are disabled in PHP?s default configuration. In such a case, all content of this file is output verbatim to the browser without being parsed, or executed.
As a precaution to avoid these problems better use the long opening tag
<?php.