summaryrefslogtreecommitdiff
path: root/orphan_pages.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:55:19 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:55:19 +0100
commitc105a9834fd9c5a320d41422c50fa84e5bc12084 (patch)
tree48d0d400d6e0a4fd87485e89accfdeaf8db5c24b /orphan_pages.php
parent1778d95793e4bc5d494ece84ec177b5629c830f3 (diff)
downloadwiki-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-xorphan_pages.php10
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' ]);