[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/layouts/vlayout/modules/Vtiger/ -> CommonActions.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  
  13  {strip}
  14      {assign var="announcement" value=$ANNOUNCEMENT->get('announcement')}
  15      {assign var='count' value=0}
  16      {assign var="dateFormat" value=$USER_MODEL->get('date_format')}
  17      <div class="navbar commonActionsContainer noprint">
  18          <div class="actionsContainer row-fluid">
  19              <div class="span2">
  20                  <span class="companyLogo"><img src="{$COMPANY_LOGO->get('imagepath')}" title="{$COMPANY_LOGO->get('title')}" alt="{$COMPANY_LOGO->get('alt')}"/>&nbsp;</span>
  21              </div>
  22              <div class="span10">
  23                  <div class="row-fluid">
  24                      <div class="searchElement span8">
  25                          <div class="select-search">
  26                              <select class="chzn-select" id="basicSearchModulesList" style="width:150px;">
  27                                  <option value="" class="globalSearch_module_All">{vtranslate('LBL_ALL_RECORDS', $MODULE_NAME)}</option>
  28                                  {foreach key=MODULE_NAME item=fieldObject from=$SEARCHABLE_MODULES}
  29                                      {if isset($SEARCHED_MODULE) && $SEARCHED_MODULE eq $MODULE_NAME && $SEARCHED_MODULE !== 'All'}
  30                                          <option value="{$MODULE_NAME}" class="globalSearch_module_{$MODULE_NAME}" selected>{vtranslate($MODULE_NAME,$MODULE_NAME)}</option>
  31                                      {else}
  32                                          <option value="{$MODULE_NAME}" class="globalSearch_module_{$MODULE_NAME}">{vtranslate($MODULE_NAME,$MODULE_NAME)}</option>
  33                                      {/if}
  34                                  {/foreach}
  35                              </select>
  36                          </div>
  37                          <div class="input-append searchBar">
  38                              <input type="text" class="" id="globalSearchValue" placeholder="{vtranslate('LBL_GLOBAL_SEARCH')}" results="10" />
  39                              <span id="searchIcon" class="add-on search-icon"><i class="icon-white icon-search "></i></span>
  40                              <span class="adv-search  pull-left">
  41                                  <a class="alignMiddle" id="globalSearch">{vtranslate('LBL_ADVANCE_SEARCH')}</a>
  42                              </span>
  43                          </div>
  44  
  45                      </div>
  46                      <div class="notificationMessageHolder span2">
  47  
  48                      </div>
  49                      <div class="nav quickActions btn-toolbar span2 pull-right marginLeftZero">
  50                          <div class="pull-right commonActionsButtonContainer">
  51                              {if !empty($announcement)}
  52                                  <div class="btn-group cursorPointer">
  53                                      <img class='alignMiddle' src="{vimage_path('btnAnnounceOff.png')}" alt="{vtranslate('LBL_ANNOUNCEMENT',$MODULE)}" title="{vtranslate('LBL_ANNOUNCEMENT',$MODULE)}" id="announcementBtn" />
  54                                  </div>&nbsp;
  55                              {/if}
  56  
  57                              <div class="btn-group cursorPointer" id="guiderHandler">
  58                                  {if !$MAIN_PRODUCT_WHITELABEL}
  59                                  {/if}
  60                              </div>&nbsp;
  61  
  62                              <div class="btn-group cursorPointer">
  63                                  <img id="menubar_quickCreate" src="{vimage_path('btnAdd.png')}" class="alignMiddle" alt="{vtranslate('LBL_QUICK_CREATE',$MODULE)}" title="{vtranslate('LBL_QUICK_CREATE',$MODULE)}" data-toggle="dropdown" />
  64                                  <ul class="dropdown-menu dropdownStyles commonActionsButtonDropDown">
  65                                      <li class="title"><strong>{vtranslate('Quick Create',$MODULE)}</strong></li><hr/>
  66                                      <li id="quickCreateModules">
  67                                          <div class="row-fluid">
  68                                              <div class="span12">
  69                                                  {foreach key=moduleName item=moduleModel from=$MENUS}
  70                                                      {if $moduleModel->isPermitted('EditView')}
  71                                                          {assign var='quickCreateModule' value=$moduleModel->isQuickCreateSupported()}
  72                                                          {assign var='singularLabel' value=$moduleModel->getSingularLabelKey()}
  73                                                          {if $singularLabel == 'SINGLE_Calendar'}
  74                                                              {assign var='singularLabel' value='LBL_EVENT_OR_TASK'}
  75                                                          {/if}    
  76                                                          {if $quickCreateModule == '1'}
  77                                                              {if $count % 3 == 0}
  78                                                                  <div class="row-fluid">
  79                                                                  {/if}
  80                                                                  <div class="span4">
  81                                                                      <a id="menubar_quickCreate_{$moduleModel->getName()}" class="quickCreateModule" data-name="{$moduleModel->getName()}"
  82                                                                         data-url="{$moduleModel->getQuickCreateUrl()}" href="javascript:void(0)">{vtranslate($singularLabel,$moduleName)}</a>
  83                                                                  </div>
  84                                                                  {if $count % 3 == 2}
  85                                                                  </div>
  86                                                              {/if}
  87                                                              {assign var='count' value=$count+1}
  88                                                          {/if}
  89                                                      {/if}
  90                                                  {/foreach}
  91                                              </div>
  92                                          </div>
  93                                      </li>
  94                                  </ul>
  95                              </div>&nbsp;
  96                          </div>
  97                      </div>
  98                  </div>
  99              </div>
 100          </div>
 101      </div>
 102  {/strip}


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