Implemented linker - class for admin_cronjobs.php (templates only)
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<form method="post" action="$filename">
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'cronjobs'))}">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
<td class="field_name">{$row['lastrun']}</td>
|
||||
<td class="field_name">{$row['interval']}</td>
|
||||
<td class="field_name">{$row['isactive']}</td>
|
||||
<td class="field_name"><a href="$filename?s=$s&page=$page&action=edit&id={$row['id']}">{$lng['panel']['edit']}</a></td>
|
||||
<td class="field_name"><a href="{$linker->getLink(array('section' => 'cronjobs', 'page' => $page, 'action' => 'edit', 'id' => $row['id']))}">{$lng['panel']['edit']}</a></td>
|
||||
</tr>
|
||||
|
||||
@@ -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' => 'cronjobs'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$title}</legend>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<td>{$row['interval']}</td>
|
||||
<td>{$row['isactive']}</td>
|
||||
<td>
|
||||
<a href="$filename?s=$s&page=$page&action=edit&id={$row['id']}" style="text-decoration:none;">
|
||||
<a href="{$linker->getLink(array('section' => 'cronjobs', 'page' => $page, 'action' => 'edit', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||
</a>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user