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
|
||||
<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="page" value="$page" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
@@ -10,7 +10,7 @@ $header
|
||||
</tr>
|
||||
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') && 15 < $ftps_count >
|
||||
<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>
|
||||
</if>
|
||||
<tr>
|
||||
@@ -26,7 +26,7 @@ $header
|
||||
</if>
|
||||
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') >
|
||||
<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>
|
||||
</if>
|
||||
</table>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<tr class="" onmouseover="this.className='RowOverSelected';" onmouseout="this.className='';">
|
||||
<td class="field_name_border_left">{$row['username']}</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="$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' => 'edit', 'id' => $row['id']))}">{$lng['panel']['edit']}</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>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$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="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$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="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
|
||||
Reference in New Issue
Block a user