diff options
Diffstat (limited to 'templates/themes/radio/info.php')
| -rw-r--r-- | templates/themes/radio/info.php | 57 |
1 files changed, 1 insertions, 56 deletions
diff --git a/templates/themes/radio/info.php b/templates/themes/radio/info.php index 70be5c59..3432616d 100644 --- a/templates/themes/radio/info.php +++ b/templates/themes/radio/info.php @@ -1,58 +1,3 @@ <?php -$theme = array( - 'name' => 'Radio', - 'description' => 'Display a link to the lainchan radio', - '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' => 'radio.html'), - - array('title' => 'HTTP Prefix', - 'name' => 'httpprefix', - 'type' => 'text', - 'default' => ''), - - array('title' => 'Radio Status URL', - 'name' => 'radiostatus', - 'type' => 'text', - 'default' => '/radio_assets/status.xsl'), - - array('title' => 'Radio Prefix', - 'name' => 'radioprefix', - 'type' => 'text', - 'default' => ''), - - array('title' => 'Filelist Prefix', - 'name' => 'filelistprefix', - 'type' => 'text', - 'default' => ''), - - array('title' => 'Channels', - 'name' => 'channels', - 'type' => 'text', - 'default' => 'everything cyberia swing'), - - array('title' => 'Default Channel', - 'name' => 'defaultchannel', - 'type' => 'text', - 'default' => 'everything'), - - array('title' => 'formats', - 'name' => 'formats', - 'type' => 'text', - 'default' => 'mp3 ogg'), - ), - 'build_function' => 'radio_build'); +$theme = ['name' => 'Radio', 'description' => 'Display a link to the lainchan radio', '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' => 'radio.html'], ['title' => 'HTTP Prefix', 'name' => 'httpprefix', 'type' => 'text', 'default' => ''], ['title' => 'Radio Status URL', 'name' => 'radiostatus', 'type' => 'text', 'default' => '/radio_assets/status.xsl'], ['title' => 'Radio Prefix', 'name' => 'radioprefix', 'type' => 'text', 'default' => ''], ['title' => 'Filelist Prefix', 'name' => 'filelistprefix', 'type' => 'text', 'default' => ''], ['title' => 'Channels', 'name' => 'channels', 'type' => 'text', 'default' => 'everything cyberia swing'], ['title' => 'Default Channel', 'name' => 'defaultchannel', 'type' => 'text', 'default' => 'everything'], ['title' => 'formats', 'name' => 'formats', 'type' => 'text', 'default' => 'mp3 ogg']], 'build_function' => 'radio_build']; ?> |
