public static function footerInfo($params = array()) { // checks to see if the theme is calling footerInfo. global $validateTheme, $user; $validateTheme['footerinfo'] = true; if (!empty($user->getsToolbar) && PRINTER_FRIENDLY != 1 && !defined('SOURCE_SELECTOR') && empty($params['hide-slingbar'])) { self::module(array("controller" => "administration", "action" => "toolbar", "source" => "admin")); } if ((self::is_mobile() || FORCE_MOBILE) && is_readable(BASE . 'themes/' . DISPLAY_THEME . '/mobile/index.php')) { echo '<div style="text-align:center"><a href="' . makeLink(array('module' => 'administration', 'action' => 'toggle_mobile')) . '">View site in ' . (MOBILE ? "Classic" : "Mobile") . ' mode</a></div>'; } //echo expJavascript::parseJSFiles(); echo self::processCSSandJS(); echo expJavascript::footJavascriptOutput(); expSession::deleteVar("last_POST"); //ADK - putting this here so one form doesn't unset it before another form needs it. expSession::deleteVar('last_post_errors'); }