[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/pkg/vtiger/modules/Mobile/templates/generic/ -> Detail.tpl (source)

   1  {include file="modules/Mobile/generic/Header.tpl"}
   2  
   3  <body>
   4  
   5  <table width=100% cellpadding=0 cellspacing=0 border=0>
   6  <tr class="toolbar">
   7      <td width="5%">
   8          <a class="link" href="javascript:history.back();"><img src="resources/images/iconza/royalblue/left_arrow_16x16.png" border="0"></a>
   9      </td>
  10      <td width="90%" align="left"><h1 class='page_title'>{$_MODULE->label()}</h1></td>    
  11      <td width="5%" align="right" nowrap="nowrap">
  12          <!-- a class="link" href="javascript:void(0);"><img src="resources/images/iconza/royalblue/edit_24x24.png" border="0"></a -->
  13          <!--  a class="link" href="javascript:confirm('Delete Record');"><img src="resources/images/iconza/yellow/delete_24x24.png" border="0"></a -->        
  14      </td>
  15  </tr>
  16  <tr>
  17      <td colspan="3">    
  18      
  19          <table width=100% cellpadding=5 cellspacing=0 border=0 class="table_detail">
  20              {foreach item=_BLOCK key=_BLOCKLABEL from=$_RECORD->blocks()}
  21              
  22              {assign var=_FIELDS value=$_BLOCK->fields()}    
  23              
  24              {if !empty($_FIELDS)}
  25              <tr>
  26                  <td colspan=2 class="hdrlabel">{$_BLOCKLABEL}</td>
  27              </tr>
  28              {/if}
  29              
  30              {foreach item=_FIELD from=$_FIELDS}
  31              <tr>
  32                  <th class="label" nowrap="nowrap" width="10%" valign="top">{$_FIELD->label()}</th>
  33                  <td class="data">
  34                  {if $_FIELD->isReferenceType()}
  35                      <a style="display:inline;" href="index.php?_operation=fetchRecordWithGrouping&record={$_FIELD->value()}">{$_FIELD->valueLabel()}</a>
  36                  {else}
  37                      {$_FIELD->valueLabel()}
  38                  {/if}
  39                  </td>
  40              </tr>
  41              {/foreach}
  42              
  43              {/foreach}
  44          </table>
  45      
  46      </td>
  47  </tr>
  48  </table>
  49  
  50  </body>
  51  
  52  {include file="modules/Mobile/generic/Footer.tpl"}


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