summaryrefslogtreecommitdiff
path: root/templates/themes/basic
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-05-06 01:33:10 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-05-06 01:33:10 +1000
commita6104587203f1b1b448e6977066d6e649de91ae8 (patch)
tree58f3f17daaeb47de3ecc87f9967b432612147e68 /templates/themes/basic
parentac2837c6204221554ceebc56c5fb9e38be4e0925 (diff)
a lot more improvements
Diffstat (limited to 'templates/themes/basic')
-rw-r--r--templates/themes/basic/info.php4
-rw-r--r--templates/themes/basic/theme.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/themes/basic/info.php b/templates/themes/basic/info.php
index b782a6d4..0b8ba98b 100644
--- a/templates/themes/basic/info.php
+++ b/templates/themes/basic/info.php
@@ -44,9 +44,9 @@
$theme['build_function'] = 'basic_build';
$theme['install_callback'] = 'build_install';
- if(!function_exists('build_install')) {
+ if (!function_exists('build_install')) {
function build_install($settings) {
- if(!is_numeric($settings['no_recent']) || $settings['no_recent'] < 0)
+ if (!is_numeric($settings['no_recent']) || $settings['no_recent'] < 0)
return Array(false, '<strong>' . utf8tohtml($settings['no_recent']) . '</strong> is not a non-negative integer.');
}
}
diff --git a/templates/themes/basic/theme.php b/templates/themes/basic/theme.php
index a07dc7ec..806a331a 100644
--- a/templates/themes/basic/theme.php
+++ b/templates/themes/basic/theme.php
@@ -15,7 +15,7 @@
public static function build($action, $settings) {
global $config;
- if($action == 'all' || $action == 'news')
+ if ($action == 'all' || $action == 'news')
file_write($config['dir']['home'] . $settings['file'], Basic::homepage($settings));
}