[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

   1  {include file="modules/Mobile/generic/Header.tpl"}
   2  
   3  <body>
   4  
   5  <div id="__listview__" {if $_MODE eq 'search'}style='display:none;'{/if}>
   6      <table width=100% cellpadding=0 cellspacing=0 border=0>
   7      <tr class="toolbar">
   8          <td><a class="link" href="javascript:window.close();"><img src="resources/images/iconza/royalblue/undo_32x32.png" border="0"></a></td>
   9          <td width="100%">
  10              <h1 class='page_title'>
  11              
  12              {if $_PAGER && $_PAGER->hasPrevious()}
  13              <a class="link" href="?_operation=listModuleRecords&module={$_MODULE->name()}&page={$_PAGER->previous()}&search={$_SEARCH}"><img src="resources/images/iconza/yellow/left_arrow_24x24.png" border="0"></a>
  14              {else}
  15              <a class="link" href="javascript:void(0);"><img src="resources/images/iconza/white/left_arrow_24x24.png" border="0"></a>
  16              {/if}
  17              
  18              {$_MODULE->label()}
  19              
  20              {if $_PAGER && $_PAGER->hasNext(count($_RECORDS))}
  21              <a class="link" href="?_operation=listModuleRecords&module={$_MODULE->name()}&page={$_PAGER->next()}&search={$_SEARCH}"><img src="resources/images/iconza/yellow/right_arrow_24x24.png" border="0"></a>
  22              {else}
  23              <a class="link" href="javascript:void(0);"><img src="resources/images/iconza/white/right_arrow_24x24.png" border="0"></a>
  24              {/if}
  25              
  26              </h1>
  27          </td>
  28          <td align="right" style="padding-right: 5px;"><a class="link" href="javascript:void(0);" onclick="$fnT('__listview__', '__searchbox__'); $fnFocus('__searchbox__q_');" target="_self"><img src="resources/images/iconza/yellow/lens_32x32.png" border="0"></a></td>
  29      </tr>
  30      
  31      <tr>
  32          <td colspan="3">    
  33          
  34              <table width=100% cellpadding=0 cellspacing=0 border=0 class="table_list">
  35                  {foreach item=_RECORD from=$_RECORDS}
  36                  <tr>
  37                  <td width="100%">
  38                      <a href="?_operation=fetchRecordWithGrouping&record={$_RECORD->id()}" target="_self">{$_RECORD->label()}</a>
  39                  </td>
  40                  <td>
  41                      <a href="?_operation=fetchRecordWithGrouping&record={$_RECORD->id()}" target="_self" class="link_rhook"><img src="resources/images/iconza/royalblue/right_arrow_16x16.png" border="0"></a>                                
  42                  </td>
  43                  </tr>
  44                  
  45                  {foreachelse}
  46                  
  47                  <tr class="info">
  48                  <td width=25% align="right">
  49                      <img src="resources/images/iconza/royalblue/info_24x24.png" border=0 />
  50                  </td>
  51                  <td width=100% align="left" valign="center">
  52                      {if $_PAGER->hasPrevious()}
  53                      <p>No more records found.</p>
  54                      {else}
  55                      <p>No records available.</p>
  56                      {/if}
  57                  </td>
  58                  </tr>
  59                  
  60                  {/foreach}
  61              </table>
  62          
  63          </td>
  64      </tr>
  65      </table>
  66  </div>
  67  
  68  <div id="__searchbox__" {if $_MODE neq 'search'}style='display:none;'{/if}>
  69      <table width=100% cellpadding=0 cellspacing=0 border=0>
  70      <tr class="toolbar">
  71          <td><a class="link" href="?_operation=searchConfig&module={$_MODULE->name()}" target="_self"><img src="resources/images/iconza/yellow/wrench_32x32.png" border="0"></a></td>
  72          <td width="100%">
  73              <h1 class='page_title'>
  74              Search {$_MODULE->label()}
  75              </h1>
  76          </td>
  77          <td align="right" style="padding-right: 5px;"><a class="link" href="javascript:void(0);" onclick="$fnT('__searchbox__','__listview__');"><img src="resources/images/iconza/yellow/zoom_out_32x32.png" border="0"></a></td>
  78      </tr>
  79      
  80      <tr>
  81          <td colspan=3 align="center">
  82          
  83              <form action="index.php" method="GET" onsubmit="if(this.search.value == '') return false;">
  84                  <input type="hidden" name="_operation" value="listModuleRecords" />
  85                  <input type="hidden" name="module" value="{$_MODULE->name()}" />
  86                  <input id='__searchbox__q_' type="text" name="search" class="searchbox" value="{$_SEARCH}"/>
  87              </form>
  88          
  89          </td>
  90          
  91      </tr>
  92      </table>
  93  </div>
  94  
  95  </body>
  96  
  97  {include file="modules/Mobile/generic/Footer.tpl"}


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