Files
Testing/templates/admin_scheduler_viewjobs.tpl
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

57 lines
2.2 KiB
Smarty

{include file='admin_header.tpl'}
<h2>{lang_print id=100012025}</h2>
{lang_print id=100012026}
<br><br>
<br>
{if $total_items == 0}
<table cellpadding='0' cellspacing='0' width='400' align='center'>
<tr>
<td align='center'>
<div class='box'><b>{lang_print id=100012027}</b></div>
</td></tr></table>
<br>
{else}
<table cellpadding='0' cellspacing='0' class='list' style="width:600px">
<tr>
<td class='header' width='10' Xstyle='padding-left: 0px;'>{lang_print id=100012028}</td>
<td class='header'>{lang_print id=100012029}</td>
<td class='header' nowrap="nowrap">{lang_print id=100012030}</td>
<td class='header' nowrap="nowrap">{lang_print id=100012031}</td>
<td class='header' nowrap="nowrap">{lang_print id=100012032}</td>
</tr>
<!-- LOOP THROUGH ITEMS -->
{foreach from=$jobs item=job}
<tr class='{cycle values="background1,background2"}'>
<td class='item' nowrap="nowrap">{$job.job_id}</td>
<td class='item' width="100%">{$job.job_name}</td>
<td class='item' nowrap="nowrap">{$job.job_period}</td>
<td class='item' nowrap="nowrap">{if $job.job_lastrun == 0}{lang_print id=100012037}{else}{$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $datetime->timezone($job.job_lastrun, $global_timezone))}{/if}</td>
<td class='item' nowrap="nowrap">{if $job.job_enabled}{lang_print id=100012033}{else}{lang_print id=100012034}{/if}</td>
</tr>
{/foreach}
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
</td>
<td align='left' valign='top'>
<div class='pages2'>{$total_items} {lang_print id=100012035} &nbsp;|&nbsp; {lang_print id=100012036} {section name=page_loop loop=$pages}{if $pages[page_loop].link == '1'}{$pages[page_loop].page}{else}<a href='admin_scheduled_viewjobs.php?s={$s}&p={$pages[page_loop].page}&f_user={$f_user}&f_email={$f_email}&f_level={$f_level}&f_plan={$f_plan}&f_enabled={$f_enabled}'>{$pages[page_loop].page}</a>{/if} {/section}</div>
</td>
</tr>
</table>
<br><br>
{/if}
{include file='admin_footer.tpl'}