Location: PHPKode > projects > Work Tracker > work-tracker-0.1/modules/announce/group.announce.php
<?php
/* $Id: group.announce.php 2 2004-08-05 21:42:03Z eroberts $ */
/**
 * @package Issue-Tracker
 * @subpackage Announcements
 */

if (eregi(basename(__FILE__),$_SERVER['PHP_SELF'])) {
  print "Direct module access forbidden.";
  exit;
}

$announcements = announcements($_GET['gid']);
$smarty->assign('announcements',$announcements);

if (empty($_GET['gid'])) {
  $smarty->assign('title',"System Announcements");
} else {
  $smarty->assign('title',group_name($_GET['gid'])." Announcements");
}

$smarty->display("announce/group.tpl");
?>
Return current item: Work Tracker