-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathsupportticketslist.tpl
61 lines (55 loc) · 3.32 KB
/
supportticketslist.tpl
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<div class="page-header">
<h1>{$LANG.clientareanavsupporttickets} <small>{$LANG.supportticketsintro}</small></h1>
</div>
<form class="pull-right form-inline well well-small" action="supporttickets.php" method="get">
<input type="text" name="searchterm" class="span3" value="{if $searchterm}{$searchterm}{/if}" placeholder="{$LANG.searchtickets}">
<button type="submit" class="btn btn-success">{$LANG.search}</button>
</form>
<a href="submitticket.php" class="btn marginbottom" title="{$LANG.opennewticket}">{$LANG.opennewticket}</a>
<p>{$numitems} {$LANG.recordsfound}, {$LANG.page} {$pagenumber} {$LANG.pageof} {$totalpages}</p>
<table class="table table-bordered-outside table-striped table-sorted">
<thead>
<tr>
<th{if $orderby eq "date"} class="sort-{$sort}"{/if}><a href="supporttickets.php?orderby=date" title="{$LANG.supportticketsdate}">{$LANG.supportticketsdate}</a></th>
<th{if $orderby eq "dept"} class="sort-{$sort}"{/if}><a href="supporttickets.php?orderby=dept" title="{$LANG.supportticketsdepartment}">{$LANG.supportticketsdepartment}</a></th>
<th{if $orderby eq "subject"} class="sort-{$sort}"{/if}><a href="supporttickets.php?orderby=subject" title="{$LANG.supportticketssubject}">{$LANG.supportticketssubject}</a></th>
<th{if $orderby eq "status"} class="sort-{$sort}"{/if}><a href="supporttickets.php?orderby=status" title="{$LANG.supportticketsstatus}">{$LANG.supportticketsstatus}</a></th>
<th{if $orderby eq "lastreply"} class="sort-{$sort}"{/if}><a href="supporttickets.php?orderby=lastreply" title="{$LANG.supportticketsticketlastupdated}">{$LANG.supportticketsticketlastupdated}</a></th>
<th> </th>
</tr>
</thead>
<tbody>
{foreach key=num item=ticket from=$tickets}
<tr>
<td>{$ticket.date}</td>
<td>{$ticket.department}</td>
<td><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}">{if $ticket.unread}<strong>{/if}#{$ticket.tid} - {$ticket.subject}{if $ticket.unread}</strong>{/if}</a></td>
<td>{$ticket.status}</td>
<td>{$ticket.lastreply}</td>
<td class="textcenter"><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}" title="{$LANG.supportticketsviewticket} {$ticket.tid}" class="btn btn-inverse">{$LANG.supportticketsviewticket}</a></td>
</tr>
{foreachelse}
<tr>
<td colspan="7" class="textcenter">{$LANG.norecordsfound}</td>
</tr>
{/foreach}
</tbody>
</table>
<form method="post" action="supporttickets.php" class="pull-right">
<fieldset>
<select name="itemlimit" onchange="submit()">
<option>{$LANG.resultsperpage}</option>
<option value="10"{if $itemlimit==10} selected="selected"{/if}>10</option>
<option value="25"{if $itemlimit==25} selected="selected"{/if}>25</option>
<option value="50"{if $itemlimit==50} selected="selected"{/if}>50</option>
<option value="100"{if $itemlimit==100} selected="selected"{/if}>100</option>
<option value="all"{if $itemlimit==99999999} selected="selected"{/if}>{$LANG.clientareaunlimited}</option>
</select>
</fieldset>
</form>
<div class="pagination">
<ul>
<li{if !$prevpage} class="disabled"{/if}><a href="{if $prevpage}supporttickets.php?page={$prevpage}{else}javascript:return false;{/if}">← {$LANG.previouspage}</a></li>
<li{if !$nextpage} class="disabled"{/if}><a href="{if $nextpage}supporttickets.php?page={$nextpage}{else}javascript:return false;{/if}">{$LANG.nextpage} →</a></li>
</ul>
</div>