Implemented linker - class for customer_extras.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:50:41 +02:00
parent 7246dc124e
commit 3bcba9fa40
18 changed files with 28 additions and 28 deletions

View File

@@ -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' => 'extras'))}" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>

View File

@@ -9,7 +9,7 @@
<section>
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<form action="{$linker->getLink(array('section' => 'extras'))}" method="post" enctype="application/x-www-form-urlencoded">
<div class="overviewsearch">
{$searchcode}
@@ -18,7 +18,7 @@
<if 15 < $count >
<div class="overviewadd">
<img src="images/Froxlor/icons/htaccess_add.png" alt="" />&nbsp;
<a href="$filename?page=htaccess&amp;action=add&amp;s=$s">{$lng['extras']['pathoptions_add']}</a>
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'add'))}">{$lng['extras']['pathoptions_add']}</a>
</div>
</if>
@@ -55,7 +55,7 @@
<div class="overviewadd">
<img src="images/Froxlor/icons/htaccess_add.png" alt="" />&nbsp;
<a href="$filename?page=htaccess&amp;action=add&amp;s=$s">{$lng['extras']['pathoptions_add']}</a>
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'add'))}">{$lng['extras']['pathoptions_add']}</a>
</div>
</section>

View File

@@ -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' => 'extras'))}" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>

View File

@@ -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' => 'extras'))}" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>

View File

@@ -8,10 +8,10 @@
<td>{$row['options_cgi']}</td>
</if>
<td>
<a href="$filename?page=htaccess&amp;action=edit&amp;id={$row['id']}&amp;s=$s" style="text-decoration:none;">
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'edit', 'id' => $row['id']))}" style="text-decoration:none;">
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
</a>&nbsp;
<a href="$filename?page=htaccess&amp;action=delete&amp;id={$row['id']}&amp;s=$s" style="text-decoration:none;">
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'delete', 'id' => $row['id']))}" style="text-decoration:none;">
<img src="images/Froxlor/icons/delete.png" alt="{$lng['panel']['delete']}" />
</a>
</td>

View File

@@ -9,7 +9,7 @@
<section>
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<form action="{$linker->getLink(array('section' => 'extras'))}" method="post" enctype="application/x-www-form-urlencoded">
<div class="overviewsearch">
{$searchcode}
@@ -18,7 +18,7 @@
<if 15 < $count >
<div class="overviewadd">
<img src="images/Froxlor/icons/htpasswd_add.png" alt="" />&nbsp;
<a href="$filename?page=htpasswds&amp;action=add&amp;s=$s">{$lng['extras']['directoryprotection_add']}</a>
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htpasswds', 'action' => 'add'))}">{$lng['extras']['directoryprotection_add']}</a>
</div>
</if>
@@ -51,7 +51,7 @@
<div class="overviewadd">
<img src="images/Froxlor/icons/htpasswd_add.png" alt="" />&nbsp;
<a href="$filename?page=htpasswds&amp;action=add&amp;s=$s">{$lng['extras']['directoryprotection_add']}</a>
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htpasswds', 'action' => 'add'))}">{$lng['extras']['directoryprotection_add']}</a>
</div>
</section>

View File

@@ -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' => 'extras'))}" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>

View File

@@ -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' => 'extras'))}" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>

View File

@@ -2,10 +2,10 @@
<td>{$row['username']}</td>
<td>{$row['path']}</td>
<td>
<a href="$filename?page=htpasswds&amp;action=edit&amp;id={$row['id']}&amp;s=$s" style="text-decoration:none;">
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htpasswds', 'action' => 'edit', 'id' => $row['id']))}" style="text-decoration:none;">
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
</a>&nbsp;
<a href="$filename?page=htpasswds&amp;action=delete&amp;id={$row['id']}&amp;s=$s" style="text-decoration:none;">
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htpasswds', 'action' => 'delete', 'id' => $row['id']))}" style="text-decoration:none;">
<img src="images/Froxlor/icons/delete.png" alt="{$lng['panel']['delete']}" />
</a>
</td>