get_block('mbSpecials')) != null) { load_language('plugin.lang', HASHIGH_PATH); $position = (isset($conf['hashigh_position']) and is_numeric($conf['hashigh_position'])) ? $conf['hashigh_position'] : count($block->data)+1; array_splice($block->data, $position-1, 0, array('has_high' => array( 'URL' => make_index_url(array('section' => 'has_high')), 'TITLE' => l10n('has_high_cat_hint'), 'NAME' => l10n('has_high_cat') ) ) ); } } function section_init_has_high() { global $tokens; if (in_array('has_high', $tokens)) include(HASHIGH_PATH . 'has_high.php'); } add_event_handler('blockmanager_apply' , 'add_link_has_high'); add_event_handler('loc_end_section_init', 'section_init_has_high'); ?>