1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 08:14:46 +02:00

Some js cleanup

This commit is contained in:
CaMer0n
2012-06-09 04:44:11 +00:00
parent 89c8da6881
commit ba5e801326
14 changed files with 49 additions and 238 deletions

View File

@@ -1450,30 +1450,4 @@ function verify_sql_record() // deprecated by db_verify.php ( i think).
}
/**
* Handle page DOM within the page header
*
* @return string JS source
*/
function headerjs()
{
require_once (e_HANDLER.'js_helper.php');
$ret = "
<script type='text/javascript'>
if(typeof e107Admin == 'undefined') var e107Admin = {}
/**
* OnLoad Init Control
*/
e107Admin.initRules = {
'Helper': true,
'AdminMenu': false
}
</script>
<script type='text/javascript' src='".e_FILE_ABS."jslib/core/admin.js'></script>
";
return $ret;
}
?>