topic_posts + $add); if($last_page == $page) $it = TRUE; } if($it == TRUE || bb_is_topic_edit()) { bb_enqueue_script('jquery'); add_action('bb_head', 'za_ed_header_js', 100); } } } add_action('bb_topic.php', 'za_ed_header_js_pre'); add_action('bb_edit-post.php', 'za_ed_header_js_pre'); function za_ed_header_js() { global $za_ed_settings; if($za_ed_settings['custom_style']) echo "'; ?>

/* Translators: see http://www.w3.org/TR/CSS2/selector.html for the meaning of `CSS selector'. Usually this is not translated */ __('CSS selector', ZA_EDITOR_ID), 'value' => $za_ed_settings['selector'], 'note' => /* Translators: %s is replaced by the program name. See http://www.w3.org/TR/CSS2/selector.html for the meaning of `selector' */ sprintf(__('%s inject the toolbar before elements that match a CSS selector. You can modify the default selector but do change this value only if you know what you are doing.', ZA_EDITOR_ID), ZA_EDITOR_NAME) )); ?>

Settings saved.', ZA_EDITOR_ID)); else if(!empty($_GET['za-editor-invalid-selector'])) { /* Translators: see http://www.w3.org/TR/CSS2/selector.html for the meaning of `selector'. Usually this is not translated */ bb_admin_notice(('The selector you have specified is invalid'), 'error'); } else if(!empty($_GET['za-editor-void-selector'])) { /* Translators: see http://www.w3.org/TR/CSS2/selector.html for the meaning of `selector'. Usually this is not translated */ bb_admin_notice(('The selector you have specified is void'), 'error'); } global $bb_admin_body_class; $bb_admin_body_class = ' bb-admin-settings'; } add_action('za_ed_configuration_page_pre_head', 'za_ed_configuration_page_process'); ?>