From 203e6d3f9b4d0762b83941bafa5961142206a7c2 Mon Sep 17 00:00:00 2001 From: Booteille Date: Mon, 19 May 2025 10:23:14 +0200 Subject: [PATCH] Restore vim modelines --- themes/default/templates/about.html.ep | 1 + themes/default/templates/exception.html.ep | 2 +- themes/default/templates/files.html.ep | 1 + themes/default/templates/index.html.ep | 1 + themes/default/templates/invitations/invite.html.ep | 1 + themes/default/templates/invitations/invite.mail.ep | 1 + themes/default/templates/invitations/my_invitations.html.ep | 1 + themes/default/templates/layouts/default.html.ep | 1 + themes/default/templates/login.html.ep | 1 + themes/default/templates/logout.html.ep | 1 + themes/default/templates/mail.html.ep | 1 + themes/default/templates/msg.html.ep | 1 + themes/default/templates/render.html.ep | 1 + 13 files changed, 13 insertions(+), 1 deletion(-) diff --git a/themes/default/templates/about.html.ep b/themes/default/templates/about.html.ep index d03ea5e..dc6466d 100644 --- a/themes/default/templates/about.html.ep +++ b/themes/default/templates/about.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:

<%= l('About') %>

diff --git a/themes/default/templates/exception.html.ep b/themes/default/templates/exception.html.ep index 48f5e8b..d7f6a42 100644 --- a/themes/default/templates/exception.html.ep +++ b/themes/default/templates/exception.html.ep @@ -1,4 +1,4 @@ - +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% if (stash('expired_or_deleted_invitation')) {
diff --git a/themes/default/templates/files.html.ep b/themes/default/templates/files.html.ep index be7aec1..e134616 100644 --- a/themes/default/templates/files.html.ep +++ b/themes/default/templates/files.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:

<%= l('My files') %>

diff --git a/themes/default/templates/index.html.ep b/themes/default/templates/index.html.ep index 4bef218..5d328d5 100644 --- a/themes/default/templates/index.html.ep +++ b/themes/default/templates/index.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab: % my %d = ( % delay_0 => l('no time limit'), % delay_1 => l('24 hours'), diff --git a/themes/default/templates/invitations/invite.html.ep b/themes/default/templates/invitations/invite.html.ep index 21493cf..b2b4dc3 100644 --- a/themes/default/templates/invitations/invite.html.ep +++ b/themes/default/templates/invitations/invite.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% if (scalar(@{$self->stash('fails')})) {
diff --git a/themes/default/templates/invitations/invite.mail.ep b/themes/default/templates/invitations/invite.mail.ep index f7c4191..35b8bdf 100644 --- a/themes/default/templates/invitations/invite.mail.ep +++ b/themes/default/templates/invitations/invite.mail.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab: % stash subject => l('%1 invites you to send him/her files', stash('ldap_user')); %= l('Hello,') diff --git a/themes/default/templates/invitations/my_invitations.html.ep b/themes/default/templates/invitations/my_invitations.html.ep index 08504da..fb4b45a 100644 --- a/themes/default/templates/invitations/my_invitations.html.ep +++ b/themes/default/templates/invitations/my_invitations.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab: % use Number::Bytes::Human qw(format_bytes); % my $lang = $self->get_date_lang(); diff --git a/themes/default/templates/layouts/default.html.ep b/themes/default/templates/layouts/default.html.ep index 79fe319..5cc0248 100644 --- a/themes/default/templates/layouts/default.html.ep +++ b/themes/default/templates/layouts/default.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab: % my $lang = $self->languages; % $lang =~ s/-(.*)/_\U$1/; diff --git a/themes/default/templates/login.html.ep b/themes/default/templates/login.html.ep index da8ae66..7d78333 100644 --- a/themes/default/templates/login.html.ep +++ b/themes/default/templates/login.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% if (defined stash('msg')) {
diff --git a/themes/default/templates/logout.html.ep b/themes/default/templates/logout.html.ep index e9d501d..4f5e336 100644 --- a/themes/default/templates/logout.html.ep +++ b/themes/default/templates/logout.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% if (defined stash('msg')) {
diff --git a/themes/default/templates/mail.html.ep b/themes/default/templates/mail.html.ep index 55e3a65..7fda2a8 100644 --- a/themes/default/templates/mail.html.ep +++ b/themes/default/templates/mail.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% if (defined(stash('msg'))) {
diff --git a/themes/default/templates/msg.html.ep b/themes/default/templates/msg.html.ep index e5ed8f6..b841f21 100644 --- a/themes/default/templates/msg.html.ep +++ b/themes/default/templates/msg.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% if (!defined(stash('f')) && defined(stash('msg'))) {
diff --git a/themes/default/templates/render.html.ep b/themes/default/templates/render.html.ep index eabc9a2..2383317 100755 --- a/themes/default/templates/render.html.ep +++ b/themes/default/templates/render.html.ep @@ -1,3 +1,4 @@ +% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab: % if (!defined(stash('f')) && defined(stash('msg'))) {