$title = (string) $item->title; $s .= "<li><a href=\"{$link}\">{$title}</a></li>"; } $s .= "</ul>"; return render_widget("blog", "BrowserPlus: <a href=\"/blog/\">Blog</a>", $s); } // IRC Transcript $irc = new IRC(); $results = $irc->get_rows($irc->get_max_id(), $tableRowsToShow); $ircnav = l("#browserplus", "/discuss/"); $irctable = render_table($results, "stamp", "who", "utterance", array("show_long_dates" => true, "top_nav" => "<strong>IRC: {$ircnav}</strong>")); //$ircwidgets = $irc->render_widget("day") . $irc->render_widget("week") . $irc->render_widget("month"); $ircwidgets = $irc->render_widget("week"); // GIT Projects $git = new GIT(); $results = $git->get_rows($tableRowsToShow); $gitnav = "<strong>GitHub: <a href=\"http://www.github.com/browserplus/\">BrowserPlus</a></strong>"; $gittable = render_table($results, "tcommit", "project", "msg", array("show_long_dates" => true, "top_nav" => $gitnav, "url_key" => "url", "url_pat" => "%s")); $gitwidgets = $git->render_project_widget(); // bugzilla issues $bugzilla = new Bugzilla(); $issuewidget = $bugzilla->render_widget($listItemsToShow); // Links Widget $linkswidget = get_links_widget(); // Blog Widget $blogwidget = get_blog_widget($listItemsToShow); // Twitter Widgets $twitter = new Twitter(); $tw_user_widget = $twitter->render_user_widget("browserplus", $listItemsToShow); $tw_search_widget = $twitter->render_search_widget("browserplus", $listItemsToShow); $forums = new Forum();