aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-04-06 15:28:41 -0600
committermcrane <mctch@yahoo.com>2009-04-06 15:30:26 -0600
commitc4426dac0da44f0080785868fc9d53c035478b8a (patch)
tree5a4d423a50bca6c72cbd77186d7b3e0006152fda
parent0b6bfe46ae8af7e140dced3a33d24d52fcff5c4f (diff)
downloadpfsense-packages-c4426dac0da44f0080785868fc9d53c035478b8a.tar.gz
pfsense-packages-c4426dac0da44f0080785868fc9d53c035478b8a.tar.bz2
pfsense-packages-c4426dac0da44f0080785868fc9d53c035478b8a.zip
Cron package add additional fields to the list, fix link to edit.
-rw-r--r--config/cron/cron.tmp29
1 files changed, 21 insertions, 8 deletions
diff --git a/config/cron/cron.tmp b/config/cron/cron.tmp
index 5eacd1c2..17bb3cc1 100644
--- a/config/cron/cron.tmp
+++ b/config/cron/cron.tmp
@@ -95,13 +95,16 @@ if ($config_change == 1) {
</tr>
</table>
<br />
-
+
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td width="30%" class="listhdrr">Minute</td>
- <td width="20%" class="listhdrr">Hour</td>
- <td width="20%" class="listhdrr">Who</td>
- <td width="40%" class="listhdr">Command</td>
+ <td width="5%" class="listhdrr">minute</td>
+ <td width="5%" class="listhdrr">hour</td>
+ <td width="5%" class="listhdrr">mday</td>
+ <td width="5%" class="listhdrr">month</td>
+ <td width="5%" class="listhdrr">wday</td>
+ <td width="5%" class="listhdrr">who</td>
+ <td width="60%" class="listhdr">command</td>
<td width="10%" class="list">
<table border="0" cellspacing="0" cellpadding="1">
@@ -123,6 +126,7 @@ if ($config_change == 1) {
foreach ($a_cron as $ent) {
?>
+
<tr>
<td class="listr" ondblclick="document.location='cron_edit.php?id=<?=$i;?>';">
<?=$ent['minute'];?>&nbsp;
@@ -131,6 +135,15 @@ if ($config_change == 1) {
<?=$ent['hour'];?>&nbsp;
</td>
<td class="listr" ondblclick="document.location='cron_edit.php?id=<?=$i;?>';">
+ <?=$ent['mday'];?>&nbsp;
+ </td>
+ <td class="listr" ondblclick="document.location='cron_edit.php?id=<?=$i;?>';">
+ <?=$ent['month'];?>&nbsp;
+ </td>
+ <td class="listr" ondblclick="document.location='cron_edit.php?id=<?=$i;?>';">
+ <?=$ent['wday'];?>&nbsp;
+ </td>
+ <td class="listr" ondblclick="document.location='cron_edit.php?id=<?=$i;?>';">
<?=$ent['who'];?>&nbsp;
</td>
<td class="listr" ondblclick="document.location='cron_edit.php?id=<?=$i;?>';">
@@ -139,7 +152,7 @@ if ($config_change == 1) {
<td valign="middle" nowrap class="list">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
- <td valign="middle"><a href="cronf_edit.php?id=<?=$i;?>"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a></td>
+ <td valign="middle"><a href="cron_edit.php?id=<?=$i;?>"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a></td>
<td><a href="cron_edit.php?type=php&act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this?')"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
</tr>
</table>
@@ -153,7 +166,7 @@ if ($config_change == 1) {
?>
<tr>
- <td class="list" colspan="3"></td>
+ <td class="list" colspan="8"></td>
<td class="list">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
@@ -166,7 +179,7 @@ if ($config_change == 1) {
<tr>
- <td class="list" colspan="3"></td>
+ <td class="list" colspan="8"></td>
<td class="list"></td>
</tr>
</table>