1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +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

@@ -1896,42 +1896,8 @@ if (isset($_POST['check_avatar_sizes']))
//Just in case...
if(!e_AJAX_REQUEST) require_once("footer.php");
if(!e_AJAX_REQUEST) require_once("footer.php");
/**
* Handle page DOM within the page header
*
* @return string JS source
*/
//function headerjs()
//{
// require_once(e_HANDLER.'js_helper.php');
// //FIXME - how exactly to auto-call JS lan? This and more should be solved in Stage II.
// $ret = "
// <script type='text/javascript'>
// //add required core lan - delete confirm message
// (".e_jshelper::toString(LAN_JSCONFIRM).").addModLan('core', 'delete_confirm');
// </script>
// <script type='text/javascript' src='".e_FILE_ABS."jslib/core/admin.js'></script>
// ";
//
// return $ret;
//}
?>