<!-- BEGIN: MAIN -->
{FILE "{PHP.cfg.themes_dir}/admin/{PHP.cfg.admintheme}/warnings.tpl"}

<!-- BEGIN: CONFIG_URL -->
<ul>
  <li><a title="{PHP.L.Configuration}" href="{ADMIN_EXTENSIONS_CONFIG_URL}">{PHP.L.Configuration}: {PHP.R.admin_icon_config}</a></li>
</ul>
<!-- END: CONFIG_URL -->

<!-- BEGIN: DETAILS -->

    <div class="box">
    <div class="h_title"><!-- IF {ADMIN_EXTENSIONS_ICO} -->
  <img src="{ADMIN_EXTENSIONS_ICO}">
  <!-- ELSE -->
  <img src="{PHP.cfg.themes_dir}/admin/easyadmin/img/sys_package.png">
  <!-- ENDIF -->  {ADMIN_EXTENSIONS_TYPE}: <span class="green">{ADMIN_EXTENSIONS_NAME}</span></div>
     <div class="row row-box odd-box">
        <div class="col-md-2"><b>{PHP.L.Description}:</b></div>
        <div class="col-md-10">{ADMIN_EXTENSIONS_DESCRIPTION}</div>
      </div>
      <div class="row row-box odd-box">
        <div class="col-md-2"><b>{PHP.L.Code}:</b></div>
        <div class="col-md-10">{ADMIN_EXTENSIONS_CODE}</div>
      </div>
      <div class="row row-box odd-box">
        <div class="col-md-2"><b>{PHP.L.Version}:</b></div>
        <div class="col-md-10">
          <!-- IF {PHP.isinstalled} AND {ADMIN_EXTENSIONS_VERSION_COMPARE} > 0 -->
          <span class="badge badge-warning">{ADMIN_EXTENSIONS_VERSION_INSTALLED}</span> <span class="badge badge-success">{ADMIN_EXTENSIONS_VERSION}</span>
          <!-- ELSE -->
          {ADMIN_EXTENSIONS_VERSION}
          <!-- ENDIF --></div>
      </div>
    </div>

    <div class="box">
      <ul class="nav navbar-nav">
        <!-- IF {PHP.isinstalled} AND {PHP.exists} -->
        <!-- IF {ADMIN_EXTENSIONS_JUMPTO_URL} -->
        <li><a title="{PHP.L.Open}" href="{ADMIN_EXTENSIONS_JUMPTO_URL}"><i class="fa fa-share-alt"></i> {PHP.L.Open}</a></li>
        <!-- ENDIF -->

        <!-- IF {ADMIN_EXTENSIONS_JUMPTO_URL_TOOLS} -->
        <li><a title="{PHP.L.Administration}" href="{ADMIN_EXTENSIONS_JUMPTO_URL_TOOLS}"><i class="fa fa-wrench"></i> {PHP.L.Administration}</a></li>
        <!-- ENDIF -->

        <!-- IF {ADMIN_EXTENSIONS_TOTALCONFIG} > 0 -->
        <li><a title="{PHP.L.Configuration}" href="{ADMIN_EXTENSIONS_CONFIG_URL}"><i class="fa fa-cog"></i> {PHP.L.Configuration} ({ADMIN_EXTENSIONS_TOTALCONFIG})</a></li>
        <!-- ENDIF -->

        <li><a title="{PHP.L.Rights}" href="{ADMIN_EXTENSIONS_RIGHTS}"><i class="fa fa-eye-slash"></i> {PHP.L.short_rights}</a></li>

        <!-- IF {ADMIN_EXTENSIONS_JUMPTO_URL_STRUCT} -->
        <li><a title="{PHP.L.Structure}" href="{ADMIN_EXTENSIONS_JUMPTO_URL_STRUCT}"><i class="fa fa-list"></i> {PHP.L.Structure}</a></li>
        <!-- ENDIF -->

        <!-- ENDIF -->

        <!-- IF !{PHP.isinstalled} -->
        <li><a title="{PHP.L.adm_opt_install_explain}" href="{ADMIN_EXTENSIONS_INSTALL_URL}"><i class="fa fa-ok"></i> {PHP.L.adm_opt_install}</a></li>
        <!-- ELSE -->
        <!-- IF {PHP.exists} -->
        <li><a title="{PHP.L.adm_opt_install_explain}" href="{ADMIN_EXTENSIONS_UPDATE_URL}"><i class="fa fa-refresh"></i> {PHP.L.adm_opt_update}</a></li>
        <!-- ENDIF -->

        <li><a title="{PHP.L.adm_opt_pauseall_explain}" href="{ADMIN_EXTENSIONS_PAUSE_URL}"><i class="fa fa-pause"></i> {PHP.L.adm_opt_pauseall}</a></li>

        <!-- IF {PHP.exists} -->
        <li><a title="{PHP.L.adm_opt_unpauseall_explain}" href="{ADMIN_EXTENSIONS_UNPAUSE_URL}"><i class="fa fa-play"></i> {PHP.L.adm_opt_unpauseall}</a></li>
        <!-- ENDIF -->
        <li><a title="{PHP.L.adm_opt_uninstall_explain}" href="{ADMIN_EXTENSIONS_UNINSTALL_URL}"><i class="fa fa-remove"></i> {PHP.L.adm_opt_uninstall}</a></li>
        <!-- ENDIF -->
      </ul>
    </div>
