summaryrefslogtreecommitdiff
path: root/fai_gestion/src/Template/Layout
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 00:09:33 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 00:09:33 +0200
commit4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8 (patch)
tree8869134f1c3b5f7c3841578fbcaa4ff9cee7e2bc /fai_gestion/src/Template/Layout
parenta6104f47f7a0534664f8f3740f303f01e7e7399e (diff)
downloadchd_gestion-4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8.zip
chd_gestion-4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8.tar.gz
chd_gestion-4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8.tar.bz2
Cake 3.6.7 fresh install
Diffstat (limited to 'fai_gestion/src/Template/Layout')
-rw-r--r--fai_gestion/src/Template/Layout/Email/html/default.ctp24
-rw-r--r--fai_gestion/src/Template/Layout/Email/text/default.ctp16
-rw-r--r--fai_gestion/src/Template/Layout/ajax.ctp16
-rw-r--r--fai_gestion/src/Template/Layout/default.ctp57
-rw-r--r--fai_gestion/src/Template/Layout/error.ctp47
-rw-r--r--fai_gestion/src/Template/Layout/rss/default.ctp11
6 files changed, 171 insertions, 0 deletions
diff --git a/fai_gestion/src/Template/Layout/Email/html/default.ctp b/fai_gestion/src/Template/Layout/Email/html/default.ctp
new file mode 100644
index 0000000..3ff87ff
--- /dev/null
+++ b/fai_gestion/src/Template/Layout/Email/html/default.ctp
@@ -0,0 +1,24 @@
+<?php
+/**
+ * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
+ * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ *
+ * Licensed under The MIT License
+ * For full copyright and license information, please see the LICENSE.txt
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ * @link https://cakephp.org CakePHP(tm) Project
+ * @since 0.10.0
+ * @license https://opensource.org/licenses/mit-license.php MIT License
+ */
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+<head>
+ <title><?= $this->fetch('title') ?></title>
+</head>
+<body>
+ <?= $this->fetch('content') ?>
+</body>
+</html>
diff --git a/fai_gestion/src/Template/Layout/Email/text/default.ctp b/fai_gestion/src/Template/Layout/Email/text/default.ctp
new file mode 100644
index 0000000..29b439c
--- /dev/null
+++ b/fai_gestion/src/Template/Layout/Email/text/default.ctp
@@ -0,0 +1,16 @@
+<?php
+/**
+ * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
+ * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ *
+ * Licensed under The MIT License
+ * For full copyright and license information, please see the LICENSE.txt
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ * @link https://cakephp.org CakePHP(tm) Project
+ * @since 0.10.0
+ * @license https://opensource.org/licenses/mit-license.php MIT License
+ */
+
+echo $this->fetch('content');
diff --git a/fai_gestion/src/Template/Layout/ajax.ctp b/fai_gestion/src/Template/Layout/ajax.ctp
new file mode 100644
index 0000000..29b439c
--- /dev/null
+++ b/fai_gestion/src/Template/Layout/ajax.ctp
@@ -0,0 +1,16 @@
+<?php
+/**
+ * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
+ * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ *
+ * Licensed under The MIT License
+ * For full copyright and license information, please see the LICENSE.txt
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ * @link https://cakephp.org CakePHP(tm) Project
+ * @since 0.10.0
+ * @license https://opensource.org/licenses/mit-license.php MIT License
+ */
+
+echo $this->fetch('content');
diff --git a/fai_gestion/src/Template/Layout/default.ctp b/fai_gestion/src/Template/Layout/default.ctp
new file mode 100644
index 0000000..caf014e
--- /dev/null
+++ b/fai_gestion/src/Template/Layout/default.ctp
@@ -0,0 +1,57 @@
+<?php
+/**
+ * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
+ * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ *
+ * Licensed under The MIT License
+ * For full copyright and license information, please see the LICENSE.txt
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ * @link https://cakephp.org CakePHP(tm) Project
+ * @since 0.10.0
+ * @license https://opensource.org/licenses/mit-license.php MIT License
+ */
+
+$cakeDescription = 'CakePHP: the rapid development php framework';
+?>
+<!DOCTYPE html>
+<html>
+<head>
+ <?= $this->Html->charset() ?>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>
+ <?= $cakeDescription ?>:
+ <?= $this->fetch('title') ?>
+ </title>
+ <?= $this->Html->meta('icon') ?>
+
+ <?= $this->Html->css('base.css') ?>
+ <?= $this->Html->css('style.css') ?>
+
+ <?= $this->fetch('meta') ?>
+ <?= $this->fetch('css') ?>
+ <?= $this->fetch('script') ?>
+</head>
+<body>
+ <nav class="top-bar expanded" data-topbar role="navigation">
+ <ul class="title-area large-3 medium-4 columns">
+ <li class="name">
+ <h1><a href=""><?= $this->fetch('title') ?></a></h1>
+ </li>
+ </ul>
+ <div class="top-bar-section">
+ <ul class="right">
+ <li><a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a></li>
+ <li><a target="_blank" href="https://api.cakephp.org/3.0/">API</a></li>
+ </ul>
+ </div>
+ </nav>
+ <?= $this->Flash->render() ?>
+ <div class="container clearfix">
+ <?= $this->fetch('content') ?>
+ </div>
+ <footer>
+ </footer>
+</body>
+</html>
diff --git a/fai_gestion/src/Template/Layout/error.ctp b/fai_gestion/src/Template/Layout/error.ctp
new file mode 100644
index 0000000..7367c1b
--- /dev/null
+++ b/fai_gestion/src/Template/Layout/error.ctp
@@ -0,0 +1,47 @@
+<?php
+/**
+ * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
+ * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ *
+ * Licensed under The MIT License
+ * For full copyright and license information, please see the LICENSE.txt
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ * @link https://cakephp.org CakePHP(tm) Project
+ * @since 0.10.0
+ * @license https://opensource.org/licenses/mit-license.php MIT License
+ */
+?>
+<!DOCTYPE html>
+<html>
+<head>
+ <?= $this->Html->charset() ?>
+ <title>
+ <?= $this->fetch('title') ?>
+ </title>
+ <?= $this->Html->meta('icon') ?>
+
+ <?= $this->Html->css('base.css') ?>
+ <?= $this->Html->css('style.css') ?>
+
+ <?= $this->fetch('meta') ?>
+ <?= $this->fetch('css') ?>
+ <?= $this->fetch('script') ?>
+</head>
+<body>
+ <div id="container">
+ <div id="header">
+ <h1><?= __('Error') ?></h1>
+ </div>
+ <div id="content">
+ <?= $this->Flash->render() ?>
+
+ <?= $this->fetch('content') ?>
+ </div>
+ <div id="footer">
+ <?= $this->Html->link(__('Back'), 'javascript:history.back()') ?>
+ </div>
+ </div>
+</body>
+</html>
diff --git a/fai_gestion/src/Template/Layout/rss/default.ctp b/fai_gestion/src/Template/Layout/rss/default.ctp
new file mode 100644
index 0000000..8269be2
--- /dev/null
+++ b/fai_gestion/src/Template/Layout/rss/default.ctp
@@ -0,0 +1,11 @@
+<?php
+if (!isset($channel)) :
+ $channel = [];
+endif;
+if (!isset($channel['title'])) :
+ $channel['title'] = $this->fetch('title');
+endif;
+
+echo $this->Rss->document(
+ $this->Rss->channel([], $channel, $this->fetch('content'))
+);