[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/pkg/vtiger/modules/RecycleBin/templates/ -> RecycleBinContents.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  <form>
  13  <table border=0 cellspacing=1 cellpadding=0 width=100%>
  14  <tr><td>
  15      <!-- List View's Buttons and Filters starts -->
  16      <table border=0 cellspacing=0 cellpadding=2 width=100% class="small">
  17          <tr>
  18      <!-- Buttons -->
  19              <td style="padding-right:20px" nowrap>
  20                  <input type="hidden" id="search_url" value="{$SEARCH_URL}">
  21                  <input type="hidden" name="idlist" id="idlist">
  22                  <input name="numOfRows" id="numOfRows" type="hidden" value="{$NUMOFROWS}">
  23                  <input name="maxrecords" type="hidden" value="{$MAX_RECORDS}" id='maxrecords'>
  24                  <input type="hidden" id="excludedRecords" name="excludedRecords" value="{$excludedRecords}">
  25                  <input type="hidden" name="allselectedboxes" id="allselectedboxes" value="{$ALLSELECTEDIDS}">
  26                  <input name="current_page_boxes" id="current_page_boxes" type="hidden" value="{$CURRENT_PAGE_BOXES}">
  27                  <input type="hidden" name="selected_module" id="selected_module" value="{$SELECTED_MODULE}">
  28                  <input type="hidden" name="selected_module_translated" id="selected_module_translated" value="{$SELECTED_MODULE|@getTranslatedString:$SELECTED_MODULE}">
  29                  <input class="crmbutton small edit" type="button" onclick ="massRestore();" value="{$MOD.LBL_MASS_RESTORE}">
  30                  {if $IS_ADMIN eq 'true'}
  31                  <input class="crmbutton small delete" type="button" onclick ="callEmptyRecyclebin();" value="{$MOD.LBL_EMPTY_RECYCLEBIN}">
  32                  {/if}
  33                </td>
  34                  <!-- Record Counts -->
  35              <td style="padding-right:20px" class="small" nowrap>{$RECORD_COUNTS}</td>
  36              <!-- Page Navigation -->                          
  37              <td nowrap width="30%" align="center">
  38                  <table border=0 cellspacing=0 cellpadding=0 class="small">
  39                      <tr>{$NAVIGATION}</tr>
  40                  </table>
  41              </td>
  42              <td width=100% align="right">
  43                  <b>{$MOD.LBL_SELECT_MODULE} : </b> 
  44                  <select id="select_module" onChange="changeModule(this);" class="small">
  45                  {foreach key=mod_name item=module from=$MODULE_NAME}
  46                  {assign var="modulelabel" value=$module|@getTranslatedString:$module}
  47                  {if $module eq $SELECTED_MODULE}
  48                          <option value="{$module}" selected>{$modulelabel}</option>
  49                  {else}
  50                          <option value="{$module}">{$modulelabel}</option>
  51                  {/if}
  52                  {/foreach}
  53                  </select>
  54              </td>
  55          </tr>
  56      </table>
  57      <!-- List View's Buttons and Filters ends -->
  58              
  59      
  60      <table border=0 cellspacing=1 cellpadding=3 width=100% class="lvt small">
  61      <!-- Table Headers -->
  62      <tr>
  63            <td class="lvtCol" width=2%><input type="checkbox" onclick='toggleSelect_ListView(this.checked,"selected_id")' id="selectCurrentPageRec" name="selectall" ></td>
  64      {foreach key=mod_data item=moddata from=$MODULE_DATA name="listviewforeach"}
  65              <td class="lvtCol" >{$moddata}</td>
  66      {/foreach}
  67          <td class="lvtCol" >{$APP.LBL_ACTION}</td>
  68      </tr>
  69      <tr>
  70          <td id="linkForSelectAll" class="linkForSelectAll" style="display:none;" colspan=10>
  71              <span id="selectAllRec" class="selectall" style="display:inline;" onClick="toggleSelectAll_Records('{$MODULE}',true,'selected_id')">{$APP.LBL_SELECT_ALL} <span id="count"> {$NUMOFROWS} </span> {$APP.LBL_RECORDS_IN} {$MODULE|@getTranslatedString:$MODULE}</span>
  72              <span id="deSelectAllRec" class="selectall" style="display:none;" onClick="toggleSelectAll_Records('{$MODULE}',false,'selected_id')">{$APP.LBL_DESELECT_ALL} {$MODULE|@getTranslatedString:$MODULE}</span>
  73          </td>
  74      </tr>
  75      {foreach key=entity_id item=lvdata from=$lvEntries}
  76      <tr bgcolor=white onMouseOver="this.className='lvtColDataHover'" onMouseOut="this.className='lvtColData'" id="row_{$entity_id}">
  77          <td  width=2%><input type="checkbox" name="selected_id"  onclick='check_object(this)' value="{$entity_id}" id="{$entity_id}"></td>
  78          {foreach item=data from=$lvdata}
  79          <td >{$data}</td>
  80          {/foreach}
  81          <td class="samll"> <a href="javascript:;" onclick='restore({$entity_id},"{$SELECTED_MODULE}");'>{$MOD.LNK_RESTORE}</a></td>
  82      </tr>
  83      {foreachelse}
  84      <tr>
  85          <td style="background-color:#efefef;height:340px" align="center" colspan="{$smarty.foreach.listviewforeach.iteration+2}">
  86              <table width=100% height="400px" align="center">
  87              <tr>
  88                  <td align="center">
  89                      <div style="border: 3px solid rgb(153, 153, 153); background-color: rgb(255, 255, 255);width:90%;">    
  90                      <table cellspacing=0 cellpadding=5 width=98%  border=0 align=center>
  91                          <tr>
  92                              <td rowspan="2" width="30%" align='right'><img src="{'empty.jpg'|@vtiger_imageurl:$THEME}" height="60"></td>    
  93                              <td style="border-bottom: 1 px solid rgb(204, 204, 204);" nowrap="nowrap" width="75%"><span class="genHeaderSmall">{$MOD.LBL_EMPTY_MODULE} {$SELECTED_MODULE|@getTranslatedString:$SELECTED_MODULE}</td>
  94                          </tr>
  95                      </table>
  96                  </div>
  97              </td>
  98          </tr>
  99          </table>
 100      </td>
 101      </tr>
 102      {/foreach}
 103              </table>
 104     </td>
 105     </tr>
 106  <tr><td>
 107      <table border=0 cellspacing=0 cellpadding=2 width=100% class="small">
 108          <tr>
 109              <!-- Buttons -->
 110              <td style="padding-right:20px" nowrap>
 111                  <input type="hidden" name="idlist" id="idlist">
 112                  <input type="hidden" name="selected_module" id="selected_module" value="{$SELECTED_MODULE}">
 113                  <input class="crmbutton small edit" type="button" onclick ="massRestore();" value="{$MOD.LBL_MASS_RESTORE}">
 114                  {if $IS_ADMIN eq 'true'}
 115                      <input class="crmbutton small delete" type="button" onclick ="callEmptyRecyclebin();" value="{$MOD.LBL_EMPTY_RECYCLEBIN}">
 116                  {/if}
 117                </td>
 118              <!-- Record Counts -->
 119              <td style="padding-right:20px" class="small" nowrap>{$RECORD_COUNTS}</td>
 120              <!-- Page Navigation -->             
 121              <td nowrap width="30%" align="center">
 122                  <table border=0 cellspacing=0 cellpadding=0 class="small">
 123                      <tr>{$NAVIGATION}</tr>
 124                  </table>
 125              </td>
 126              <td width=100% align="right">&nbsp;</td>
 127          </tr>
 128      </table>
 129  </td></tr>        
 130  <!--tr><td>
 131          <br>
 132          <table width=100% border=0 cellspacing=0 cellpadding=0>
 133              <tr><td class="small"><font size=5 color="red">*</font></td><td class="small">Has to be restored manually before restoring the record</td></tr>
 134              <tr><td class="small"><font size=5 color="green">*</font></td><td class="small">Already exist in the CRM</td></tr>
 135              <tr><td class="small"><font size=5 color="blue">*</font></td><td class="small">Will be automatically restored when the record is restored.</td></tr>
 136          </table>
 137      </td></tr>
 138  
 139      </table>
 140  </td>
 141  <td>
 142  
 143  </td>
 144  </tr-->
 145     </table>
 146  
 147  
 148  </div>
 149  
 150  
 151  {if $smarty.request.mode eq 'ajax'}
 152      <div id="search_ajax" style="display:none;">
 153      <table width="80%" cellpadding="5" cellspacing="0"  class="searchUIBasic small" align="center" border=0>
 154      <tr>
 155          <td class="searchUIName small" nowrap align="left">
 156              <span class="moduleName">{$APP.LBL_SEARCH}</span><br>
 157          </td>
 158          <td class="small" nowrap align=right><b>{$APP.LBL_SEARCH_FOR}</b></td>
 159          <td class="small"><input type="text"  class="txtBox" style="width:120px" name="search_text"></td>
 160          <td class="small" nowrap><b>{$APP.LBL_IN}</b>&nbsp;</td>
 161          <td class="small" nowrap>
 162              <div id="basicsearchcolumns_real">
 163                  <select name="search_field" id="bas_searchfield" class="txtBox" style="width:150px">
 164                  {html_options  options=$SEARCHLISTHEADER }
 165                  </select>
 166              </div>
 167              <input type="hidden" name="searchtype" value="BasicSearch">
 168              <input type="hidden" name="module" value="{$SELECTED_MODULE}">
 169              <input type="hidden" name="parenttab" value="{$CATEGORY}">
 170              <input type="hidden" name="action" value="index">
 171              <input type="hidden" name="query" value="true">
 172              <input type="hidden" name="search_cnt">
 173          </td>
 174          <td class="small" nowrap>
 175              <input name="submit" type="button" class="crmbutton small create" onClick="callRBSearch('Basic');" value=" {$APP.LBL_SEARCH_NOW_BUTTON} ">&nbsp;
 176          </td>
 177          <td class="small" valign="top" onMouseOver="this.style.cursor='pointer';" onclick="moveMe('searchAcc');searchshowhide('searchAcc','')">[x]</td>
 178      </tr>
 179      <tr>
 180          <td colspan="7" align="center" class="small">
 181              <table border=0 cellspacing=0 cellpadding=0 width=100%>
 182                  <tr>
 183                      {$ALPHABETICAL}
 184                  </tr>
 185              </table>
 186          </td>
 187      </tr>
 188      </table>
 189  {/if}
 190  
 191  </form>


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