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:
@@ -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 - {$title}</legend>
|
||||
|
||||
|
||||
@@ -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="" />
|
||||
<a href="$filename?page=htaccess&action=add&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="" />
|
||||
<a href="$filename?page=htaccess&action=add&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>
|
||||
|
||||
@@ -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 - {$title}</legend>
|
||||
|
||||
|
||||
@@ -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 - {$title}</legend>
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
<td>{$row['options_cgi']}</td>
|
||||
</if>
|
||||
<td>
|
||||
<a href="$filename?page=htaccess&action=edit&id={$row['id']}&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>
|
||||
<a href="$filename?page=htaccess&action=delete&id={$row['id']}&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>
|
||||
|
||||
@@ -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="" />
|
||||
<a href="$filename?page=htpasswds&action=add&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="" />
|
||||
<a href="$filename?page=htpasswds&action=add&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>
|
||||
|
||||
@@ -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 - {$title}</legend>
|
||||
|
||||
|
||||
@@ -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 - {$title}</legend>
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
<td>{$row['username']}</td>
|
||||
<td>{$row['path']}</td>
|
||||
<td>
|
||||
<a href="$filename?page=htpasswds&action=edit&id={$row['id']}&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>
|
||||
<a href="$filename?page=htpasswds&action=delete&id={$row['id']}&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>
|
||||
|
||||
Reference in New Issue
Block a user