/** * show_footer * * Shows the footer template and possibly profiling info. */ public static function show_footer() { require_once AmpConfig::get('prefix') . '/templates/footer.inc.php'; if (isset($_REQUEST['profiling'])) { Dba::show_profile(); } }
/** * show_footer * * Shows the footer template and possibly profiling info. */ public static function show_footer() { if (!defined("TABLE_RENDERED")) { show_table_render(); } $plugins = Plugin::get_plugins('display_on_footer'); foreach ($plugins as $plugin_name) { $plugin = new Plugin($plugin_name); if ($plugin->load($GLOBALS['user'])) { $plugin->_plugin->display_on_footer(); } } require_once AmpConfig::get('prefix') . UI::find_template('footer.inc.php'); if (isset($_REQUEST['profiling'])) { Dba::show_profile(); } }