<div class="row hidden">
  <div class="col-md-8">
  </div>
  <div class="col-md-4">
    <ul class="nav nav-list">
      <!-- IF {PHP.isinstalled} AND {PHP.exists} -->
      <!-- IF {ADMIN_EXTENSIONS_JUMPTO_URL} -->
      <li><a title="{PHP.L.Open}" href="{ADMIN_EXTENSIONS_JUMPTO_URL}"><i class="fa fa-share-alt"></i> {PHP.L.Open}</a></li>
      <!-- ENDIF -->

      <!-- IF {ADMIN_EXTENSIONS_JUMPTO_URL_TOOLS} -->
      <li><a title="{PHP.L.Administration}" href="{ADMIN_EXTENSIONS_JUMPTO_URL_TOOLS}"><i class="fa fa-wrench"></i> {PHP.L.Administration}</a></li>
      <!-- ENDIF -->

      <!-- IF {ADMIN_EXTENSIONS_TOTALCONFIG} > 0 -->
      <li><a title="{PHP.L.Configuration}" href="{ADMIN_EXTENSIONS_CONFIG_URL}"><i class="fa fa-cog"></i> {PHP.L.Configuration} ({ADMIN_EXTENSIONS_TOTALCONFIG})</a></li>
      <!-- ENDIF -->

      <li><a title="{PHP.L.Rights}" href="{ADMIN_EXTENSIONS_RIGHTS}"><i class="fa fa-eye-open"></i> {PHP.L.short_rights}</a></li>

      <!-- IF {ADMIN_EXTENSIONS_JUMPTO_URL_STRUCT} -->
      <li><a title="{PHP.L.Structure}" href="{ADMIN_EXTENSIONS_JUMPTO_URL_STRUCT}"><i class="fa fa-list"></i> {PHP.L.Structure}</a></li>
      <!-- ENDIF -->

      <!-- ENDIF -->

      <!-- IF !{PHP.isinstalled} -->
      <li><a title="{PHP.L.adm_opt_install_explain}" href="{ADMIN_EXTENSIONS_INSTALL_URL}"><i class="fa fa-ok"></i> {PHP.L.adm_opt_install}</a></li>
      <!-- ELSE -->
      <!-- IF {PHP.exists} -->
      <li><a title="{PHP.L.adm_opt_install_explain}" href="{ADMIN_EXTENSIONS_UPDATE_URL}"><i class="fa fa-refresh"></i> {PHP.L.adm_opt_update}</a></li>
      <!-- ENDIF -->

      <li><a title="{PHP.L.adm_opt_pauseall_explain}" href="{ADMIN_EXTENSIONS_PAUSE_URL}"><i class="fa fa-pause"></i> {PHP.L.adm_opt_pauseall}</a></li>

      <!-- IF {PHP.exists} -->
      <li><a title="{PHP.L.adm_opt_unpauseall_explain}" href="{ADMIN_EXTENSIONS_UNPAUSE_URL}"><i class="fa fa-play"></i> {PHP.L.adm_opt_unpauseall}</a></li>
      <!-- ENDIF -->
      <li><a title="{PHP.L.adm_opt_uninstall_explain}" href="{ADMIN_EXTENSIONS_UNINSTALL_URL}"><i class="fa fa-remove"></i> {PHP.L.adm_opt_uninstall}</a></li>
      <!-- ENDIF -->
    </ul>
  </div>
