From eabed0199b031f16848234ab5874f7fcea96ecfe Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Tue, 11 Oct 2011 02:37:07 +1100 Subject: [PATCH] Fetch current theme settings for "reconfigure" --- mod.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mod.php b/mod.php index e3f7cc9b..b0b4ac40 100644 --- a/mod.php +++ b/mod.php @@ -422,6 +422,8 @@ if(!isset($theme['config']) || empty($theme['config'])) { $body .= '

(No configuration required.)

'; } else { + $settings = themeSettings($_theme); + $body .= ''; foreach($theme['config'] as &$c) { $body .= '
' . $c['title'] . ''; @@ -429,7 +431,13 @@ case 'text': default: $body .= ''; }