You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
606 B
27 lines
606 B
<?php
|
|
require 'info.php';
|
|
|
|
function irc_build($action, $settings, $board) {
|
|
irc::build($action, $settings);
|
|
}
|
|
|
|
class irc {
|
|
public static function build($action, $settings) {
|
|
global $config;
|
|
|
|
if ($action == 'all') {
|
|
file_write($config['dir']['home'] . $settings['file'], irc::install($settings));
|
|
}
|
|
}
|
|
|
|
public static function install($settings) {
|
|
global $config;
|
|
|
|
return Element('themes/irc/irc.html',
|
|
array('settings' => $settings,
|
|
'config' => $config,
|
|
'boardlist' => createBoardlist()));
|
|
}
|
|
}
|
|
|
|
?>
|
|
|