-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy patherror.ctp
More file actions
43 lines (37 loc) · 1.25 KB
/
error.ctp
File metadata and controls
43 lines (37 loc) · 1.25 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
<?php
/**
* Error レイアウト
*
* @author Noriko Arai <arai@nii.ac.jp>
* @author Shohei Nakajima <nakajimashouhei@gmail.com>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
* @copyright Copyright 2014, NetCommons Project
*/
App::uses('SiteSettingUtil', 'SiteManager.Utility');
?>
<!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 SiteSettingUtil::read('App.site_name'); ?>
</title>
<?php
echo $this->element('NetCommons.common_favicon');
echo $this->fetch('meta');
echo $this->element('NetCommons.common_css', [], ['cache' => true]);
echo $this->element('NetCommons.common_theme_css', [], ['cache' => true]);
echo $this->element('NetCommons.common_js', [], ['cache' => true]);
?>
</head>
<body ng-controller="NetCommons.base">
<?php echo $this->Flash->render(); ?>
<main class="container">
<?php echo $this->fetch('content'); ?>
</main>
<?php echo $this->element('NetCommons.common_footer', [], ['cache' => true]); ?>
</body>
</html>