Beispiel #1
0
 public static function initializeJS($blnAddScripts = false)
 {
     $ret = '';
     if ($blnAddScripts) {
         $ret .= "<SCRIPT TYPE='text/javascript'>";
     }
     $ret .= "\n\tvar once = 0; \n";
     if ($blnAddScripts) {
         $ret .= "</SCRIPT>";
     }
     clsDB::$jsInitialized = true;
     return $ret;
 }