function tb_create_markup($mode = 'widget', $instance, $widget_id, $tb_o) { $html = ''; $html .= tb_create_markup_header($widget_id); if ($mode == 'chart') { $html .= '<div class="tb_tweetchart" id="' . $widget_id . '-chart"></div>'; $html .= tb_get_cached_tweets_html($mode, $instance, $widget_id); } else { if (isset($tb_o['general_seo_tweets_googleoff']) && $tb_o['general_seo_tweets_googleoff']) { $html .= '<!--googleoff: index--><div class="tb_tweetlist">' . tb_get_cached_tweets_html($mode, $instance, $widget_id) . '</div><!--googleon: index-->'; } else { $html .= '<div class="tb_tweetlist">' . tb_get_cached_tweets_html($mode, $instance) . '</div>'; } } return $html; }
function tb_create_markup($mode = 'widget', $instance, $widget_id, $tb_o) { $html = ''; if ($tb_o['widget_show_header']) { $html .= tb_create_markup_header($widget_id); } if ($tb_o['general_seo_tweets_googleoff']) { $html .= '<!--googleoff: index--><div class="tb_tweetlist">' . tb_get_cached_tweets_html($mode, $instance) . '</div><!--googleon: index-->'; } else { $html .= '<div class="tb_tweetlist">' . tb_get_cached_tweets_html($mode, $instance) . '</div>'; } return $html; }