Implemented linker - class for customer_ftp.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 action="$filename" method="post">
|
<form action="{$linker->getLink(array('section' => 'ftp'))}" 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" />
|
||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
@@ -10,7 +10,7 @@ $header
|
|||||||
</tr>
|
</tr>
|
||||||
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') && 15 < $ftps_count >
|
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') && 15 < $ftps_count >
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_display_border_left" colspan="4"><a href="$filename?page=accounts&action=add&s=$s">{$lng['ftp']['account_add']}</a></td>
|
<td class="field_display_border_left" colspan="4"><a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</if>
|
</if>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -26,7 +26,7 @@ $header
|
|||||||
</if>
|
</if>
|
||||||
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') >
|
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') >
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_display_border_left" colspan="4"><a href="$filename?page=accounts&action=add&s=$s">{$lng['ftp']['account_add']}</a></td>
|
<td class="field_display_border_left" colspan="4"><a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</if>
|
</if>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -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['documentroot']}</td>
|
<td class="field_name">{$row['documentroot']}</td>
|
||||||
<td class="field_name"><a href="$filename?page=accounts&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td>
|
<td class="field_name"><a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'edit', 'id' => $row['id']))}">{$lng['panel']['edit']}</a></td>
|
||||||
<td class="field_name"><a href="$filename?page=accounts&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td>
|
<td class="field_name"><a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'delete', 'id' => $row['id']))}">{$lng['panel']['delete']}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
$header
|
$header
|
||||||
<form method="post" action="$filename">
|
<form method="post" action="{$linker->getLink(array('section' => 'ftp'))}">
|
||||||
<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' => 'ftp'))}">
|
||||||
<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" />
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
|
||||||
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
|
<form action="{$linker->getLink(array('section' => 'ftp'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||||
|
|
||||||
<div class="overviewsearch">
|
<div class="overviewsearch">
|
||||||
{$searchcode}
|
{$searchcode}
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') && 15 < $ftps_count >
|
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') && 15 < $ftps_count >
|
||||||
<div class="overviewadd">
|
<div class="overviewadd">
|
||||||
<img src="images/Froxlor/icons/user_add.png" alt="" />
|
<img src="images/Froxlor/icons/user_add.png" alt="" />
|
||||||
<a href="$filename?page=accounts&action=add&s=$s">{$lng['ftp']['account_add']}</a>
|
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a>
|
||||||
</div>
|
</div>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') >
|
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') >
|
||||||
<div class="overviewadd">
|
<div class="overviewadd">
|
||||||
<img src="images/Froxlor/icons/user_add.png" alt="" />
|
<img src="images/Froxlor/icons/user_add.png" alt="" />
|
||||||
<a href="$filename?page=accounts&action=add&s=$s">{$lng['ftp']['account_add']}</a>
|
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a>
|
||||||
</div>
|
</div>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
<td>{$row['username']}</td>
|
<td>{$row['username']}</td>
|
||||||
<td>{$row['documentroot']}</td>
|
<td>{$row['documentroot']}</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="$filename?page=accounts&action=edit&id={$row['id']}&s=$s" style="text-decoration:none;">
|
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', '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=accounts&action=delete&id={$row['id']}&s=$s" style="text-decoration:none;">
|
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', '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 @@ $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' => 'ftp'))}" 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' => 'ftp'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Froxlor - {$title}</legend>
|
<legend>Froxlor - {$title}</legend>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user