Преглед изворни кода

Remove the empty entry in the domain select list.

Mark Crane пре 13 година
родитељ
комит
3931bee374

+ 0 - 1
themes/accessible/template.php

@@ -429,7 +429,6 @@ function confirmdelete(url) {
 						$tmp_style .= "onmouseover=\"this.style.opacity=1;\" ";
 						$tmp_style .= "onmouseout=\"this.style.opacity=0.7;\" ";
 						echo "		<select id='domain_uuid' name='domain_uuid' class='formfld' onchange=\"window.location='".PROJECT_PATH."/core/domains/domains.php?domain_uuid='+this.value+'&domain_change=true';\" $tmp_style>\n";
-						echo "		<option value=''></option>\n";
 						foreach($_SESSION['domains'] as $row) {
 							if ($row['domain_uuid'] == $_SESSION['domain_uuid']) {
 								echo "	<option value='".$row['domain_uuid']."' selected='selected'>".$row['domain_name']."</option>\n";

+ 0 - 1
themes/classic/template.php

@@ -526,7 +526,6 @@ function confirmdelete(url) {
 						$tmp_style .= "onmouseover=\"this.style.opacity=1;\" ";
 						$tmp_style .= "onmouseout=\"this.style.opacity=0.7;\" ";
 						echo "		<select id='domain_uuid' name='domain_uuid' class='formfld' onchange=\"window.location='".PROJECT_PATH."/core/domains/domains.php?domain_uuid='+this.value+'&domain_change=true';\" $tmp_style>\n";
-						echo "		<option value=''></option>\n";
 						foreach($_SESSION['domains'] as $row) {
 							if ($row['domain_uuid'] == $_SESSION['domain_uuid']) {
 								echo "	<option value='".$row['domain_uuid']."' selected='selected'>".$row['domain_name']."</option>\n";

+ 0 - 1
themes/default/template.php

@@ -662,7 +662,6 @@ function confirmdelete(url) {
 					$tmp_style .= "onmouseover=\"this.style.opacity=1;\" ";
 					$tmp_style .= "onmouseout=\"this.style.opacity=0.7;\" ";
 					echo "		<select id='domain_uuid' name='domain_uuid' class='formfld' onchange=\"window.location='".PROJECT_PATH."/core/domains/domains.php?domain_uuid='+this.value+'&domain_change=true';\" $tmp_style>\n";
-					echo "		<option value=''></option>\n";
 					foreach($_SESSION['domains'] as $row) {
 						if ($row['domain_uuid'] == $_SESSION['domain_uuid']) {
 							echo "	<option value='".$row['domain_uuid']."' selected='selected'>".$row['domain_name']."</option>\n";

+ 0 - 1
themes/enhanced/template.php

@@ -663,7 +663,6 @@ function confirmdelete(url) {
 								$tmp_style .= "onmouseover=\"this.style.opacity=1;\" ";
 								$tmp_style .= "onmouseout=\"this.style.opacity=0.7;\" ";
 								echo "		<select id='domain_uuid' name='domain_uuid' class='formfld' onchange=\"window.location='".PROJECT_PATH."/core/domains/domains.php?domain_uuid='+this.value+'&domain_change=true';\" $tmp_style>\n";
-								echo "		<option value=''></option>\n";
 								foreach($_SESSION['domains'] as $row) {
 									if ($row['domain_uuid'] == $_SESSION['domain_uuid']) {
 										echo "	<option value='".$row['domain_uuid']."' selected='selected'>".$row['domain_name']."</option>\n";