[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Smarty/templates/ -> upcomingActivities.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  {if $ACTIVITIES.0.noofactivities > 0}
  13      {assign var=label value=$ACTIVITIES.0.Title.0}
  14      <table width="100%" border="0" cellpadding="0" cellspacing="0">
  15              <tr>
  16                      <td><img src="{$IMAGE_PATH}upcoming_left.gif" align="top"  /></td>
  17                      <td width="100%" background="{$IMAGE_PATH}upcomingEvents.gif" style="background-repeat:repeat-x; "></td>
  18              <td><img src="{$IMAGE_PATH}upcoming_right.gif" align="top"  /></td>
  19          </tr>
  20          <tr>
  21                          <td colspan="3" bgcolor="#FFFFCF" style="border-left:2px solid #A6A4A5;border-right:2px solid #A6A4A5;padding-left:10px;">
  22                              <b class="fontBold">{$APP.$label}&nbsp;{$APP.LBL_UPCOMING_EVENTS}&nbsp;({$ACTIVITIES.0.noofactivities})</b><br />
  23                                  <b>{$APP.LBL_SHOW}</b>
  24                  {if $ACTIVITIES.0.Title.0 eq 'today'}
  25                      {$APP.LBL_TODAY}&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#" onClick="getHomeActivities(0,'all')">{$APP.LBL_ALL}</a>
  26                  {else}
  27                      <a href="#" onClick="getHomeActivities(0,'today')">{$APP.LBL_TODAY}</a>&nbsp;&nbsp;|&nbsp;&nbsp;{$APP.LBL_ALL}
  28                      {/if}
  29              </td>
  30          </tr>
  31          <tr>
  32              <td colspan="3" bgcolor="#FFFFCF" style="border-left:2px solid #A6A4A5;border-right:2px solid #A6A4A5;border-bottom:2px solid #A6A4A5;">
  33              <div id="upcomingActivitiesEntry" style="overflow-y:auto;overflow-x:hidden;height:150px;width:100%">
  34                  <table width="100%" border="0" cellpadding="5" cellspacing="0">
  35                      <tr bgcolor="#FFFFCF">
  36                                              <td style="border-bottom:1px dotted #dddddd;" colspan=3 align="right" valign=top>&nbsp;</td>
  37                                          </tr>
  38                                          {foreach item=entries name=entryloop from=$ACTIVITIES.0.Entries}
  39                                          <tr bgcolor="#FFFFCF">
  40                          <td style="border-bottom:1px dotted #dddddd;" align="right" width="20" valign=top>{math equation="x+1" x=$smarty.foreach.entryloop.index}</td>
  41                          <td style="border-bottom:1px dotted #dddddd;" align="right" width="20" valign=top>{$entries.IMAGE}</td>
  42                                                  <td style="border-bottom:1px dotted #dddddd;" align="left" valign="middle" colspan="2" width="85%"><b>{$entries.0}</b>{*<br />{$entries.ACCOUNT_NAME*}</td>
  43                                          </tr>
  44                                          {/foreach}
  45                  </table>
  46                  </div>
  47              </td>
  48          </tr>
  49      </table>
  50      <br>
  51  {/if}
  52  


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7