diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:28:52 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:28:52 +0100 |
| commit | 3cb0ce6c7e88d2b46847ad101c32969a50226739 (patch) | |
| tree | 62632ef9b79b82777878eba5dbeb41c051d8aa58 /list.php | |
| parent | a77efe016535086907ffd1d9f01f756333774583 (diff) | |
| download | articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.tar.gz articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.tar.bz2 articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.zip | |
php-cs-fixer updates to php8.5 style
Diffstat (limited to 'list.php')
| -rwxr-xr-x | list.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -50,12 +50,12 @@ if( !empty( $_REQUEST['action'] ) ) { $formHash['action'] = 'remove'; $formHash['status_id'] = ( !empty( $_REQUEST['status_id'] ) ? $_REQUEST['status_id'] : '' ); $formHash['remove_article_id'] = $_REQUEST['remove_article_id']; - $msgHash = array( + $msgHash = [ 'label' => KernelTools::tra('Remove Article'), 'confirm_item' => $tmpArt->mInfo['title'], 'warning' => KernelTools::tra('Remove the above article.'), 'error' => KernelTools::tra('This cannot be undone!'), - ); + ]; $gBitSystem->confirmDialog( $formHash, $msgHash ); } } @@ -83,4 +83,4 @@ $gBitSmarty->assign( 'listInfo', $_REQUEST['listInfo'] ); $gBitSmarty->assign( 'listpages', $listArticles ); // Display the template -$gBitSystem->display( 'bitpackage:articles/list_articles.tpl', KernelTools::tra( "Articles" ), array( 'display_mode' => 'list' )); +$gBitSystem->display( 'bitpackage:articles/list_articles.tpl', KernelTools::tra( "Articles" ), [ 'display_mode' => 'list' ]); |
