forked from bitweaver/tasks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
view_tickets.php
29 lines (23 loc) · 722 Bytes
/
view_tickets.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* @version $Header$
*
* @author lsces <[email protected]>
* @package tasks
* @copyright 2008 bitweaver
* @license LGPL {@link http://www.gnu.org/licenses/lgpl.html}
**/
/**
* Setup
*/
require_once( '../kernel/setup_inc.php' );
$gBitSystem->verifyPackage( 'tasks' );
require_once( TASKS_PKG_PATH.'Tasks.php');
$gTask = new Tasks();
$currentInfo = array();
$currentInfo['title'] = 'View Outstanding Tasks';
$currentInfo['tickets'] = $gTask->getList( $_REQUEST );
$gBitSmarty->assign_by_ref( 'currentInfo', $currentInfo );
// Display the template
$gBitSystem->display( 'bitpackage:tasks/view_tickets.tpl', tra( 'View Task Tickets' ) , array( 'display_mode' => 'list' ));
?>