Implemented linker - class for admin_customers.php (templates only)
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
@@ -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="" />
|
||||
<a href="$filename?page=$page&action=add&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="" />
|
||||
<a href="$filename?page=$page&action=add&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>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ $header
|
||||
|
||||
<section class="fullform bradiusodd">
|
||||
|
||||
<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">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$title}</legend>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<if ($row['name'] == '' || $row['firstname'] == '') && $row['company'] != ''>
|
||||
{$row['company']}
|
||||
</if>
|
||||
(<a href="$filename?s=$s&page=$page&action=su&id={$row['customerid']}" rel="external">{$row['loginname']}</a> | {$row['adminname']})
|
||||
(<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'su', 'id' => $row['customerid']))}" rel="external">{$row['loginname']}</a> | {$row['adminname']})
|
||||
</strong>
|
||||
<div>
|
||||
<span class="overviewcustomerextras">
|
||||
@@ -50,10 +50,10 @@
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="$filename?s=$s&page=$page&action=edit&id={$row['customerid']}" style="text-decoration:none;">
|
||||
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'edit', 'id' => $row['customerid']))}" style="text-decoration:none;">
|
||||
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||
</a>
|
||||
<a href="$filename?s=$s&page=$page&action=delete&id={$row['customerid']}" style="text-decoration:none;">
|
||||
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'delete', 'id' => $row['customerid']))}" style="text-decoration:none;">
|
||||
<img src="images/Froxlor/icons/delete.png" alt="{$lng['panel']['delete']}" />
|
||||
</a>
|
||||
</td>
|
||||
|
||||
@@ -9,7 +9,7 @@ $header
|
||||
|
||||
<section class="fullform bradiusodd">
|
||||
|
||||
<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">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$title}</legend>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user