Files
Froxlor/templates/Sparkle/admin/tickets/categories.tpl
Roman Schmerold (BNoiZe) c69a05efa5 Redesigned tables to use less CSS
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
2014-01-27 19:57:03 +01:00

61 lines
1.7 KiB
Smarty

$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/categories_big.png" alt="" />&nbsp;
{$lng['menue']['ticket']['categories']}
</h2>
</header>
<section>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="s" value="$s"/>
<input type="hidden" name="page" value="$page"/>
<input type="hidden" name="send" value="send" />
<div class="overviewsearch">
{$searchcode}
</div>
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'tickets', 'page' => 'categories', 'action' => 'addcategory'))}">{$lng['ticket']['ticket_newcateory']}</a>
</div>
<table class="full hl">
<thead>
<tr>
<th>{$lng['ticket']['category']}&nbsp;{$arrowcode['name']}</th>
<th>{$lng['ticket']['logicalorder']}&nbsp;{$arrowcode['logicalorder']}</th>
<th>{$lng['ticket']['ticketcount']}&nbsp;<if $categories_count < 0 >{$arrowcode['ticketcount']}</if></th>
<th>{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>
<tfoot>
<tr>
<td colspan="4">{$pagingcode}</td>
</tr>
</tfoot>
</if>
<tbody>
$ticketcategories
</tbody>
</table>
</form>
<if 15 < $categories_count >
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'tickets', 'page' => 'categories', 'action' => 'addcategory'))}">{$lng['ticket']['ticket_newcateory']}</a>
</div>
</if>
</section>
</article>
$footer