diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:55:19 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:55:19 +0100 |
| commit | c105a9834fd9c5a320d41422c50fa84e5bc12084 (patch) | |
| tree | 48d0d400d6e0a4fd87485e89accfdeaf8db5c24b /orphan_pages.php | |
| parent | 1778d95793e4bc5d494ece84ec177b5629c830f3 (diff) | |
| download | wiki-c105a9834fd9c5a320d41422c50fa84e5bc12084.tar.gz wiki-c105a9834fd9c5a320d41422c50fa84e5bc12084.tar.bz2 wiki-c105a9834fd9c5a320d41422c50fa84e5bc12084.zip | |
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'orphan_pages.php')
| -rwxr-xr-x | orphan_pages.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/orphan_pages.php b/orphan_pages.php index cee77fe..87b3524 100755 --- a/orphan_pages.php +++ b/orphan_pages.php @@ -41,11 +41,11 @@ if( isset( $_REQUEST["batch_submit"] ) && isset( $_REQUEST["checked"] ) && $_REQ $formHash['input'][] = '<input type="hidden" name="checked[]" value="'.$del.'"/>'.$info; } - $gBitSystem->confirmDialog( $formHash, - array( - 'warning' => KernelTools::tra('Are you sure you want to delete these pages?') . ' (' . KernelTools::tra('Count: ') . count( $_REQUEST["checked"] ) . ')', + $gBitSystem->confirmDialog( $formHash, + [ + 'warning' => KernelTools::tra('Are you sure you want to delete these pages?') . ' (' . KernelTools::tra('Count: ') . count( $_REQUEST["checked"] ) . ')', 'error' => KernelTools::tra('This cannot be undone!'), - ) + ], ); } else { foreach( $_REQUEST["checked"] as $deletepage ) { @@ -80,4 +80,4 @@ $gBitSmarty->assign( 'listpages', $listpages ); $gBitSmarty->assign( 'listInfo', $listHash['listInfo'] ); // Display the template -$gBitSystem->display( 'bitpackage:wiki/orphan_pages.tpl', KernelTools::tra( 'Orphan Pages' ), array( 'display_mode' => 'list' )); +$gBitSystem->display( 'bitpackage:wiki/orphan_pages.tpl', KernelTools::tra( 'Orphan Pages' ), [ 'display_mode' => 'list' ]); |
