public static function _header($title, $img, $message, $task, $action) { $mainframe = JFactory::getApplication(); $GLOBALS[JNEWS . 'titlteHeader'] = $title; $GLOBALS[JNEWS . 'titlteImg'] = $img; $message = jnews::messageMgmt($action, $task, $message); backHTML::_header15($title, $img, $message, $task, $action); if ($GLOBALS[JNEWS . 'show_guide'] == 1) { if ($mainframe->isAdmin()) { echo '<div id="jNewsWizard"></div>'; } } }
function _header($title, $img, $message, $task, $action) { $GLOBALS[ACA . 'titlteHeader'] = $title; $GLOBALS[ACA . 'titlteImg'] = $img; $message = acajoom::messageMgmt($action, $task, $message); if (ACA_CMSTYPE) { backHTML::_header15($title, $img, $message, $task, $action); } else { backHTML::_header10($title, $img, $message, $task, $action); } //endif if ($GLOBALS[ACA . 'show_guide'] == 1 and $task != 'edit' and $task != 'doNew' and $task != 'new' && $task != 'add') { require_once WPATH_ADMIN . 'guide.acajoom.php'; echo createGuide(); } }