summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:51:41 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:51:41 +0100
commitb3ad3ad85eb5a910c191a3966e5c01f2fb88a4d3 (patch)
treef4595f230baa2eaa7dff6f49c0d197b931fee673 /templates
parent7a21da41db5ab3bdb5777b6ff501fc210fbb02ad (diff)
downloadnewsletters-b3ad3ad85eb5a910c191a3966e5c01f2fb88a4d3.tar.gz
newsletters-b3ad3ad85eb5a910c191a3966e5c01f2fb88a4d3.tar.bz2
newsletters-b3ad3ad85eb5a910c191a3966e5c01f2fb88a4d3.zip
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
-rwxr-xr-x[-rw-r--r--]templates/admin_newsletter_subscriptions.tpl0
-rwxr-xr-x[-rw-r--r--]templates/admin_newsletters.tpl0
-rwxr-xr-xtemplates/center_list_newsletters.php4
-rwxr-xr-x[-rw-r--r--]templates/confirm_newsletter_subscription.tpl0
-rwxr-xr-x[-rw-r--r--]templates/html_head_inc.tpl0
-rw-r--r--templates/index.php2
-rwxr-xr-x[-rw-r--r--]templates/list_editions.tpl0
-rwxr-xr-x[-rw-r--r--]templates/list_editions_inc.tpl0
-rwxr-xr-x[-rw-r--r--]templates/mail_edition.tpl0
-rwxr-xr-x[-rw-r--r--]templates/mail_edition_body.tpl0
-rwxr-xr-x[-rw-r--r--]templates/mail_edition_footer.tpl0
-rwxr-xr-x[-rw-r--r--]templates/mail_edition_header.tpl0
-rwxr-xr-x[-rw-r--r--]templates/mail_queue.tpl0
-rwxr-xr-x[-rw-r--r--]templates/menu_newsletters.tpl0
-rwxr-xr-x[-rw-r--r--]templates/menu_newsletters_admin.tpl0
-rwxr-xr-x[-rw-r--r--]templates/newsletter_byebye.tpl0
-rwxr-xr-x[-rw-r--r--]templates/newsletter_welcome.tpl0
-rwxr-xr-x[-rw-r--r--]templates/send_newsletters.tpl0
-rwxr-xr-x[-rw-r--r--]templates/unsubscribe_inc.tpl0
-rwxr-xr-x[-rw-r--r--]templates/user_register_inc.tpl0
20 files changed, 3 insertions, 3 deletions
diff --git a/templates/admin_newsletter_subscriptions.tpl b/templates/admin_newsletter_subscriptions.tpl
index b0de9ef..b0de9ef 100644..100755
--- a/templates/admin_newsletter_subscriptions.tpl
+++ b/templates/admin_newsletter_subscriptions.tpl
diff --git a/templates/admin_newsletters.tpl b/templates/admin_newsletters.tpl
index c7824a1..c7824a1 100644..100755
--- a/templates/admin_newsletters.tpl
+++ b/templates/admin_newsletters.tpl
diff --git a/templates/center_list_newsletters.php b/templates/center_list_newsletters.php
index f6a8a50..169f789 100755
--- a/templates/center_list_newsletters.php
+++ b/templates/center_list_newsletters.php
@@ -10,11 +10,11 @@ if( !$gBitUser->isRegistered() && !$gBitUser->hasPermission( 'p_newsletters_subs
require_once( NEWSLETTERS_PKG_INCLUDE_PATH.'lookup_newsletter_inc.php' );
/* List newsletters */
- $listHash = array();
+ $listHash = [];
$newsletters = BitNewsletter::getList( $listHash );
foreach( array_keys( $newsletters ) as $contentId ) {
- $listHash = array( 'nl_id' => $newsletters[$contentId]['nl_id'] );
+ $listHash = [ 'nl_id' => $newsletters[$contentId]['nl_id'] ];
$newsletters[$contentId]['editions'] = BitNewsletterEdition::getList( $listHash );
}
diff --git a/templates/confirm_newsletter_subscription.tpl b/templates/confirm_newsletter_subscription.tpl
index 6b1f848..6b1f848 100644..100755
--- a/templates/confirm_newsletter_subscription.tpl
+++ b/templates/confirm_newsletter_subscription.tpl
diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl
index 25999eb..25999eb 100644..100755
--- a/templates/html_head_inc.tpl
+++ b/templates/html_head_inc.tpl
diff --git a/templates/index.php b/templates/index.php
index 3e305fe..c0437d0 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -1,4 +1,4 @@
-<?php
+<?php
// This is not a package.
header ("location: ../index.php");
diff --git a/templates/list_editions.tpl b/templates/list_editions.tpl
index 51c4557..51c4557 100644..100755
--- a/templates/list_editions.tpl
+++ b/templates/list_editions.tpl
diff --git a/templates/list_editions_inc.tpl b/templates/list_editions_inc.tpl
index de9f4b5..de9f4b5 100644..100755
--- a/templates/list_editions_inc.tpl
+++ b/templates/list_editions_inc.tpl
diff --git a/templates/mail_edition.tpl b/templates/mail_edition.tpl
index 5955267..5955267 100644..100755
--- a/templates/mail_edition.tpl
+++ b/templates/mail_edition.tpl
diff --git a/templates/mail_edition_body.tpl b/templates/mail_edition_body.tpl
index 187f2af..187f2af 100644..100755
--- a/templates/mail_edition_body.tpl
+++ b/templates/mail_edition_body.tpl
diff --git a/templates/mail_edition_footer.tpl b/templates/mail_edition_footer.tpl
index 0bc63d2..0bc63d2 100644..100755
--- a/templates/mail_edition_footer.tpl
+++ b/templates/mail_edition_footer.tpl
diff --git a/templates/mail_edition_header.tpl b/templates/mail_edition_header.tpl
index eaf6d5a..eaf6d5a 100644..100755
--- a/templates/mail_edition_header.tpl
+++ b/templates/mail_edition_header.tpl
diff --git a/templates/mail_queue.tpl b/templates/mail_queue.tpl
index 786283d..786283d 100644..100755
--- a/templates/mail_queue.tpl
+++ b/templates/mail_queue.tpl
diff --git a/templates/menu_newsletters.tpl b/templates/menu_newsletters.tpl
index 6c965b2..6c965b2 100644..100755
--- a/templates/menu_newsletters.tpl
+++ b/templates/menu_newsletters.tpl
diff --git a/templates/menu_newsletters_admin.tpl b/templates/menu_newsletters_admin.tpl
index b0d704b..b0d704b 100644..100755
--- a/templates/menu_newsletters_admin.tpl
+++ b/templates/menu_newsletters_admin.tpl
diff --git a/templates/newsletter_byebye.tpl b/templates/newsletter_byebye.tpl
index 845ccb1..845ccb1 100644..100755
--- a/templates/newsletter_byebye.tpl
+++ b/templates/newsletter_byebye.tpl
diff --git a/templates/newsletter_welcome.tpl b/templates/newsletter_welcome.tpl
index f379e09..f379e09 100644..100755
--- a/templates/newsletter_welcome.tpl
+++ b/templates/newsletter_welcome.tpl
diff --git a/templates/send_newsletters.tpl b/templates/send_newsletters.tpl
index bb1d0c3..bb1d0c3 100644..100755
--- a/templates/send_newsletters.tpl
+++ b/templates/send_newsletters.tpl
diff --git a/templates/unsubscribe_inc.tpl b/templates/unsubscribe_inc.tpl
index 4678a08..4678a08 100644..100755
--- a/templates/unsubscribe_inc.tpl
+++ b/templates/unsubscribe_inc.tpl
diff --git a/templates/user_register_inc.tpl b/templates/user_register_inc.tpl
index 6e42ccf..6e42ccf 100644..100755
--- a/templates/user_register_inc.tpl
+++ b/templates/user_register_inc.tpl