Implemented linker - class for admin_ipsandports.php (templates automatic replace only)

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2011-06-13 20:18:59 +02:00
parent 163228ff75
commit 570ceb8160
8 changed files with 13 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
$header
<form action="$filename" method="post">
<form action="{$linker->getLink(array('section' => 'ipsandports'))}" method="post">
<input type="hidden" name="s" value="$s"/>
<input type="hidden" name="page" value="$page"/>
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
@@ -24,7 +24,7 @@ $header
</tr>
</if>
<tr>
<td class="field_display_border_left" colspan="9"><a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['ipsandports']['add']}</a></td>
<td class="field_display_border_left" colspan="9"><a href="{$linker->getLink(array('section' => 'ipsandports', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['ipsandports']['add']}</a></td>
</tr>
</table>
</form>