From 5ce273cfad5af43aa649950993bc58f2cc9c54a9 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 15 Feb 2023 23:55:36 +0100 Subject: [PATCH] Add vim modeline in templates files --- templates/empty.tpl | 3 +++ templates/error_page.tpl | 3 +++ templates/errors.tpl | 3 +++ templates/fatal_error.tpl | 3 +++ templates/homepage.tpl | 3 +++ templates/messages.tpl | 3 +++ 6 files changed, 18 insertions(+) diff --git a/templates/empty.tpl b/templates/empty.tpl index f87184f..eedaf1a 100644 --- a/templates/empty.tpl +++ b/templates/empty.tpl @@ -99,3 +99,6 @@ {if $webstats_js_code}{$webstats_js_code}{/if} +{* +# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2 +*} diff --git a/templates/error_page.tpl b/templates/error_page.tpl index ba32bd4..ff8a69b 100644 --- a/templates/error_page.tpl +++ b/templates/error_page.tpl @@ -2,3 +2,6 @@ {block name="content"}

{$message}

{/block} +{* +# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2 +*} diff --git a/templates/errors.tpl b/templates/errors.tpl index 545baa1..6580ef7 100644 --- a/templates/errors.tpl +++ b/templates/errors.tpl @@ -7,3 +7,6 @@ {/if} {/block} +{* +# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2 +*} diff --git a/templates/fatal_error.tpl b/templates/fatal_error.tpl index 29a4bee..ef07f3c 100644 --- a/templates/fatal_error.tpl +++ b/templates/fatal_error.tpl @@ -8,3 +8,6 @@
{t domain=$CORE_TEXT_DOMAIN}Back{/t}
{/block} +{* +# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2 +*} diff --git a/templates/homepage.tpl b/templates/homepage.tpl index 260df8c..19d9cdf 100644 --- a/templates/homepage.tpl +++ b/templates/homepage.tpl @@ -6,3 +6,6 @@

{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} +{* +# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2 +*} diff --git a/templates/messages.tpl b/templates/messages.tpl index 9545dd2..6d7b081 100644 --- a/templates/messages.tpl +++ b/templates/messages.tpl @@ -7,3 +7,6 @@ {/if} {/block} +{* +# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2 +*}