summaryrefslogtreecommitdiff
path: root/templates/themes/irc/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/irc/info.php
parente9a61e2fbbd930eaa80d6a5f33420cedc59d748c (diff)
PHP8.1 fixes from Rector
Diffstat (limited to 'templates/themes/irc/info.php')
-rw-r--r--templates/themes/irc/info.php37
1 files changed, 1 insertions, 36 deletions
diff --git a/templates/themes/irc/info.php b/templates/themes/irc/info.php
index 8ca3be0a..2c46f3c0 100644
--- a/templates/themes/irc/info.php
+++ b/templates/themes/irc/info.php
@@ -1,38 +1,3 @@
<?php
-$theme = array(
- 'name' => 'IRC',
- 'description' => 'Display a link to the lainchan irc',
- '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' => 'irc.html'),
-
- array('title' => 'Channel',
- 'name' => 'channel',
- 'type' => 'text',
- 'default' => 'general'),
-
- array('title' => 'Server',
- 'name' => 'server',
- 'type' => 'text',
- 'default' => 'irc.lainchan.org'),
-
- array('title' => 'Port',
- 'name' => 'port',
- 'type' => 'text',
- 'default' => '6697')),
-
- 'build_function' => 'irc_build');
+$theme = ['name' => 'IRC', 'description' => 'Display a link to the lainchan irc', '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' => 'irc.html'], ['title' => 'Channel', 'name' => 'channel', 'type' => 'text', 'default' => 'general'], ['title' => 'Server', 'name' => 'server', 'type' => 'text', 'default' => 'irc.lainchan.org'], ['title' => 'Port', 'name' => 'port', 'type' => 'text', 'default' => '6697']], 'build_function' => 'irc_build'];
?>