Remove the empty entry in the domain select list.

This commit is contained in:
Mark Crane 2012-09-27 02:26:16 +00:00
parent 23a2f84577
commit aaa9eaef3b
4 changed files with 0 additions and 4 deletions

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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";