</div>
<div style="clear:both;"></div>
<ul class="nav nav-tabs">
  <li role="presentation"><a data-toggle="tab" role="tab" aria-controls="tab1" href="#tab1"><i class="fa fa-tags"></i> {PHP.L.Tags}</a></li>
  <li class="active" role="presentation"><a data-toggle="tab" role="tab" aria-controls="tab2" href="#tab2"><i class="fa fa-tasks"></i> {PHP.L.Parts}</a></li>
</ul>
<div class="tab-content box" style="border-top: 0;">
  <div id="tab1" class="tab-pane fade" role="tabpanel">
    <table class="table">
      <thead>
        <tr>
          <th>#</th>
          <th>{PHP.L.Part}</th>
          <th>{PHP.L.Files} / {PHP.L.Tags}</th>
        </tr>
      </thead>
      <tbody>
        <!-- BEGIN: ROW_ERROR_TAGS -->
        <tr>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_I_1}</td>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_PART}</td>
          <td>{PHP.L.None}</td>
        </tr>
        <!-- END: ROW_ERROR_TAGS -->
        <!-- BEGIN: ROW_TAGS -->
        <tr>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_I_1}</td>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_PART}</td>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_LISTTAGS}</td>
        </tr>
        <!-- END: ROW_TAGS -->
      </tbody>
    </table>
  </div>
  <div id="tab2" class="tab-pane fade in active" role="tabpanel">
    <table class="table">
      <thead>
        <tr>
          <th>#</th>
          <th>{PHP.L.Part}</th>
          <th>{PHP.L.File}</th>
          <th>{PHP.L.Hooks}</th>
          <th>{PHP.L.Order}</th>
          <th>{PHP.L.Status}</th>
          <th>{PHP.L.Action}</th>
        </tr>
      </thead>
      <tbody>
        <!-- BEGIN: ROW_ERROR_PART -->
        <tr>
          <td colspan="3">{ADMIN_EXTENSIONS_DETAILS_ROW_X}</td>
          <td colspan="4">{ADMIN_EXTENSIONS_DETAILS_ROW_ERROR}</td>
        </tr>
        <!-- END: ROW_ERROR_PART -->
        <!-- BEGIN: ROW_PART -->
        <tr>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_I_1}</td>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_PART}</td>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_FILE}</td>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_HOOKS}</td>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_ORDER}</td>
          <td>{ADMIN_EXTENSIONS_DETAILS_ROW_STATUS}</td>
          <td><!-- BEGIN: ROW_PART_NOTINSTALLED -->
            &ndash;
            <!-- END: ROW_PART_NOTINSTALLED -->
            <!-- BEGIN: ROW_PART_PAUSE -->
            <a href="{ADMIN_EXTENSIONS_DETAILS_ROW_PAUSEPART_URL}" class="btn btn-mini"><i class="fa fa-pause"></i> {PHP.L.adm_opt_pause}</a>
            <!-- END: ROW_PART_PAUSE -->
            <!-- BEGIN: ROW_PART_UNPAUSE -->
            <a href="{ADMIN_EXTENSIONS_DETAILS_ROW_UNPAUSEPART_URL}" class="btn btn-mini"><i class="fa fa-play"></i> {PHP.L.adm_opt_unpause}</a>
            <!-- END: ROW_PART_UNPAUSE --></td>
        </tr>
        <!-- END: ROW_PART -->
      </tbody>
    </table>
  </div>
</div>
<!-- END: DETAILS -->

<!-- BEGIN: HOOKS -->
<div class="mg-bt20">
  <div class="btn-group"><a class="btn<!-- IF {ADMIN_EXTENSIONS_SORT_ALP_SEL} --> btn-default<!-- ENDIF -->" href="{PHP|cot_url('admin', 'm=extensions')}"><i class="fa fa-sort-alpha-asc"></i> {PHP.L.adm_sort_alphabet}</a> <a class="btn<!-- IF {ADMIN_EXTENSIONS_SORT_CAT_SEL} --> btn-default<!-- ENDIF -->" href="{PHP|cot_url('admin', 'm=extensions&sort=cat')}"><i class="fa fa-th"></i> {PHP.L.adm_sort_category}</a> <a class="btn<!-- IF {PHP.a} == 'hooks' --> btn-default<!-- ENDIF -->" href="{ADMIN_EXTENSIONS_HOOKS_URL}"><i class="fa fa-leaf"></i> {PHP.L.Hooks}</a> </div>
