?> " /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title><?php echo $this->get_html_title(); ?> </title> <?php global $robots_index, $robots_follow; $robots_index = false; $robots_follow = false; robots_tag(); global $rsc_path, $rsc_url, $htsrv_url; // var htsrv_url is used for AJAX callbacks add_js_headline("// Paths used by JS functions:\n\t\tvar htsrv_url = '{$htsrv_url}';\n\t\tvar blog_id = '" . param('blog', 'integer') . "';\n\t\tvar is_backoffice = true;"); init_bubbletip_js(); // Add jQuery bubbletip plugin init_results_js(); // Add functions to work with Results tables require_js('form_extensions.js'); // script allowing to check and uncheck all boxes in forms -- TODO: jQueryfy require_js('extracats.js'); require_js('dynamic_select.js'); require_js('#jqueryUI#'); // Need to animate background, e.g. in function evoFadeBg() require_js('backoffice.js'); global $UserSettings; if ($UserSettings->get('control_form_abortions')) { // Activate bozo validator require_js('bozo_validator.js'); }
* This is the HTML header include template. * * For a quick explanation of b2evo 2.0 skins, please start here: * {@link http://b2evolution.net/man/skin-development-primer} * * This is meant to be included in a page template. * Note: This is also included in the popup: do not include site navigation! * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $xmlsrv_url; $params = array_merge(array('auto_pilot' => 'seo_title'), $params); init_bubbletip_js('blog'); // Add jQuery bubbletip plugin init_results_js('blog'); // Add functions to work with Results tables require_js('ajax.js', 'blog'); // Functions to work with AJAX response data ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php locale_lang(); ?> " lang="<?php locale_lang(); ?> "> <head profile="http://gmpg.org/xfn/11">
/** * Registers headlines for initialization of colorpicker inputs */ function init_colorpicker_js($relative_to = 'rsc_url') { // Inititialize bubbletip plugin global $Skin, $AdminUI; if (!empty($AdminUI)) { // Get library of tooltip for current back-office skin $tooltip_plugin = $AdminUI->get_template('tooltip_plugin'); } elseif (!empty($Skin)) { // Get library of tooltip for current front-office skin $tooltip_plugin = $Skin->get_template('tooltip_plugin'); } else { // Use bubbletip library by default for unknown skins $tooltip_plugin = 'bubbletip'; } init_bubbletip_js($relative_to, $tooltip_plugin); // Initialize farbastic colorpicker require_js('#jquery#', $relative_to); require_js('jquery/jquery.farbtastic.min.js', $relative_to); require_css('jquery/farbtastic/farbtastic.css', $relative_to); }
* For a quick explanation of b2evo 2.0 skins, please start here: * {@link http://b2evolution.net/man/skin-development-primer} * * This is meant to be included in a page template. * Note: This is also included in the popup: do not include site navigation! * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $xmlsrv_url, $Session, $Hit, $Skin, $app_version; $params = array_merge(array('auto_pilot' => 'seo_title', 'html_tag' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' . "\n" . '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . locale_lang(false) . '" lang="' . locale_lang(false) . '">' . "\n", 'viewport_tag' => NULL, 'generator_tag' => '<meta name="generator" content="b2evolution ' . $app_version . '" /> <!-- Please leave this for stats -->' . "\n", 'body_class' => NULL), $params); // The following is temporary and should be moved to some SiteSkin class siteskin_init(); init_bubbletip_js('blog', $Skin->get_template('tooltip_plugin')); // Add jQuery bubbletip plugin require_js('ajax.js', 'blog'); // Functions to work with AJAX response data // CSS for IE9. NOTE: Don't use php checking here because of page caching! add_headline('<!--[if IE 9 ]>'); require_css('ie9.css', 'blog'); add_headline('<![endif]-->'); echo $params['html_tag']; ?> <head> <?php // Add viewport tag if provided: if ($params['viewport_tag'] == '#responsive#') { // We requested a responsive viewport: echo '<meta name="viewport" content="width=device-width, initial-scale=1">' . "\n";
echo $io_charset; ?> " /> <title><?php echo $this->get_html_title(); ?> </title> <?php global $robots_index, $robots_follow; $robots_index = false; $robots_follow = false; robots_tag(); global $rsc_path, $rsc_url, $htsrv_url; // var htsrv_url is used for AJAX callbacks add_js_headline("// Paths used by JS functions:\n\t\tvar htsrv_url = '{$htsrv_url}';\n\t\tvar blog_id = '" . param('blog', 'integer') . "';\n\t\tvar is_backoffice = true;"); init_bubbletip_js('rsc_url', $AdminUI->get_template('tooltip_plugin')); // Init popover windows for usernames init_results_js(); // Add functions to work with Results tables require_js('form_extensions.js'); // script allowing to check and uncheck all boxes in forms -- TODO: jQueryfy require_js('extracats.js'); require_js('dynamic_select.js'); require_js('#jqueryUI#'); // Need to animate background, e.g. in function evoFadeBg() require_js('backoffice.js'); global $UserSettings; if ($UserSettings->get('control_form_abortions')) { // Activate bozo validator require_js('bozo_validator.js'); }