--- FreeBSD/tinderbox2/webui/index.php 2007/10/20 17:07:42 1.1 +++ FreeBSD/tinderbox2/webui/index.php 2007/10/20 17:46:16 1.3 @@ -24,6 +24,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # +# $Paefchen: FreeBSD/tinderbox2/webui/index.php,v 1.2 2007/10/20 17:33:35 as Exp $ # $MCom: portstools/tinderbox/webui/index.php,v 1.22 2007/10/13 02:28:47 ade Exp $ # @@ -37,6 +38,7 @@ require_once 'module/modulePortFailureReasons.php'; require_once 'module/moduleSession.php'; require_once 'module/moduleTinderd.php'; require_once 'module/moduleUsers.php'; +require_once 'module/moduleRss.php'; require_once $templatesdir.'/messages.inc'; @@ -48,6 +50,7 @@ $modulePortFailureReasons = new modulePortFailureReaso $moduleSession = new moduleSession(); $moduleTinderd = new moduleTinderd(); $moduleUsers = new moduleUsers(); +$moduleRss = new moduleRss(); $moduleSession->start(); if( isset($_POST['do_login']) ) { @@ -136,6 +139,9 @@ switch( $action ) { break; case 'config': $display = $moduleConfig->display_config(); break; + case 'latest_buildports_rss': + print $moduleRss->display_latest_buildports(); + exit; case 'list_builds': default: $display = $moduleBuilds->display_list_builds(); break;