diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index 294ee4a5..98db676a 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -23003,20 +23003,30 @@ if ($ADD==3111) $Xmenus_to_print = mysql_num_rows($rslt); $o=0; $Xmenuslist=''; + $Wmenuslist=''; while ($Xmenus_to_print > $o) { $rowx=mysql_fetch_row($rslt); $Xmenuslist .= "\n"; + $Wmenuslist .= "value=\"$rowx[0]\">$rowx[0] - $rowx[1]\n"; $o++; } if ($Xmenus_selected < 1) {$Xmenuslist .= "\n";} + if ($Wmenus_selected < 1) + {$Wmenuslist .= "\n";} ##### get in-groups listings for dynamic pulldown @@ -23031,6 +23041,8 @@ if ($ADD==3111) $Agroups_selected=0; $Hgroups_menu=''; $Hgroups_selected=0; + $Wgroups_menu=''; + $Wgroups_selected=0; $Tgroups_menu=''; $Tgroups_selected=0; $o=0; @@ -23041,6 +23053,7 @@ if ($ADD==3111) $Dgroups_menu .= "\n"; $Tgroups_menu .= "value=\"$rowx[0]\">$rowx[0] - $rowx[1]\n"; + $Wgroups_menu .= "value=\"$rowx[0]\">$rowx[0] - $rowx[1]\n"; $Hgroups_menu .= "value=\"$rowx[0]\">$rowx[0] - $rowx[1]\n"; } $o++; @@ -23093,6 +23112,10 @@ if ($ADD==3111) {$Tgroups_menu .= "\n";} else {$Tgroups_menu .= "\n";} + if ($Wgroups_selected < 1) + {$Wgroups_menu .= "\n";} + else + {$Wgroups_menu .= "\n";} if ($Hgroups_selected < 1) {$Hgroups_menu .= "\n";} else @@ -23311,13 +23334,13 @@ if ($ADD==3111) echo "