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:
@@ -1,5 +1,5 @@
|
|||||||
$header
|
$header
|
||||||
<form method="post" action="$filename">
|
<form method="post" action="{$linker->getLink(array('section' => 'extras'))}">
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<input type="hidden" name="action" value="$action" />
|
<input type="hidden" name="action" value="$action" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
$header
|
$header
|
||||||
<form action="$filename" method="post">
|
<form action="{$linker->getLink(array('section' => 'extras'))}" method="post">
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
@@ -23,7 +23,7 @@ $header
|
|||||||
</tr>
|
</tr>
|
||||||
</if>
|
</if>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_display_border_left" colspan="<if $cperlenabled == 1 >8<else>7</if>"><a href="$filename?page=htaccess&action=add&s=$s">{$lng['extras']['pathoptions_add']}</a></td>
|
<td class="field_display_border_left" colspan="<if $cperlenabled == 1 >8<else>7</if>"><a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'add'))}">{$lng['extras']['pathoptions_add']}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
$header
|
$header
|
||||||
<form method="post" action="$filename">
|
<form method="post" action="{$linker->getLink(array('section' => 'extras'))}">
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<input type="hidden" name="action" value="$action" />
|
<input type="hidden" name="action" value="$action" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
$header
|
$header
|
||||||
<form method="post" action="$filename">
|
<form method="post" action="{$linker->getLink(array('section' => 'extras'))}">
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<input type="hidden" name="action" value="$action" />
|
<input type="hidden" name="action" value="$action" />
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<td class="field_name">{$row['error403path']}</td>
|
<td class="field_name">{$row['error403path']}</td>
|
||||||
<td class="field_name">{$row['error500path']}</td>
|
<td class="field_name">{$row['error500path']}</td>
|
||||||
<if $cperlenabled == 1 ><td class="field_name">{$row['options_cgi']}</td></if>
|
<if $cperlenabled == 1 ><td class="field_name">{$row['options_cgi']}</td></if>
|
||||||
<td class="field_name"><a href="$filename?page=htaccess&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td>
|
<td class="field_name"><a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'edit', 'id' => $row['id']))}">{$lng['panel']['edit']}</a></td>
|
||||||
<td class="field_name"><a href="$filename?page=htaccess&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td>
|
<td class="field_name"><a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'delete', 'id' => $row['id']))}">{$lng['panel']['delete']}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
$header
|
$header
|
||||||
<form action="$filename" method="post">
|
<form action="{$linker->getLink(array('section' => 'extras'))}" method="post">
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
@@ -19,7 +19,7 @@ $header
|
|||||||
</tr>
|
</tr>
|
||||||
</if>
|
</if>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_display_border_left" colspan="4"><a href="$filename?page=htpasswds&action=add&s=$s">{$lng['extras']['directoryprotection_add']}</a></td>
|
<td class="field_display_border_left" colspan="4"><a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htpasswds', 'action' => 'add'))}">{$lng['extras']['directoryprotection_add']}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
$header
|
$header
|
||||||
<form method="post" action="$filename">
|
<form method="post" action="{$linker->getLink(array('section' => 'extras'))}">
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<input type="hidden" name="action" value="$action" />
|
<input type="hidden" name="action" value="$action" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
$header
|
$header
|
||||||
<form method="post" action="$filename">
|
<form method="post" action="{$linker->getLink(array('section' => 'extras'))}">
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<input type="hidden" name="action" value="$action" />
|
<input type="hidden" name="action" value="$action" />
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<tr class="" onmouseover="this.className='RowOverSelected';" onmouseout="this.className='';">
|
<tr class="" onmouseover="this.className='RowOverSelected';" onmouseout="this.className='';">
|
||||||
<td class="field_name_border_left">{$row['username']}</td>
|
<td class="field_name_border_left">{$row['username']}</td>
|
||||||
<td class="field_name">{$row['path']}</td>
|
<td class="field_name">{$row['path']}</td>
|
||||||
<td class="field_name"><a href="$filename?page=htpasswds&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td>
|
<td class="field_name"><a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htpasswds', 'action' => 'edit', 'id' => $row['id']))}">{$lng['panel']['edit']}</a></td>
|
||||||
<td class="field_name"><a href="$filename?page=htpasswds&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td>
|
<td class="field_name"><a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htpasswds', 'action' => 'delete', 'id' => $row['id']))}">{$lng['panel']['delete']}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ $header
|
|||||||
|
|
||||||
<section class="fullform bradiusodd">
|
<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>
|
<fieldset>
|
||||||
<legend>Froxlor - {$title}</legend>
|
<legend>Froxlor - {$title}</legend>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
<section>
|
<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">
|
<div class="overviewsearch">
|
||||||
{$searchcode}
|
{$searchcode}
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<if 15 < $count >
|
<if 15 < $count >
|
||||||
<div class="overviewadd">
|
<div class="overviewadd">
|
||||||
<img src="images/Froxlor/icons/htaccess_add.png" alt="" />
|
<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>
|
</div>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
<div class="overviewadd">
|
<div class="overviewadd">
|
||||||
<img src="images/Froxlor/icons/htaccess_add.png" alt="" />
|
<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>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ $header
|
|||||||
|
|
||||||
<section class="fullform bradiusodd">
|
<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>
|
<fieldset>
|
||||||
<legend>Froxlor - {$title}</legend>
|
<legend>Froxlor - {$title}</legend>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ $header
|
|||||||
|
|
||||||
<section class="fullform bradiusodd">
|
<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>
|
<fieldset>
|
||||||
<legend>Froxlor - {$title}</legend>
|
<legend>Froxlor - {$title}</legend>
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
<td>{$row['options_cgi']}</td>
|
<td>{$row['options_cgi']}</td>
|
||||||
</if>
|
</if>
|
||||||
<td>
|
<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']}" />
|
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||||
</a>
|
</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']}" />
|
<img src="images/Froxlor/icons/delete.png" alt="{$lng['panel']['delete']}" />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
<section>
|
<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">
|
<div class="overviewsearch">
|
||||||
{$searchcode}
|
{$searchcode}
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<if 15 < $count >
|
<if 15 < $count >
|
||||||
<div class="overviewadd">
|
<div class="overviewadd">
|
||||||
<img src="images/Froxlor/icons/htpasswd_add.png" alt="" />
|
<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>
|
</div>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
<div class="overviewadd">
|
<div class="overviewadd">
|
||||||
<img src="images/Froxlor/icons/htpasswd_add.png" alt="" />
|
<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>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ $header
|
|||||||
|
|
||||||
<section class="fullform bradiusodd">
|
<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>
|
<fieldset>
|
||||||
<legend>Froxlor - {$title}</legend>
|
<legend>Froxlor - {$title}</legend>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ $header
|
|||||||
|
|
||||||
<section class="fullform bradiusodd">
|
<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>
|
<fieldset>
|
||||||
<legend>Froxlor - {$title}</legend>
|
<legend>Froxlor - {$title}</legend>
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
<td>{$row['username']}</td>
|
<td>{$row['username']}</td>
|
||||||
<td>{$row['path']}</td>
|
<td>{$row['path']}</td>
|
||||||
<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']}" />
|
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||||
</a>
|
</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']}" />
|
<img src="images/Froxlor/icons/delete.png" alt="{$lng['panel']['delete']}" />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user