forked from leftypol/leftypol
Update templates for new stylesheets
This commit is contained in:
parent
addf730393
commit
2049f4d8f8
13 changed files with 148 additions and 9 deletions
27
templates/themes/irc/theme.php
Normal file
27
templates/themes/irc/theme.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?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()));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue