--- alx-src/branches/alx-web-070/show.php 2015/09/15 08:18:35 7134 +++ alx-src/branches/alx-web-070/show.php 2015/11/03 11:07:38 7744 @@ -66,7 +66,7 @@ $drop['mtime'] = 'showtime'; $drop['mac'] = 'show'; $drop['client_serials_serial'] = 'show'; -//$drop['password'] = 'password'; +$drop['password'] = 'password'; //$drop['shell'] = 'password'; $drop['client_auth_user'] = 'password'; $drop['root'] = 'password'; @@ -80,7 +80,7 @@ $drop['client_version_utils'] = 'show'; $drop['hwdetected'] = 'ignore'; -// ACHTUNG!!! wlan_-Felder heißen eigentlich wireless_ +// ACHTUNG!!! wlan_-Felder heißen eigentlich wireless_ $drop['wireless_mode'] = array('', 'managed', 'ad-hoc', 'master', 'repeater', 'secondary', 'monitor', 'auto'); $drop['wireless_auth_mode'] = array('', 'wep', 'wpa', 'wpa2', 'off'); $drop['wireless_key_length'] = array('', '64', '128', '256'); @@ -104,14 +104,18 @@ // hackish, fix me for ($i=0; $i<999; $i++) { $drop['cfg_sessions_storefront_'.$i.'_session'] = $storefront_apps; } -// GGF. NEUEN DATENSATZ EINFÜGEN +$drop['enabled'] = 'ignore'; +$drop['filename'] = 'ignore'; +$drop['autostart'] = array('0','1'); + +// GGF. NEUEN DATENSATZ EINFÃœGEN if(isset($_POST['do_add'])) { list($bla,$what) = explode(' ',$_POST['do_add']); if($what=='COMMENT') sqladd('cfg_comments', array('serial'=>$id)); else if($what=='PRINTER') sqladd('cfg_printers', array('serial'=>$id)); else if($what=='MODULE') sqladd('cfg_modules', array('serial'=>$id)); - else if($what=='SESSION-CITRIX') sqladd('cfg_sessions_citrix', array('domain'=>$citrix_domain_name, 'browseradrs'=>$citrix_browseradrs, 'serial'=>$id)); + else if($what=='SESSION-CITRIX') sqladd('cfg_sessions_citrix', array('domain'=>$citrix_domain_name, 'serverlist'=>$citrix_serverlist, 'serial'=>$id)); else if($what=='SESSION-STOREFRONT') sqladd('cfg_sessions_storefront', array('domain'=>$storefront_domain_name, 'store'=>$storefront_store, 'serial'=>$id)); else if($what=='MENUITEM') sqladd('cfg_other_menuitems', array('serial'=>$id)); else if($what=='AUTOSTART') sqladd('cfg_autostart', array('serial'=>$id)); @@ -128,8 +132,10 @@ $arr = array(); foreach($_POST as $k=>$v) + { if((substr($k,0,$prelen)==$prefix) && ($v!='KEEPPASS')) $arr[substr($k,$prelen)] = stripslashes($v); + } return $arr; } @@ -169,14 +175,14 @@ { global $absnames; $absnames[] = $heading; - + //
- + if( $_SESSION['openclose'][$heading] ) { echo ' ['.$heading.']'; if($helpfile!='') echo ' [?]'; - echo '
'; + echo '
'; } else { @@ -189,12 +195,10 @@ function closeabs() { //
- echo '

'; } - -// ANZEIGEN +// ANZEIGEN function parsearr($name, $arr, $del=false, $wireless=false) { @@ -209,7 +213,7 @@ foreach($arr as $k=>$v) { if( (substr($k,0,9)=='wireless_') xor $wireless ) Continue; - + $d = $drop[$name.'_'.$k]; if($d==null) $d = $drop[$k]; $k = str_replace('wireless_', '', $k); $k2 = $k; @@ -270,7 +274,7 @@ /* ignore this atm, not always working, sometime open does not work function openclose(nummer, act) - { + { var bild = document.images['sch_bild_'+nummer]; var absatz = document.all['sch_absatz_'+nummer].style; var senden = false; @@ -282,11 +286,11 @@ } */ function openclose(nummer, act) - { + { var bild = document.images['sch_bild_'+nummer]; var absatz = document.all['sch_absatz_'+nummer].style; var senden = false; - + if(bild.title == 'OPEN') { if(act<=1) @@ -311,7 +315,6 @@ act = 2; } } - if(senden) sendopenclose(nummer,act); } @@ -414,33 +417,33 @@ if($state=='On') { echo '
'; - echo '
'; + echo '
'; echo '
'; echo '
'; - echo 'Hardware Detection:
'; - echo ''; - echo ''; - echo ''; - echo '
'; - echo ''; - echo ''; - echo ''; - echo '

'; - echo '
'; +// echo 'Hardware Detection:
'; +// echo ''; +// echo ''; +// echo ''; +// echo '
'; +// echo ''; +// echo ''; +// echo ''; +// echo '

'; +// echo '
'; echo 'Remote Shadow:
'; echo ''; echo ''; - echo '

'; - echo '
'; - echo 'Client Update:
'; - echo '
'; - echo '
'; - echo '
'; +// echo '

'; +// echo '
'; +// echo 'Client Update:
'; +// echo '
'; +// echo '
'; +// echo '
'; } else echo '
'; - echo '
[ChangeLog] [FAQs]
'; +// echo '
[ChangeLog] [FAQs]
'; echo ''; echo '';