</div>
<h3>{PHP.L.Hooks} ({ADMIN_EXTENSIONS_CNT_HOOK}):</h3>
<table class="table">
  <thead>
    <tr>
      <th>{PHP.L.Hooks}</th>
      <th>{PHP.L.Plugin}</th>
      <th>{PHP.L.Order}</th>
      <th>{PHP.L.Active}</th>
    </tr>
  </thead>
  <tbody>
    <!-- BEGIN: HOOKS_ROW -->
    <tr>
      <td>{ADMIN_EXTENSIONS_HOOK}</td>
      <td>{ADMIN_EXTENSIONS_CODE}</td>
      <td>{ADMIN_EXTENSIONS_ORDER}</td>
      <td>{ADMIN_EXTENSIONS_ACTIVE}</td>
    </tr>
    <!-- END: HOOKS_ROW -->
  </tbody>
</table>
<!-- END: HOOKS -->

<!-- BEGIN: DEFAULT -->
<div class="mg-bt20">
  <div class="btn-group"> <a class="btn<!-- IF {ADMIN_EXTENSIONS_ONLY_INSTALLED_SEL} --> btn-default<!-- ENDIF -->" href="{ADMIN_EXTENSIONS_ONLY_INSTALLED_URL}"><i class="fa fa-check"></i> {PHP.L.adm_only_installed}</a> <a class="btn<!-- IF {ADMIN_EXTENSIONS_SORT_ALP_SEL} --> btn-default<!-- ENDIF -->" href="{ADMIN_EXTENSIONS_SORT_ALP_URL}"><i class="fa fa-sort-alpha-asc"></i> {PHP.L.adm_sort_alphabet}</a> <a class="btn<!-- IF {ADMIN_EXTENSIONS_SORT_CAT_SEL} --> btn-default<!-- ENDIF -->" href="{ADMIN_EXTENSIONS_SORT_CAT_URL}"><i class="fa fa-th"></i> {PHP.L.adm_sort_category}</a> <a class="btn<!-- IF {PHP.a} == 'hooks' --> btn-default<!-- ENDIF -->" href="{ADMIN_EXTENSIONS_HOOKS_URL}"><i class="fa fa-leaf"></i> {PHP.L.Hooks}</a> </div>
</div>

