• ') : $options['html_title_before']; $a = empty($options['html_title_after']) ? __('') : $options['html_title_after']; $title = empty($options['title']) ? __('Blogroll') : $options['title']; if (is_home()) { echo $before_widget; echo $before_title . $title . $after_title; echo ''; echo $after_widget; echo '
  • '; } } /*********************************************************************************/ /* pt-bookmarks widget control /*********************************************************************************/ function web_bookmarks_control() { $options = $newoptions = get_option('web_bookmarks'); if ( $_POST['bookmarks-submit'] ) { $newoptions['title'] = strip_tags(stripslashes($_POST['bookmarks-title'])); $newoptions['html_title_before'] = stripslashes($_POST['bookmarks-before']); $newoptions['html_title_after'] = stripslashes($_POST['bookmarks-after']); } if ( $options != $newoptions ) { $options = $newoptions; update_option('web_bookmarks', $options); } $title = wp_specialchars($options['title']); $html_title_before = wp_specialchars($options['html_title_before']); $html_title_after = $options['html_title_after']; ?>

  • '.pt_replacevideo($mediaid, $content).'

    '; echo $after_widget; } /*********************************************************************************/ /* wordTube widget control /*********************************************************************************/ // Admin section function web_wordtube_control() { global $wpdb; $options = get_option('web_wordtube'); if ( !is_array($options) ) $options = array('title'=>'', 'mediaid'=>'0'); if ( $_POST['wordtube-submit'] ) { $options['title'] = strip_tags(stripslashes($_POST['wordtube-title'])); $options['mediaid'] = $_POST['wordtube-mediaid']; update_option('web_wordtube', $options); } $title = htmlspecialchars($options['title'], ENT_QUOTES); // The Box content echo '

    '; echo '

    '; echo '

    '; echo ''; } ?>