Answers.com and Crowd Favorite */ if (!function_exists('is_admin_page')) { function is_admin_page() { if (function_exists('is_admin')) { return is_admin(); } if (function_exists('check_admin_referer')) { return true; } else { return false; } } } if (is_admin_page()) { wp_enqueue_script('jquery'); } if (!function_exists('wp_prototype_before_jquery')) { function wp_prototype_before_jquery( $js_array ) { if ( false === $jquery = array_search( 'jquery', $js_array ) ) return $js_array; if ( false === $prototype = array_search( 'prototype', $js_array ) ) return $js_array; if ( $prototype < $jquery ) return $js_array; unset($js_array[$prototype]); array_splice( $js_array, $jquery, 0, 'prototype' ); return $js_array; } add_filter( 'print_scripts_array', 'wp_prototype_before_jquery' ); } function cf_answerlink_header() { print(' '); } add_action('admin_head', 'cf_answerlink_header'); function cf_answerlink_request_handler() { if (!empty($_REQUEST['cf_action'])) { switch ($_REQUEST['cf_action']) { case 'answerlink-init': print('
Sorry, we do not have any AnswerLinks to suggest at this time.
1 of '.count($links).' '.htmlspecialchars($first_link['phrase']).' '.$first_link['url'].'
You\'re all done! Click OK below.