Logo Search packages:      
Sourcecode: ocsinventory-server version File versions  Download package

opt_download.php

<?php
/*
 * Created on 25 janv. 2008
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 if( $_SESSION["lvluser"] != SADMIN )
      die("FORBIDDEN");
//PrintEnTete( $l->g(710));
debut_tab(array('CELLSPACING'=>'5',
                              'WIDTH'=>'70%',
                              'BORDER'=>'0',
                              'ALIGN'=>'Center',
                              'CELLPADDING'=>'0',
                              'BGCOLOR'=>'#C7D9F5',
                              'BORDERCOLOR'=>'#9894B5'));
                              
if(!isset($optvalue['DOWNLOAD_SWITCH']))
$optvalueselected='SERVER DEFAULT';
elseif($optvalue['DOWNLOAD_SWITCH'] == 0)
$optvalueselected='OFF';
elseif($optvalue['DOWNLOAD_SWITCH'] == 1)
$optvalueselected='ON';
$champ_value['VALUE']=$optvalueselected;
$champ_value['ON']='ON';
$champ_value['OFF']='OFF';
$champ_value['SERVER DEFAULT']=$l->g(488);
if (!isset($_POST['origine'])){     
      $champ_value['IGNORED']=$l->g(718);
      $champ_value['VALUE']='IGNORED';
}
ligne("DOWNLOAD_SWITCH",$l->g(417),'radio',$champ_value);
unset($champ_value);

if(!isset($optvalue['DOWNLOAD_CYCLE_LATENCY']))
$optvalueselected='SERVER DEFAULT';
else
$optvalueselected='CUSTOM';
$champ_value['VALUE']=$optvalueselected;
$champ_value['CUSTOM']=$l->g(487);
$champ_value['SERVER DEFAULT']=$l->g(488);
if (!isset($_POST['origine'])){     
      $champ_value['IGNORED']=$l->g(718);
      $champ_value['VALUE']='IGNORED';
}
ligne("DOWNLOAD_CYCLE_LATENCY",$l->g(720),'radio',$champ_value,array('HIDDEN'=>'CUSTOM','HIDDEN_VALUE'=>$optvalue['DOWNLOAD_CYCLE_LATENCY'],'END'=>$l->g(511),'JAVASCRIPT'=>$numeric));

if(!isset($optvalue['DOWNLOAD_FRAG_LATENCY']))
$optvalueselected='SERVER DEFAULT';
else
$optvalueselected='CUSTOM';
$champ_value['VALUE']=$optvalueselected;
$champ_value['CUSTOM']=$l->g(487);
$champ_value['SERVER DEFAULT']=$l->g(488);
if (!isset($_POST['origine'])){     
      $champ_value['IGNORED']=$l->g(718);
      $champ_value['VALUE']='IGNORED';
}
ligne("DOWNLOAD_FRAG_LATENCY",$l->g(721),'radio',$champ_value,array('HIDDEN'=>'CUSTOM','HIDDEN_VALUE'=>$optvalue['DOWNLOAD_FRAG_LATENCY'],'END'=>$l->g(511),'JAVASCRIPT'=>$numeric));

if(!isset($optvalue['DOWNLOAD_PERIOD_LATENCY']))
$optvalueselected='SERVER DEFAULT';
else
$optvalueselected='CUSTOM';
$champ_value['VALUE']=$optvalueselected;
$champ_value['CUSTOM']=$l->g(487);
$champ_value['SERVER DEFAULT']=$l->g(488);
if (!isset($_POST['origine'])){     
      $champ_value['IGNORED']=$l->g(718);
      $champ_value['VALUE']='IGNORED';
}
ligne("DOWNLOAD_PERIOD_LATENCY",$l->g(722),'radio',$champ_value,array('HIDDEN'=>'CUSTOM','HIDDEN_VALUE'=>$optvalue['DOWNLOAD_PERIOD_LATENCY'],'END'=>$l->g(511),'JAVASCRIPT'=>$numeric));

if(!isset($optvalue['DOWNLOAD_PERIOD_LENGTH']))
$optvalueselected='SERVER DEFAULT';
else
$optvalueselected='CUSTOM';
$champ_value['VALUE']=$optvalueselected;
$champ_value['CUSTOM']=$l->g(487);
$champ_value['SERVER DEFAULT']=$l->g(488);
if (!isset($_POST['origine'])){     
      $champ_value['IGNORED']=$l->g(718);
      $champ_value['VALUE']='IGNORED';
}
ligne("DOWNLOAD_PERIOD_LENGTH",$l->g(723),'radio',$champ_value,array('HIDDEN'=>'CUSTOM','HIDDEN_VALUE'=>$optvalue['DOWNLOAD_PERIOD_LENGTH'],'JAVASCRIPT'=>$numeric));

fin_tab($form_name);
 
?>


Generated by  Doxygen 1.6.0   Back to index