-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdefault.ctp
More file actions
44 lines (36 loc) · 1.22 KB
/
default.ctp
File metadata and controls
44 lines (36 loc) · 1.22 KB
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
38
39
40
41
42
43
44
<?php
/**
* Pages template.
*
* @copyright Copyright 2014, NetCommons Project
* @author Kohei Teraguchi <kteraguchi@commonsnet.org>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
*/
?>
<!DOCTYPE html>
<html lang="<?php echo Configure::read('Config.language') ?>" ng-app="NetCommonsApp">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo (isset($pageTitle) ? h($pageTitle) : ''); ?></title>
<?php
echo $this->element('NetCommons.common_favicon');
echo $this->fetch('meta');
echo $this->element('NetCommons.common_css');
echo $this->fetch('css');
echo $this->element('NetCommons.common_theme_css');
echo $this->element('NetCommons.common_js');
echo $this->fetch('script');
?>
</head>
<body ng-controller="NetCommons.base">
<?php echo $this->Flash->render(); ?>
<?php echo $this->element('NetCommons.common_header'); ?>
<main class="container" ng-init="hashChange()">
<?php echo $this->fetch('content'); ?>
</main>
<?php echo $this->element('NetCommons.common_footer'); ?>
</body>
</html>