diff --git a/phpBB/adm/admin_styles.php b/phpBB/adm/admin_styles.php index 25179daf49..4c4d00c38b 100644 --- a/phpBB/adm/admin_styles.php +++ b/phpBB/adm/admin_styles.php @@ -273,7 +273,7 @@ switch ($mode) unset($matches); unset($test_ary); - if ($tplname && !$tpldata) + if ($tplname) { if (!($fp = fopen("{$phpbb_root_path}styles/$template_path/template/$tplname", 'r'))) { @@ -298,7 +298,7 @@ switch ($mode) $tpllist['custom'][] = $row['template_filename']; } - if ($row['template_filename'] == $tplname && !$tpldata) + if ($row['template_filename'] == $tplname) { $tpldata = $row['template_data']; } @@ -339,6 +339,8 @@ switch ($mode)
lang['EDIT_TEMPLATE_EXPLAIN']; ?>
+lang['SELECTED_TEMPLATE'] . ": $template_name"; ?>
+