Location: PHPKode > projects > BugIn and Ticketing System > bugin-0.65/conf/list.inc.php
<?php

$options['defProjView'] = "my.tickets,0,0";
$options['defUserView'] = "custom,1,0";

$closedIDs = explode(",", $options['closedNum']);
$ccount = 0;
$closedAdd = array();
while (list($key, $value) = each($closedIDs)) {
	$closedAdd[$ccount]['name'] = "{$bugDatabase->tablePrefix}_tickets.status";
	$closedAdd[$ccount]['value'] = $value;
	$ccount ++;
}

if (!isset($ticketList) && isset($userinfo)) {
	// {$options[ticketName]} List generation
	$ticketList['size'] = 4;
	$ticketList[0]['name'] = "{$verbage['lst_management']}";
	$ticketList[0][0][0]['name'] = "{$verbage['lst_my_queue']}";
	$ticketList[0][0][0]['template'] = "my.tickets";

	$ticketList[0][1][0]['name'] = "{$verbage['lst_unowned_bugs']}";
	$ticketList[0][1][0]['template'] = "unowned";

	$ticketList[0][2][0]['name'] = "{$verbage['lst_open_group']}";
	$ticketList[0][2][0]['template'] = "group";

	$ticketList[0][3][0]['name'] = "{$verbage['lst_all_done']}";
	$ticketList[0][3][0]['include'] = $closedAdd;

	$ticketList[1]['name'] = "{$verbage['lst_submitted_bugs']}/{$verbage['lst_bug_functions']}";

	$ticketList[1][0][0]['name'] = "{$verbage['lst_my_tickets']}";
	$ticketList[1][0][0]['noProjRestrict'] = 1;
	$ticketList[1][0][0]['exclude'] = $closedAdd;
	$ticketList[1][0][1]['include'][0]['name'] = "{$bugDatabase->tablePrefix}_tickets.creator";
	$ticketList[1][0][1]['include'][0]['value'] = $_SESSION['userinfo']['uid'];

	$ticketList[1][1][0]['name'] = "{$verbage['lst_my_closed_tickets']}";
	$ticketList[1][1][0]['include'] = $closedAdd;
	$ticketList[1][1][1]['include'][$ccount + 1]['name'] = "{$bugDatabase->tablePrefix}_tickets.creator";
	$ticketList[1][1][1]['include'][$ccount + 1]['value'] = $_SESSION['userinfo']['uid'];

	$ticketList[1][2][0]['name'] = "{$verbage['search']}";
	$ticketList[1][2][0]['link'] = "?area=search";

	$ticketList[1][3][0]['name'] = "{$verbage['add_a_ticket']}";
	$ticketList[1][3][0]['link'] = "?area=add";
}



?>
Return current item: BugIn and Ticketing System