Blame view

protected/modules/admin/views/layouts/main.php 975 Bytes
a1684257   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  <?php
  /**
   * @var AdminController $this
   * @var string $content
   */
  ?>
  <!DOCTYPE html>
  <html>
  <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="description" content="">
      <meta name="author" content="">
  
      <meta charset="utf-8">
  
      <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
      <!--[if lt IE 9]>
      <script src="<?php echo $this->getModule()->assets; ?>/js/html5.js"></script>
      <![endif]-->
  
      <title><?php echo $this->pageTitle;?></title>
      <link rel="shortcut icon" href="<?php echo $this->getModule()->assets;?>/favicon.ico"/>
      <?php
  
      $request = Yii::app()->request;
      if ($request->enableCsrfValidation) {
          echo CHtml::metaTag($request->csrfTokenName, 'csrf-param');
          echo CHtml::metaTag($request->getCsrfToken(), 'csrf-token');
      }
      ?>
  </head>
  <body>
  <?php echo $content?>
  </body>
  </html>