Remove the empty entry in the domain select list.
This commit is contained in:
parent
23a2f84577
commit
aaa9eaef3b
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue