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
|
$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="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" />
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
<td class="field_name">{$row['lastrun']}</td>
|
<td class="field_name">{$row['lastrun']}</td>
|
||||||
<td class="field_name">{$row['interval']}</td>
|
<td class="field_name">{$row['interval']}</td>
|
||||||
<td class="field_name">{$row['isactive']}</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>
|
</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' => 'cronjobs'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Froxlor - {$title}</legend>
|
<legend>Froxlor - {$title}</legend>
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<td>{$row['interval']}</td>
|
<td>{$row['interval']}</td>
|
||||||
<td>{$row['isactive']}</td>
|
<td>{$row['isactive']}</td>
|
||||||
<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']}" />
|
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user