Implemented linker - class for admin_customers.php (templates only)

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2011-06-13 18:57:18 +02:00
parent 7936f72bc1
commit 68b9c22938
8 changed files with 16 additions and 16 deletions

View File

@@ -9,7 +9,7 @@ $header
<section>
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<form action="{$linker->getLink(array('section' => 'customers'))}" method="post" enctype="application/x-www-form-urlencoded">
<div class="overviewsearch">
{$searchcode}
@@ -18,7 +18,7 @@ $header
<if ($userinfo['customers_used'] < $userinfo['customers'] || $userinfo['customers'] == '-1') && 15 < $userinfo['customers_used'] >
<div class="overviewadd">
<img src="images/Froxlor/icons/user_add.png" alt="" />&nbsp;
<a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['customer_add']}</a>
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['customer_add']}</a>
</div>
</if>
@@ -34,7 +34,7 @@ $header
<th>{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>
<if $pagingcode != ''>
<tfoot>
<tr>
<td>{$pagingcode}</td>
@@ -56,7 +56,7 @@ $header
<if $userinfo['customers_used'] < $userinfo['customers'] || $userinfo['customers'] == '-1'>
<div class="overviewadd">
<img src="images/Froxlor/icons/user_add.png" alt="" />&nbsp;
<a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['customer_add']}</a>
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['customer_add']}</a>
</div>
</if>