From 2c69095a1edf7474073451285238659d0f62ce3f Mon Sep 17 00:00:00 2001 From: Appleman1234 Date: Sun, 25 Sep 2022 13:30:13 +1000 Subject: PHP8.1 fixes from Rector --- templates/themes/rules/info.php | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'templates/themes/rules/info.php') 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 @@ '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 -- cgit v1.3