summaryrefslogtreecommitdiff
path: root/templates/themes/rules/info.php
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:30:13 +1000
committerAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:30:13 +1000
commit2c69095a1edf7474073451285238659d0f62ce3f (patch)
tree5dee476605402c66dc2853d0836b29f6aedae62b /templates/themes/rules/info.php
parente9a61e2fbbd930eaa80d6a5f33420cedc59d748c (diff)
PHP8.1 fixes from Rector
Diffstat (limited to 'templates/themes/rules/info.php')
-rwxr-xr-xtemplates/themes/rules/info.php22
1 files changed, 1 insertions, 21 deletions
diff --git a/templates/themes/rules/info.php b/templates/themes/rules/info.php
index 7faaedc6..31f42d79 100755
--- a/templates/themes/rules/info.php
+++ b/templates/themes/rules/info.php
@@ -1,23 +1,3 @@
<?php
-$theme = array(
- 'name' => 'Rules',
- 'description' => 'Display the lainchan rules',
- 'version' => 'v1',
-
- 'config' => array(
- array('title' => 'Page title',
- 'name' => 'title',
- 'type' => 'text'),
-
- array('title' => 'Slogan',
- 'name' => 'subtitle',
- 'type' => 'text',
- 'comment' => '(optional)'),
-
- array('title' => 'File',
- 'name' => 'file',
- 'type' => 'text',
- 'default' => 'rules.html')),
-
- 'build_function' => 'rules_build');
+$theme = ['name' => 'Rules', 'description' => 'Display the lainchan rules', 'version' => 'v1', 'config' => [['title' => 'Page title', 'name' => 'title', 'type' => 'text'], ['title' => 'Slogan', 'name' => 'subtitle', 'type' => 'text', 'comment' => '(optional)'], ['title' => 'File', 'name' => 'file', 'type' => 'text', 'default' => 'rules.html']], 'build_function' => 'rules_build'];
?> \ No newline at end of file