浏览代码

3th level menu bug on empty misc page
Signed-off-by: Antes <malinbay@gmail.com>

Antes 12 年之前
父节点
当前提交
8d24af1d9f
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 1 1
      Themes/default/Admin.template.php
  2. 3 0
      Themes/default/css/admin.css

+ 1 - 1
Themes/default/Admin.template.php

@@ -726,7 +726,7 @@ function template_show_settings()
 
 	echo '
 	<div id="admincenter">
-		<form id="admin_form_wrapper" action="', $context['post_url'], '" method="post" accept-charset="', $context['character_set'], '"', !empty($context['force_form_onsubmit']) ? ' onsubmit="' . $context['force_form_onsubmit'] . '"' : '', '>';
+		<form class="admincenter" id="admin_form_wrapper" action="', $context['post_url'], '" method="post" accept-charset="', $context['character_set'], '"', !empty($context['force_form_onsubmit']) ? ' onsubmit="' . $context['force_form_onsubmit'] . '"' : '', '>';
 
 	// Is there a custom title?
 	if (isset($context['settings_title']))

+ 3 - 0
Themes/default/css/admin.css

@@ -72,6 +72,9 @@ body.action_admin .navigate_section ul li a {
 }
 
 /* Special styling for admin descriptions. */
+.admincenter {
+	min-height: 155px;
+}
 .action_admin p.description, .action_admin  .information {
 	overflow: auto;
 	background: none;