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.
28 lines
606 B
28 lines
606 B
9 years ago
|
<?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()));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|