'.$this->CreateLink($id, 'clearsession', $returnid, $this->Lang('prompt_clearsession')).'
';
}else{
$modoperations = $gCms->GetModuleOperations();
if( isset($params["modulename"]) && $modoperations->InstallModule($params["modulename"],true) ){
$this->Redirect($id, 'installmod', $returnid, array("isinstalled"=>true));
}elseif(isset($params["modulename"])){
echo ''.$this->CreateLink($id, "togglevcheck", $returnid, $this->Lang('envcheck'), array("newval"=>true)).'
';
}
}
function isreservedword($word){
require 'reservedwords.php';
return in_array(strtoupper($word),$reservedwords);
}
function starts_with_letter($string){
return preg_match("/^([A-Za-z])$/i", substr($string,0,1));
}
function display_errors($errors, $head='serror'){
if(count($errors) > 0){
echo '
'.$this->Lang('prompt_'.$prompt).($help?'
'.$help.'':'').'
'.$input.'
';
$output .= '
';
return $output;
}
function DoCheckboxes($id, $name, $choices, $selected=array(), $delimiter="