diff --git a/include/functions.inc.php b/include/functions.inc.php
index 97e9339e..322281a1 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -258,6 +258,10 @@ function serendipity_fetchTemplateInfo($theme, $abspath = null) {
$data[$k] = implode("\n", $v);
}
+ if (@is_file($serendipity['templatePath'] . $theme . '/config.inc.php')) {
+ $data['custom_config'] = YES;
+ }
+
if ( $theme != 'default' && $theme != 'default-rtl'
&& @is_dir($serendipity['templatePath'] . $theme . '/admin')
&& strtolower($data['backend']) == 'yes' ) {
diff --git a/templates/2k11/admin/templates.inc.tpl b/templates/2k11/admin/templates.inc.tpl
index 1eccabc2..7706ee3a 100644
--- a/templates/2k11/admin/templates.inc.tpl
+++ b/templates/2k11/admin/templates.inc.tpl
@@ -35,7 +35,7 @@
{if $cur_tpl.fullsize_preview || $cur_tpl.preview}
{if $cur_tpl.fullsize_preview}
-
+
{else}
@@ -47,6 +47,8 @@