80 |
$drop['client_version_utils'] = 'show'; |
$drop['client_version_utils'] = 'show'; |
81 |
$drop['hwdetected'] = 'ignore'; |
$drop['hwdetected'] = 'ignore'; |
82 |
|
|
83 |
// ACHTUNG!!! wlan_-Felder heißen eigentlich wireless_ |
// ACHTUNG!!! wlan_-Felder heißen eigentlich wireless_ |
84 |
$drop['wireless_mode'] = array('', 'managed', 'ad-hoc', 'master', 'repeater', 'secondary', 'monitor', 'auto'); |
$drop['wireless_mode'] = array('', 'managed', 'ad-hoc', 'master', 'repeater', 'secondary', 'monitor', 'auto'); |
85 |
$drop['wireless_auth_mode'] = array('', 'wep', 'wpa', 'wpa2', 'off'); |
$drop['wireless_auth_mode'] = array('', 'wep', 'wpa', 'wpa2', 'off'); |
86 |
$drop['wireless_key_length'] = array('', '64', '128', '256'); |
$drop['wireless_key_length'] = array('', '64', '128', '256'); |
90 |
$drop['wireless_key'] = 'password'; |
$drop['wireless_key'] = 'password'; |
91 |
$drop['wireless_key_ascii'] = 'password'; |
$drop['wireless_key_ascii'] = 'password'; |
92 |
|
|
93 |
// get current citrix sessions |
// get current citrix apps |
94 |
// split all citrix server into an array to get the first server from list |
$citrix_apps = sqlarr('SELECT session FROM values_citrix_session where enabled=1', '', 'session'); |
95 |
//$citrix_query_browser = split(";", $citrix_browseradrs); |
// add an empty value add the first position of the array as session-default |
96 |
//exec($wwwroot.'/pnabrowse-wrapper -A '.$citrix_query_browser[0], $returned_citrix_sessions, $retval); |
array_unshift($citrix_apps, ""); |
97 |
//if ($retval == 0) |
// hackish, fix me |
98 |
//{ |
for ($i=0; $i<999; $i++) { $drop['cfg_sessions_citrix_'.$i.'_session'] = $citrix_apps; } |
|
// $citrix_public_applications = str_replace("'", "", $returned_citrix_sessions); |
|
|
// // add an empty value add the first position of the array as session-default |
|
|
// array_unshift($citrix_public_applications, ""); |
|
|
// for ($i=0; $i<999; $i++) { $drop['cfg_sessions_'.$i.'_session'] = $citrix_public_applications; } |
|
|
//} |
|
99 |
|
|
100 |
$drop['cfg_sessions_citrix_session'] = sqlarr('SELECT session FROM values_citrix_session where enabled=1', '', 'session'); |
// get current storefront apps |
101 |
$drop['cfg_sessions_storefront_session'] = sqlarr('SELECT session FROM values_storefront_session where enabled=1', '', 'session'); |
$storefront_apps = sqlarr('SELECT session FROM values_storefront_session where enabled=1', '', 'session'); |
102 |
|
// add an empty value add the first position of the array as session-default |
103 |
|
array_unshift($storefront_apps, ""); |
104 |
|
// hackish, fix me |
105 |
|
for ($i=0; $i<999; $i++) { $drop['cfg_sessions_storefront_'.$i.'_session'] = $storefront_apps; } |
106 |
|
|
107 |
|
// GGF. NEUEN DATENSATZ EINFÃœGEN |
|
// GGF. NEUEN DATENSATZ EINFÜGEN |
|
108 |
if(isset($_POST['do_add'])) |
if(isset($_POST['do_add'])) |
109 |
{ |
{ |
110 |
list($bla,$what) = explode(' ',$_POST['do_add']); |
list($bla,$what) = explode(' ',$_POST['do_add']); |