[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/pkg/vtiger/modules/CronTasks/templates/ -> CronContents.tpl (source)

   1  {*<!--
   2  /*********************************************************************************
   3    ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
   4     * ("License"); You may not use this file except in compliance with the License
   5     * The Original Code is:  vtiger CRM Open Source
   6     * The Initial Developer of the Original Code is vtiger.
   7     * Portions created by vtiger are Copyright (C) vtiger.
   8     * All Rights Reserved.
   9    *
  10   ********************************************************************************/
  11  -->*}
  12  <table width="100%" cellpadding="5" cellspacing="0" class="listTable" >
  13      <tr>
  14      <td class="colHeader small" width="5%">#</td>
  15      <td class="colHeader small" width="20%">Cron Job</td>
  16      <td class="colHeader small" width="15%">{$MOD.LBL_FREQUENCY}{$MOD.LBL_HOURMIN}</td>
  17      <td class="colHeader small" width="10%">{$CMOD.LBL_STATUS}</td>
  18          <td class="colHeader small" width="20%">{$MOD.LAST_START}</td>
  19          <td class="colHeader small" width="15%">{$MOD.LAST_END}</td>
  20          <td class="colHeader small" width='10%'>{$MOD.LBL_SEQUENCE}</td>
  21          <td class="colHeader small" width="5%">{$MOD.LBL_TOOLS}</td>
  22      </tr>
  23      {foreach name=cronlist item=elements from=$CRON}
  24      <tr>
  25      <td class="listTableRow small">{$smarty.foreach.cronlist.iteration}</td>
  26      <td class="listTableRow small">{$elements.cronname}</td>
  27      <td class="listTableRow small">{$elements.days} {$elements.hours}:{$elements.mins}</td>
  28      {if $elements.status eq 'Active'}
  29      <td class="listTableRow small active">{$elements.status}</td>
  30      {else}
  31      <td class="listTableRow small inactive">{$elements.status}</td>
  32      {/if}
  33          <td class="listTableRow small">{$elements.laststart}</td>
  34          <td class="listTableRow small">{$elements.lastend}</td>
  35      {if $smarty.foreach.cronlist.first neq true}
  36          <td  align="center" class="listTableRow"><a href="javascript:move_module('{$elements.id}','Up');" ><img src="{'arrow_up.png'|@vtiger_imageurl:$THEME}" style="width:16px;height:16px;" border="0" /></a>
  37      {/if}
  38      {if $smarty.foreach.cronlist.last eq true}
  39          <img src="{'blank.gif'|@vtiger_imageurl:$THEME}" style="width:16px;height:16px;" border="0" />
  40      {/if}    
  41      {if $smarty.foreach.cronlist.first eq true}
  42          <td align="center" class="listTableRow"><img src="{'blank.gif'|@vtiger_imageurl:$THEME}" style="width:16px;height:16px;" border="0" />
  43              <a href="javascript:move_module('{$elements.id}','Down');" ><img src="{'arrow_down.png'|@vtiger_imageurl:$THEME}" style="width:16px;height:16px;" border="0" /></a></td>
  44      {/if}
  45      
  46      {if $smarty.foreach.cronlist.last neq true && $smarty.foreach.cronlist.first neq true}
  47          <a href="javascript:move_module('{$elements.id}','Down');" ><img src="{'arrow_down.png'|@vtiger_imageurl:$THEME}" style="width:16px;height:16px;" border="0" /></a></td>
  48      {/if}
  49          <td class="listTableRow small" align="center" ><img onClick="fnvshobj(this,'editdiv');fetchEditCron('{$elements.id}');" style="cursor:pointer;" src="{'editfield.gif'|@vtiger_imageurl:$THEME}" title="{$APP.LBL_EDIT}"></td>
  50          </tr>
  51      {/foreach}
  52      </table>
  53  


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1