浏览代码

Default Login: Adjust height of background box to accommodate domain input/select box (if present).

Nate Jones 11 年之前
父节点
当前提交
3c47f23601
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themes/enhanced/template.php

+ 1 - 1
themes/enhanced/template.php

@@ -109,7 +109,7 @@ DIV#default_login {
 #default_login_container {
 	display: block;
 	width: 300px;
-	height: 267px;
+	height: <?php echo ($_SESSION['login']['domain_name.visible']['boolean']) ? '300px' : '267px'; ?>;
 	<?php
 	if (
 		isset($_SESSION['theme']['background_image']['text']) ||