<!-- BEGIN: SECTION-->
<div class="box">
  <h4 class="h_title">{ADMIN_EXTENSIONS_SECTION_TITLE} <small>{ADMIN_EXTENSIONS_CNT_EXTP}</small></h4>
  <table class="table">
    <thead class="hidden">
      <tr>
        <th>{PHP.L.Name}</th>
        <th style="width:150px;">{PHP.L.Code}</th>
        <th style="width:100px;">{PHP.L.Version}</th>
        <th style="width:60px;">{PHP.L.Parts}</th>
        <th style="width:140px;">{PHP.L.Status}</th>
        <th style="width:140px;">{PHP.L.Action}</th>
      </tr>
    </thead>
    <div class="row mg-0">
      <!-- BEGIN: ROW -->
      <div class="col-pd-10 col-lg-3 col-md-4 col-sm-6">
        <!-- BEGIN: ROW_CAT -->
        <div class="hidden"> {ADMIN_EXTENSIONS_CAT_TITLE} </div>
        <!-- END: ROW_CAT -->
        <!-- BEGIN: ROW_ERROR_EXT-->
        <!-- IF {ADMIN_EXTENSIONS_ERROR_MSG} -->
        <div class="hidden">{ADMIN_EXTENSIONS_X_ERR}<br>
          {ADMIN_EXTENSIONS_ERROR_MSG} </div>
        <!-- ENDIF -->
        <!-- END: ROW_ERROR_EXT -->
        <div class="ext_block">
          <div class="row">
            <div class="col-lg-3 col-md-3 hidden-sm hidden-xs">
              <div class="ex_img"><a href="{ADMIN_EXTENSIONS_DETAILS_URL}"><!-- IF {ADMIN_EXTENSIONS_ICO} -->
                <img src="{ADMIN_EXTENSIONS_ICO}">
                <!-- ELSE -->
                <img src="{PHP.cfg.themes_dir}/admin/easyadmin/img/sys_package.png">
                <!-- ENDIF --></a> </div>
            </div>
            <div class="col-lg-9 col-md-9">
              <ul>
                <li class="text_size"><a href="{ADMIN_EXTENSIONS_DETAILS_URL}"><b>{ADMIN_EXTENSIONS_NAME}</b></a></li>
                <li><small>{PHP.L.Code}:</small> <strong>{ADMIN_EXTENSIONS_CODE_X}</strong></li>
                <li><small>{PHP.L.Version}:</small>
                  <!-- IF {PHP.part_status} != 3 AND {ADMIN_EXTENSIONS_VERSION_COMPARE} > 0 -->
                  <span class="badge badge-warning">{ADMIN_EXTENSIONS_VERSION_INSTALLED}</span> <span class="badge badge-success">{ADMIN_EXTENSIONS_VERSION}</span>
                  <!-- ELSE -->
                  <strong>{ADMIN_EXTENSIONS_VERSION}</strong>
                  <!-- ENDIF -->
                </li>
              </ul>
            </div>
          </div>
          <!-- IF {ADMIN_EXTENSIONS_DESCRIPTION} -->
          <small class="desc text_size">{ADMIN_EXTENSIONS_DESCRIPTION}</small>
          <!-- ENDIF -->
          <div class="action">
            <div class="row">
              <div class="col-md-9 col-sm-9 col-xs-9 text_size"> <span class="<!-- IF {PHP.part_status} == 1 -->green<!-- ENDIF --><!-- IF {PHP.part_status} == 3 -->red<!-- ENDIF --><!-- IF {PHP.part_status} == 0 -->orange<!-- ENDIF -->">{ADMIN_EXTENSIONS_STATUS}</span> </div>
              <div class="col-md-3 col-sm-3 col-xs-3 text-right">
                <!-- IF {PHP.part_status} != 3 -->
                <div class="btn-group dropup">
                  <button type="button" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-cog"></i> <span class="caret"></span> </button>
                  <ul class="dropdown-menu dropdown-menu-right">
                    <!-- IF {PHP.if_plg_standalone} -->
                    <li><a href="{ADMIN_EXTENSIONS_JUMPTO_URL}"><i class="fa fa-share-alt"></i> {PHP.L.Open}</a></li>
                    <!-- ENDIF -->
                    <!-- IF {ADMIN_EXTENSIONS_TOTALCONFIG} -->
                    <li><a href="{ADMIN_EXTENSIONS_EDIT_URL}"><i class="fa fa-cog"></i> {PHP.L.Configuration}</a></li>
                    <!-- ENDIF -->
                    <!-- IF {PHP.ifstruct} -->
                    <li><a href="{ADMIN_EXTENSIONS_JUMPTO_URL_STRUCT}"><i class="fa fa-list"></i> {PHP.L.Structure}</a></li>
                    <!-- ENDIF -->

                    <!-- IF {PHP.totalinstalled} -->
                    <li><a href="{ADMIN_EXTENSIONS_RIGHTS_URL}"><i class="fa fa-eye-slash"></i> {PHP.L.Rights}</a></li>
                    <!-- ENDIF -->

                    <!-- IF {PHP.ifthistools} -->
                    <li><a href="{ADMIN_EXTENSIONS_JUMPTO_URL_TOOLS}"><i class="fa fa-wrench"></i> {PHP.L.Administration}</a></li>
                    <!-- ENDIF -->
                  </ul>
                </div>
                <!-- ELSE -->
                <a class="btn btn-default btn-xs" href="<!-- IF {PHP.type} == 'module' -->{ADMIN_EXTENSIONS_CODE_X|cot_url('admin', 'm=extensions&a=details&mod=$this&b=install')}<!-- ELSE -->{ADMIN_EXTENSIONS_CODE_X|cot_url('admin', 'm=extensions&a=details&pl=$this&b=install')}<!-- ENDIF -->" title="{PHP.L.adm_opt_install}"><i class="fa fa-usb"></i></a>
                <!-- ENDIF -->

              </div>
            </div>
          </div>
        </div>
      </div>
      <!-- END: ROW -->
      <!-- BEGIN: ROW_ERROR -->
      <tr>
        <td>{ADMIN_EXTENSIONS_X}</td>
        <td colspan="5">{PHP.L.adm_opt_setup_missing}</td>
      </tr>
      <!-- END: ROW_ERROR -->
    </div>
  </table>
</div>
<!-- END: SECTION -->

<!-- END: DEFAULT -->

<!-- BEGIN: EDIT -->
<h2>{ADMIN_EXTENSIONS_EDIT_TITLE}</h2>
<div class="block">
  <div class="{ADMIN_EXTENSIONS_EDIT_RESULT}"> {ADMIN_EXTENSIONS_EDIT_LOG} </div>
</div>
<div class="block btn-toolbar"> <a href="{ADMIN_EXTENSIONS_EDIT_CONTINUE_URL}" class="ajax btn special large">{PHP.L.Clickhere}</a> </div>
<!-- END: EDIT -->
<!-- END: MAIN -->