summaryrefslogtreecommitdiff
path: root/app/php/layouts
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-06-07 15:17:49 +0200
committeremkael <emkael@tlen.pl>2016-06-10 11:46:41 +0200
commit823d71ced9b4947b1a5a5ade7245d521ed490061 (patch)
treea9a6c7cb0de74ff705e8320c284de423a698f5b5 /app/php/layouts
parentdf401552aac363655ab8f056a6c910a7611954d6 (diff)
* renaming php directory
Diffstat (limited to 'app/php/layouts')
-rw-r--r--app/php/layouts/Layout.php11
-rw-r--r--app/php/layouts/MainLayout.php9
-rw-r--r--app/php/layouts/MainLayout.tpl22
3 files changed, 0 insertions, 42 deletions
diff --git a/app/php/layouts/Layout.php b/app/php/layouts/Layout.php
deleted file mode 100644
index 324c69f..0000000
--- a/app/php/layouts/Layout.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-class Layout extends TTemplateControl {
-
- public function generateViewID() {
- return $this->ViewID->Value ?: md5(mt_rand());
- }
-
-}
-
-?>
diff --git a/app/php/layouts/MainLayout.php b/app/php/layouts/MainLayout.php
deleted file mode 100644
index 5843952..0000000
--- a/app/php/layouts/MainLayout.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-Prado::using('Application.layouts.Layout');
-
-class MainLayout extends Layout {
-
-}
-
-?>
diff --git a/app/php/layouts/MainLayout.tpl b/app/php/layouts/MainLayout.tpl
deleted file mode 100644
index 0deb816..0000000
--- a/app/php/layouts/MainLayout.tpl
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<html>
- <com:THead>
- <com:TMetaTag HttpEquiv="Content-Type" Content="text/html; charset=utf-8" />
- <title><com:TContentPlaceHolder ID="Title" /></title>
- </com:THead>
- <body>
- <com:TForm>
- <header role="banner">
- <com:HeaderMenu />
- </header>
- <main role="main">
- <com:TContentPlaceHolder ID="Content" />
- </main>
- <footer role="contentinfo">
- </footer>
- <com:THiddenField ID="ViewID">
- <prop:Value><%= $this->generateViewID() %></prop:Value>
- </com:THiddenField>
- </com:TForm>
- </body>
-</html>