-
- {block name="pagetitle"}{if $pagetitle}

{$pagetitle}

{/if}{/block} + {block name="main"} +
+
+ {block name="pagetitle"}{if $pagetitle}

{$pagetitle}

{/if}{/block} {include file='Tpl:errors.tpl'} {include file='Tpl:messages.tpl'} {block name="content"}{/block}
+ {/block} {block name="footer"} - +
+
+ {block name="footer-content"} + + EesyPHP + + {/block} +
+
{/block} {/block} - - + + {foreach $js as $path} diff --git a/templates/homepage.tpl b/templates/homepage.tpl index 19d9cdf..3f6105f 100644 --- a/templates/homepage.tpl +++ b/templates/homepage.tpl @@ -1,9 +1,13 @@ {extends file='Tpl:empty.tpl'} {block name="pagetitle"}{/block} {block name="content"} -
-

{t domain=$CORE_TEXT_DOMAIN}Hello, world!{/t}

-

{t escape=off domain=$CORE_TEXT_DOMAIN}This is the default page of a new app using EesyPHP framework. Register your own templates directory and create a homepage.tpl file to overwrite it. You could also overwrite the URL handler for the root of the web application.{/t}

+
+
+

{t domain=$CORE_TEXT_DOMAIN}Hello, world!{/t}

+

+ {t escape=off domain=$CORE_TEXT_DOMAIN}This is the default page of a new app using EesyPHP framework. Register your own templates directory and create a homepage.tpl file to overwrite it. You could also overwrite the URL handler for the root of the web application.{/t} +

+
{/block} {* diff --git a/templates/login.tpl b/templates/login.tpl index d65f5b2..c19838d 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -1,23 +1,33 @@ {extends file='Tpl:empty.tpl'} -{block name="pagetitle"} -

{t domain=$CORE_TEXT_DOMAIN}Sign in{/t}

-{/block} +{block name="pagetitle"}{/block} {block name="content"} -
- -
- - -
-
- - -
- - {foreach $display_other_methods as $method => $name} - {$name} - {/foreach} -
+
+
+ +

{t domain=$CORE_TEXT_DOMAIN}Sign in{/t}

+ + {include file='Tpl:errors.tpl'} + {include file='Tpl:messages.tpl'} + +
+ + +
+
+ + +
+ + + {foreach $display_other_methods as $method => $name} + {$name} + {/foreach} +
+
{/block} {* # vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2 diff --git a/templates/logout.tpl b/templates/logout.tpl index eca5cd3..76a3084 100644 --- a/templates/logout.tpl +++ b/templates/logout.tpl @@ -1,9 +1,13 @@ {extends file='Tpl:empty.tpl'} {block name="pagetitle"}{/block} {block name="content"} -
-

{t domain=$CORE_TEXT_DOMAIN}Disconnected{/t}

-

{t escape=off domain=$CORE_TEXT_DOMAIN}You are now disconnected.{/t}

+
+
+

{t domain=$CORE_TEXT_DOMAIN}Disconnected{/t}

+

+ {t escape=off domain=$CORE_TEXT_DOMAIN}You are now disconnected.{/t} +

+
{/block} {* diff --git a/templates/must_login.tpl b/templates/must_login.tpl index 945f03c..c2985be 100644 --- a/templates/must_login.tpl +++ b/templates/must_login.tpl @@ -1,9 +1,13 @@ {extends file='Tpl:empty.tpl'} {block name="pagetitle"}{/block} {block name="content"} -
-

{t domain=$CORE_TEXT_DOMAIN}Access denied{/t}

-

{t escape=off domain=$CORE_TEXT_DOMAIN}You must login to access this page.{/t}

+
+
+

{t domain=$CORE_TEXT_DOMAIN}Access denied{/t}

+

+ {t escape=off domain=$CORE_TEXT_DOMAIN}You must login to access this page.{/t} +

+
{/block} {*