From 1dbbf5379980844ea4c1e3691fc35553c20abbda Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 23 Nov 2006 07:25:30 +0000 Subject: [PATCH] Tweaks for API changes. Tell the user if their scheduler script is not configured. --- .../htmlUI/var/templates/scheduler/status.tpl | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/campcaster/src/modules/htmlUI/var/templates/scheduler/status.tpl b/campcaster/src/modules/htmlUI/var/templates/scheduler/status.tpl index 28324cb6f..22f255986 100644 --- a/campcaster/src/modules/htmlUI/var/templates/scheduler/status.tpl +++ b/campcaster/src/modules/htmlUI/var/templates/scheduler/status.tpl @@ -3,14 +3,19 @@

##Scheduler status##

 
- - {if $SCHEDULER->testDaemon() === true} + + {if $SCHEDULER->daemonIsRunning() === true}

##Scheduler is running##

{else} -

##Scheduler is not running##

-

+ {assign var=tmpErrorMsg value=$SCHEDULER->getScriptError()} + {if $tmpErrorMsg} + {$tmpErrorMsg} + {else} +

##Scheduler is not running##

+

+ {/if} {/if}