[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/layouts/vlayout/modules/Settings/MailConverter/ -> ListViewContents.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  {strip}
  13      {foreach item=RECORD from=$RECORD_MODELS}
  14          <table class="table table-bordered" id="SCANNER_{$RECORD->getId()}"> 
  15              <thead>
  16                  <tr>
  17                      <th class="blockHeader" colspan="4">
  18                          <span class="font-x-large">{$RECORD->getName()}</span>
  19                      <div class="pull-right btn-group">
  20                          <button class="btn dropdown-toggle" data-toggle="dropdown">
  21                              Actions
  22                              <span class="caret"></span>
  23                          </button>
  24                          <ul class="dropdown-menu pull-right">
  25                              {foreach item=LINK from=$RECORD->getRecordLinks()}
  26                                  <li> <a style="text-shadow: none" {if strpos($LINK->getUrl(), 'javascript:')===0} href='javascript:void(0);' onclick='{$LINK->getUrl()|substr:strlen("javascript:")};'
  27                                          {else} href={$LINK->getUrl()} {/if}>{vtranslate($LINK->getLabel(),$QUALIFIED_MODULE)}</a>
  28                                 </li>
  29                              {/foreach}
  30                          </ul>
  31                      </div>
  32                      </th>
  33                  </tr>
  34              </thead>
  35              <tbody>
  36                  {assign var=FIELDS value=$RECORD->getDetailViewFields()}
  37                  <tr>
  38                  {assign var=COUNTER value=0}
  39                  {foreach key=FIELDNAME item=FIELD_MODEL from=$FIELDS}
  40                      {if $COUNTER%2 eq 0 AND $COUNTER neq 0}
  41                          </tr>
  42                          <tr>
  43                      {/if}
  44                      <td class="fieldLabel">
  45                          <strong>{vtranslate($FIELD_MODEL->get('label'),$QUALIFIED_MODULE)}</strong>
  46                      </td>
  47                      <td class="fieldValue">
  48                          {assign var=DISPLAY_VALUE value=$RECORD->getDisplayValue($FIELDNAME)}
  49                          {if $FIELDNAME eq 'password'}
  50                              ******
  51                          {elseif $FIELDNAME eq 'markas' && !empty($DISPLAY_VALUE)}    
  52                              {vtranslate('LBL_MARK_MESSAGE_AS',$QUALIFIED_MODULE)}&nbsp;{vtranslate($RECORD->getDisplayValue($FIELDNAME),$QUALIFIED_MODULE)}
  53                          {elseif $FIELDNAME eq 'searchfor' || $FIELDNAME eq 'timezone' }    
  54                              {vtranslate($RECORD->getDisplayValue($FIELDNAME),$QUALIFIED_MODULE)}
  55                          {else}
  56                              {$DISPLAY_VALUE}
  57                          {/if}
  58                      </td>
  59                      {assign var=COUNTER value=$COUNTER+1}
  60                      {if $FIELD_MODEL@last}
  61                          <td></td>
  62                          <td></td>
  63                      {/if}    
  64                  {/foreach}
  65                  </tr>
  66              </tbody>
  67          </table>
  68      {/foreach}
  69  </div>
  70  {/strip}


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