PageRenderTime 26ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/prestashop/_/cache/smarty/compile/d9/b9/92/d9b992a06f2d7350275fe497171e6295945dbd46.file.filters.tpl.php

https://gitlab.com/A.Julien/sendstockbymail-module-prestashop
PHP | 121 lines | 117 code | 4 blank | 0 comment | 23 complexity | 6a49b3f48c4accae9260cdb08e5372c8 MD5 | raw file
  1. <?php /* Smarty version Smarty-3.1.19, created on 2016-08-29 22:06:40
  2. compiled from "C:\xampp\htdocs\prestashop\prestashop\_\admin\themes\default\template\controllers\modules\filters.tpl" */ ?>
  3. <?php /*%%SmartyHeaderCode:2266657c495d043b5f2-73235416%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. 'd9b992a06f2d7350275fe497171e6295945dbd46' =>
  8. array (
  9. 0 => 'C:\\xampp\\htdocs\\prestashop\\prestashop\\_\\admin\\themes\\default\\template\\controllers\\modules\\filters.tpl',
  10. 1 => 1472500723,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '2266657c495d043b5f2-73235416',
  15. 'function' =>
  16. array (
  17. ),
  18. 'variables' =>
  19. array (
  20. 'showInstalledModules' => 0,
  21. 'showEnabledModules' => 0,
  22. 'showTypeModules' => 0,
  23. 'logged_on_addons' => 0,
  24. 'list_modules_authors' => 0,
  25. 'module_author' => 0,
  26. 'status' => 0,
  27. 'showCountryModules' => 0,
  28. 'nameCountryDefault' => 0,
  29. ),
  30. 'has_nocache_code' => false,
  31. 'version' => 'Smarty-3.1.19',
  32. 'unifunc' => 'content_57c495d05a9950_55956510',
  33. ),false); /*/%%SmartyHeaderCode%%*/?>
  34. <?php if ($_valid && !is_callable('content_57c495d05a9950_55956510')) {function content_57c495d05a9950_55956510($_smarty_tpl) {?>
  35. <!--start filter module-->
  36. <form method="post" class="form-inline">
  37. <div class="row">
  38. <div class="col-lg-8">
  39. <div class="form-group">
  40. <label><?php echo smartyTranslate(array('s'=>'Filter by'),$_smarty_tpl);?>
  41. </label>
  42. <select name="module_install" id="module_install_filter" class="form-control <?php if (isset($_smarty_tpl->tpl_vars['showInstalledModules']->value)&&$_smarty_tpl->tpl_vars['showInstalledModules']->value&&$_smarty_tpl->tpl_vars['showInstalledModules']->value!='installedUninstalled') {?>active<?php }?>">
  43. <option value="installedUninstalled" <?php if ($_smarty_tpl->tpl_vars['showInstalledModules']->value=='installedUninstalled') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Installed & Not Installed'),$_smarty_tpl);?>
  44. </option>
  45. <option value="installed" <?php if ($_smarty_tpl->tpl_vars['showInstalledModules']->value=='installed') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Installed Modules'),$_smarty_tpl);?>
  46. </option>
  47. <option value="uninstalled" <?php if ($_smarty_tpl->tpl_vars['showInstalledModules']->value=='uninstalled') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Modules Not Installed '),$_smarty_tpl);?>
  48. </option>
  49. </select>
  50. </div>
  51. <div class="form-group">
  52. <select name="module_status" id="module_status_filter" class="form-control <?php if (isset($_smarty_tpl->tpl_vars['showEnabledModules']->value)&&$_smarty_tpl->tpl_vars['showEnabledModules']->value&&$_smarty_tpl->tpl_vars['showEnabledModules']->value!='enabledDisabled') {?>active<?php }?>">
  53. <option value="enabledDisabled" <?php if ($_smarty_tpl->tpl_vars['showEnabledModules']->value=='enabledDisabled') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Enabled & Disabled'),$_smarty_tpl);?>
  54. </option>
  55. <option value="enabled" <?php if ($_smarty_tpl->tpl_vars['showEnabledModules']->value=='enabled') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Enabled Modules'),$_smarty_tpl);?>
  56. </option>
  57. <option value="disabled" <?php if ($_smarty_tpl->tpl_vars['showEnabledModules']->value=='disabled') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Disabled Modules'),$_smarty_tpl);?>
  58. </option>
  59. </select>
  60. </div>
  61. </div>
  62. <div class="col-lg-4">
  63. <div class="form-group">
  64. <label><?php echo smartyTranslate(array('s'=>'Authors'),$_smarty_tpl);?>
  65. </label>
  66. <select class="filter <?php if (isset($_smarty_tpl->tpl_vars['showTypeModules']->value)&&$_smarty_tpl->tpl_vars['showTypeModules']->value&&$_smarty_tpl->tpl_vars['showTypeModules']->value!='allModules') {?>active<?php }?>" name="module_type" id="module_type_filter">
  67. <!-- <option value="allModules" <?php if ($_smarty_tpl->tpl_vars['showTypeModules']->value=='allModules') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'All Modules'),$_smarty_tpl);?>
  68. </option>
  69. <option value="nativeModules" <?php if ($_smarty_tpl->tpl_vars['showTypeModules']->value=='nativeModules') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Free Modules'),$_smarty_tpl);?>
  70. </option>
  71. <option value="partnerModules" <?php if ($_smarty_tpl->tpl_vars['showTypeModules']->value=='partnerModules') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Partner Modules (Free)'),$_smarty_tpl);?>
  72. </option>
  73. <option value="mustHaveModules" <?php if ($_smarty_tpl->tpl_vars['showTypeModules']->value=='mustHaveModules') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Must Have'),$_smarty_tpl);?>
  74. </option>
  75. <?php if (isset($_smarty_tpl->tpl_vars['logged_on_addons']->value)) {?><option value="addonsModules" <?php if ($_smarty_tpl->tpl_vars['showTypeModules']->value=='addonsModules') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Modules purchased on Addons'),$_smarty_tpl);?>
  76. </option><?php }?> -->
  77. <option value="allModules" <?php if ($_smarty_tpl->tpl_vars['showTypeModules']->value=='allModules') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'All authors'),$_smarty_tpl);?>
  78. </option>
  79. <?php $_smarty_tpl->tpl_vars['status'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['status']->_loop = false;
  80. $_smarty_tpl->tpl_vars['module_author'] = new Smarty_Variable;
  81. $_from = $_smarty_tpl->tpl_vars['list_modules_authors']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
  82. foreach ($_from as $_smarty_tpl->tpl_vars['status']->key => $_smarty_tpl->tpl_vars['status']->value) {
  83. $_smarty_tpl->tpl_vars['status']->_loop = true;
  84. $_smarty_tpl->tpl_vars['module_author']->value = $_smarty_tpl->tpl_vars['status']->key;
  85. ?>
  86. <option value="authorModules[<?php echo $_smarty_tpl->tpl_vars['module_author']->value;?>
  87. ]" <?php if ($_smarty_tpl->tpl_vars['status']->value=="selected") {?>selected<?php }?>><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate($_smarty_tpl->tpl_vars['module_author']->value,20,'...');?>
  88. </option>
  89. <?php } ?>
  90. <!-- <option value="otherModules" <?php if ($_smarty_tpl->tpl_vars['showTypeModules']->value=='otherModules') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Other Modules'),$_smarty_tpl);?>
  91. </option> -->
  92. </select>
  93. </div>
  94. </div>
  95. </div>
  96. <!-- <span>
  97. <select class="filter fixed-width-lg" name="country_module_value" id="country_module_value_filter">
  98. <option value="0" ><?php echo smartyTranslate(array('s'=>'All countries'),$_smarty_tpl);?>
  99. </option>
  100. <option value="1" <?php if ($_smarty_tpl->tpl_vars['showCountryModules']->value==1) {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Current country:'),$_smarty_tpl);?>
  101. <?php echo $_smarty_tpl->tpl_vars['nameCountryDefault']->value;?>
  102. </option>
  103. </select>
  104. </span> -->
  105. <!-- <span class="pull-right">
  106. <button class="btn btn-default " type="submit" name="resetFilterModules">
  107. <i class="icon-eraser"></i>
  108. <?php echo smartyTranslate(array('s'=>'Reset'),$_smarty_tpl);?>
  109. </button>
  110. <button class="btn btn-default " name="filterModules" id="filterModulesButton" type="submit">
  111. <i class="icon-filter"></i>
  112. <?php echo smartyTranslate(array('s'=>'Filter'),$_smarty_tpl);?>
  113. </button>
  114. </span> -->
  115. </form>
  116. <!--end filter module-->
  117. <?php }} ?>