summaryrefslogtreecommitdiff
path: root/structure_add_content.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:54:15 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:54:15 +0100
commit7e4af642c93da5af9889211cff169c901e35d6b8 (patch)
tree9fd6433fcf8e763c97fd8499b2f13e88312bf3ce /structure_add_content.php
parentb463af3dd0d69bf659bd0820bd07bebd6358f74c (diff)
downloadliberty-7e4af642c93da5af9889211cff169c901e35d6b8.tar.gz
liberty-7e4af642c93da5af9889211cff169c901e35d6b8.tar.bz2
liberty-7e4af642c93da5af9889211cff169c901e35d6b8.zip
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'structure_add_content.php')
-rwxr-xr-xstructure_add_content.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/structure_add_content.php b/structure_add_content.php
index 9921bf7..eb3ca79 100755
--- a/structure_add_content.php
+++ b/structure_add_content.php
@@ -33,9 +33,9 @@ if( !empty( $_SERVER['HTTP_REFERER'] ) ) {
if( $gBitThemes->isAjaxRequest() ) {
header( 'Content-Type: text/html; charset=utf-8' );
- print $gBitSmarty->fetch( "bitpackage:liberty/structure_add_feedback_inc.tpl" );
+ print $gBitSmarty->fetch( "bitpackage:liberty/structure_add_feedback_inc.tpl" );
exit;
-} else {
+}
$_REQUEST['thumbnail_size'] = 'icon';
include_once( LIBERTY_PKG_INCLUDE_PATH.'get_content_list_inc.php' );
@@ -62,6 +62,5 @@ if( $gBitThemes->isAjaxRequest() ) {
bit_redirect( $gContent->getDisplayUri() );
}
}
- $gBitSystem->display( 'bitpackage:liberty/structure_add_content.tpl', "Add Content" , array( 'display_mode' => 'display' ));
-}
+ $gBitSystem->display( 'bitpackage:liberty/structure_add_content.tpl', "Add Content" , [ 'display_mode' => 'display' ]);