Implemented linker - class for customer_domains.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:40:19 +02:00
parent 07d981ac25
commit fcdcd4d6cb
8 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
$header
<form action="$filename" method="post">
<form action="{$linker->getLink(array('section' => 'domains'))}" 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">
@@ -9,7 +9,7 @@ $header
</tr>
<if ($userinfo['subdomains_used'] < $userinfo['subdomains'] || $userinfo['subdomains'] == '-1') && 15 < $domains_count && $parentdomains_count != 0 >
<tr>
<td class="field_display_border_left" colspan="4"><a href="$filename?page=domains&amp;action=add&amp;s=$s">{$lng['domains']['subdomain_add']}</a></td>
<td class="field_display_border_left" colspan="4"><a href="{$linker->getLink(array('section' => 'domains', 'page' => 'domains', 'action' => 'add'))}">{$lng['domains']['subdomain_add']}</a></td>
</tr>
</if>
<tr>
@@ -25,7 +25,7 @@ $header
</if>
<if ($userinfo['subdomains_used'] < $userinfo['subdomains'] || $userinfo['subdomains'] == '-1') && $parentdomains_count != 0 >
<tr>
<td class="field_display_border_left" colspan="4"><a href="$filename?page=domains&amp;action=add&amp;s=$s">{$lng['domains']['subdomain_add']}</a></td>
<td class="field_display_border_left" colspan="4"><a href="{$linker->getLink(array('section' => 'domains', 'page' => 'domains', 'action' => 'add'))}">{$lng['domains']['subdomain_add']}</a></td>
</tr>
</if>
</table>