PageRenderTime 49ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/system/cms/themes/pyrocms/views/admin/layouts/default.php

https://github.com/asalem/pyrocms
PHP | 91 lines | 70 code | 21 blank | 0 comment | 3 complexity | f63db9909ac1fc570d02144d85b8ea6b MD5 | raw file
Possible License(s): CC-BY-3.0, BSD-3-Clause, CC0-1.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, MIT
  1. <!doctype html>
  2. <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
  5. <!--[if gt IE 8]> <html class="no-js" lang="en"> <![endif]-->
  6. <head>
  7. <meta charset="utf-8">
  8. <!-- You can use .htaccess and remove these lines to avoid edge case issues. -->
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. <title><?php echo $template['title'].' - '.lang('cp:admin_title') ?></title>
  11. <base href="<?php echo base_url(); ?>" />
  12. <!-- Mobile viewport optimized -->
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
  14. <!-- CSS. No need to specify the media attribute unless specifically targeting a media type, leaving blank implies media=all -->
  15. <?php echo Asset::css('plugins.css'); ?>
  16. <?php echo Asset::css('workless/workless.css'); ?>
  17. <?php echo Asset::css('workless/application.css'); ?>
  18. <?php echo Asset::css('workless/responsive.css'); ?>
  19. <?php
  20. $vars = $this->load->_ci_cached_vars;
  21. if ($vars['lang']['direction']=='rtl'){
  22. echo Asset::css('workless/rtl/rtl.css');
  23. }
  24. ?>
  25. <!-- End CSS-->
  26. <!-- Load up some favicons -->
  27. <link rel="shortcut icon" href="favicon.ico">
  28. <link rel="apple-touch-icon" href="apple-touch-icon.png">
  29. <link rel="apple-touch-icon" href="apple-touch-icon-precomposed.png">
  30. <link rel="apple-touch-icon" href="apple-touch-icon-57x57-precomposed.png">
  31. <link rel="apple-touch-icon" href="apple-touch-icon-72x72-precomposed.png">
  32. <link rel="apple-touch-icon" href="apple-touch-icon-114x114-precomposed.png">
  33. <!-- metadata needs to load before some stuff -->
  34. <?php file_partial('metadata'); ?>
  35. </head>
  36. <body>
  37. <div id="container">
  38. <section id="content">
  39. <header class="hide-on-ckeditor-maximize">
  40. <?php file_partial('header'); ?>
  41. </header>
  42. <div id="content-body">
  43. <?php file_partial('notices'); ?>
  44. <?php echo $template['body']; ?>
  45. </div>
  46. </section>
  47. </div>
  48. <footer class="clearfix">
  49. <div class="wrapper">
  50. <p class="credits">Copyright &copy;<?php echo date('Y'); ?> PyroCMS LLC &nbsp; <span>Version <?php echo CMS_VERSION.' '.CMS_EDITION; ?> &nbsp; Rendered in {elapsed_time} sec. using {memory_usage}.</span></p>
  51. <ul id="lang">
  52. <form action="<?php echo current_url(); ?>" id="change_language" method="get">
  53. <select class="chzn" name="lang" onchange="this.form.submit();">
  54. <?php foreach(config_item('supported_languages') as $key => $lang): ?>
  55. <option value="<?php echo $key; ?>" <?php echo CURRENT_LANGUAGE == $key ? ' selected="selected" ' : ''; ?>>
  56. <?php echo $lang['name']; ?>
  57. </option>
  58. <?php endforeach; ?>
  59. </select>
  60. </form>
  61. </ul>
  62. </div>
  63. </footer>
  64. <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6. chromium.org/developers/how-tos/chrome-frame-getting-started -->
  65. <!--[if lt IE 7 ]>
  66. <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
  67. <script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
  68. <![endif]-->
  69. </body>
  70. </html>