  {*<!--
 /*+*******************************************************************************
 * The content of this file is subject to the CRMTiger Pro license.
 * ("License"); You may not use this file except in compliance with the License
 * The Initial Developer of the Original Code is vTiger
 * The Modified Code of the Original Code owned by https://crmtiger.com/
 * Portions created by CRMTiger.com are Copyright(C) CRMTiger.com
 * All Rights Reserved.
  ***************************************************************************** */
-->*}

<div class="container-fluid">
    

<div class="container-fluid main_apilogs_settings" id="apilogs_settings_block">
    <div class="widget_header row-fluid">
        <button type="button" class="btn btn-info pull-right" style="background:#287DF2 !important;" onclick='window.location.href="{CTMobileSettings_Module_Model::$CTMOBILE_DETAILVIEW_URL}"'>{vtranslate('Go To CRMTiger Settings',$MODULE)}</button>
        <h3>{vtranslate('CRMTiger Mobile Apps - Module Icons', 'CTMobileSettings')}</h3>
    </div>
    
      <div class="clearfix"></div>
      <div class="summaryWidgetContainer" id="module_icons_settings">
          <table class="table table-bordered blockContainer showInlineTable equalSplit">
            {assign var=COUNTER value=0}
            <tr>
            {foreach item=modulemodel from=$ALL_MODULES}
              {if $COUNTER eq 2}
                    </tr><tr>
                    {assign var=COUNTER value=1}
              {else}
                    {assign var=COUNTER value=$COUNTER+1}
              {/if}
              <td class="fieldLabel alignMiddle">
               {vtranslate($modulemodel->getName(),$modulemodel->getName())}
              </td>
              <td class="fieldValue">
                  {if file_exists("{$ROOT_DIRECTORY}modules/CTMobile/MobileIcon/{$modulemodel->getName()}.png")}
                  <img src="modules/CTMobile/MobileIcon/{$modulemodel->getName()}.png"/>
                  {else}
                  <img src="modules/CTMobile/MobileIcon/CRMTiger.png"/>
                  {/if}
                  <span class="action pull-right">
                  <input type="hidden" name="modulename" value="{$modulemodel->getName()}"/>
                  <a href="#" title="{vtranslate('LBL_EDIT','CTMobileSettings')}" onclick="return false;" class="editModuleIcons icon-edit"></a></span>
              </td>
            {/foreach}
          </table>
      </div>
     
</div>