summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-04-17 01:28:25 +1000
committerSavetheinternet <savetheinternet@n0v4.com>2011-04-17 01:28:25 +1000
commite47279b3f078b133a1ddb132264c401ed713357e (patch)
tree45ab65aa69f7eb4ce6b673005499ffa8c1e34575 /mod.php
parent21d97bab29cc09c807bfa08c751aa47a55987539 (diff)
theme update
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 14bed8d1..89085d66 100644
--- a/mod.php
+++ b/mod.php
@@ -286,7 +286,7 @@
// Check if everything is submitted
foreach($theme['config'] as &$c) {
if(!isset($_POST[$c['name']]) && $c['type'] != 'checkbox')
- error(spritnf($config['error']['required'], $c['title']));
+ error(sprintf($config['error']['required'], $c['title']));
}
// Clear previous settings
@@ -327,6 +327,8 @@
default:
$body .= '<input type="text" name="' . $c['name'] . '" />';
}
+ if(isset($c['comment']))
+ $body .= ' <span class="unimportant">' . $c['comment'] . '</span>';
$body .= '</td></tr>';
}
$body .= '</table>';