'', '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 '';
}
register_sidebar_widget ( 'pt-wordTube', 'web_wordTube', 'wid-wordtube');
register_widget_control ( 'pt-wordTube', 'web_wordtube_control', 300, 100);
}
/*********************************************************************************/
/* Simple forum widget
/*********************************************************************************/
if (function_exists('sf_recent_posts_tag')) {
function web_forum($args)
{
extract($args);
$options = get_option('web_forum');
$title = empty($options['title']) ? __('Forum', 'post-thumb') : $options['title'];
?>
'.$html.'>'; ?>
'.$html.'>'; ?>
'.$html.'>'; ?>
'.$html.'>'; ?>
'.$html.'>'; ?>
thumb_url;
unset($t);
?>
'.$html.'>'; ?>