forked from leftypol/leftypol
theme update
This commit is contained in:
parent
da6d9c4d2e
commit
702f37ccc5
2 changed files with 18 additions and 15 deletions
|
@ -25,6 +25,7 @@
|
|||
// Unique function name for building everything
|
||||
$theme['build_function'] = 'basic_build';
|
||||
|
||||
if(!function_exists('basic_build')) {
|
||||
function basic_build($action, $settings) {
|
||||
// Possible values for $action:
|
||||
// - all (rebuild everything, initialization)
|
||||
|
@ -33,7 +34,7 @@
|
|||
|
||||
Basic::build($action, $settings);
|
||||
}
|
||||
|
||||
}
|
||||
// Wrap functions in a class so they don't interfere with normal Tinyboard operations
|
||||
class Basic {
|
||||
public static function build($action, $settings) {
|
||||
|
|
|
@ -28,6 +28,7 @@ Users never have to leave the homepage; they can do all their browsing from the
|
|||
// Unique function name for building everything
|
||||
$theme['build_function'] = 'frameset_build';
|
||||
|
||||
if(!function_exists('frameset_build')) {
|
||||
function frameset_build($action, $settings) {
|
||||
// Possible values for $action:
|
||||
// - all (rebuild everything, initialization)
|
||||
|
@ -36,6 +37,7 @@ Users never have to leave the homepage; they can do all their browsing from the
|
|||
|
||||
Frameset::build($action, $settings);
|
||||
}
|
||||
}
|
||||
|
||||
// Wrap functions in a class so they don't interfere with normal Tinyboard operations
|
||||
class Frameset {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue