/* Smarty version 2.6.26, created on 2015-12-03 18:16:34 compiled from custom:backend/discount/grid.tpl */ require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'link', 'custom:backend/discount/grid.tpl', 3, false), array('function', 'activeGrid', 'custom:backend/discount/grid.tpl', 7, false), array('function', 'translate', 'custom:backend/discount/grid.tpl', 23, false), array('modifier', 'addslashes', 'custom:backend/discount/grid.tpl', 23, false))), $this); echo ' <script type="text/javascript"> Backend.Discount.GridFormatter.url = \''; echo smarty_function_link(array('controller' => "backend.discount"), $this); echo '\'; </script> '; ?> <?php echo smarty_function_activeGrid(array('prefix' => 'discount', 'id' => 0, 'role' => "product.mass", 'controller' => "backend.discount", 'action' => 'lists', 'displayedColumns' => $this->_tpl_vars['displayedColumns'], 'availableColumns' => $this->_tpl_vars['availableColumns'], 'totalCount' => $this->_tpl_vars['totalCount'], 'container' => 'discountGrid', 'dataFormatter' => "Backend.Discount.GridFormatter", 'massAction' => "backend/discount/massAction.tpl", 'count' => "backend/discount/gridCount.tpl"), $this); ?> <?php echo ' <script type="text/javascript"> var massHandler = new ActiveGrid.MassActionHandler($(\'discountMass\'), window.activeGrids[\'discount_0\']); massHandler.deleteConfirmMessage = \''; ob_start(); echo smarty_function_translate(array('text' => '_are_you_sure_you_want_to_delete_rule'), $this); $this->_smarty_vars['capture']['default'] = ob_get_contents(); $this->assign('translation__are_you_sure_you_want_to_delete_rule', ob_get_contents()); ob_end_clean(); echo is_array($_tmp = $this->_tpl_vars['translation__are_you_sure_you_want_to_delete_rule']) ? $this->_run_mod_handler('addslashes', true, $_tmp) : addslashes($_tmp); echo '\' ;
<ul class="menu"> <li class="addNewsletterMenu"> <a href="#" onclick="Backend.Newsletter.showAddForm(this); return false;"> <?php echo smarty_function_translate(array('text' => '_create_message'), $this); ?> </a> <span class="progressIndicator" id="currAddMenuLoadIndicator" style="display: none;"></span> </li> </ul> <div class="clear"></div> <?php echo smarty_function_activeGrid(array('prefix' => 'newsletters', 'id' => 0, 'controller' => "backend.newsletter", 'action' => 'lists', 'displayedColumns' => $this->_tpl_vars['displayedColumns'], 'availableColumns' => $this->_tpl_vars['availableColumns'], 'totalCount' => 0, 'filters' => $this->_tpl_vars['filters'], 'container' => 'tabMessages', 'dataFormatter' => "Backend.Newsletter.GridFormatter", 'count' => "backend/newsletter/count.tpl", 'massAction' => "backend/newsletter/massAction.tpl"), $this); ?> </div> <div id="tabSubscribersContent" class="tabPageContainer"></div> </div> </div> <div id="addMessageContainer" style="display: none;"></div> <div id="newsletterManagerContainer" class="maxHeight h--90" style="display: none;"> <fieldset class="container"> <ul class="menu cancelEditing"> <li class="done">
} ?> <?php if ($this->_tpl_vars['request']['userOrderID']) { ?> Backend.User.OrderGridFormatter = Backend.CustomerOrder.GridFormatter; <?php } ?> </script> <?php echo smarty_function_activeGrid(array('prefix' => 'orders', 'id' => $this->_tpl_vars['orderGroupID'], 'role' => "order.mass", 'controller' => "backend.customerOrder", 'action' => 'lists', 'displayedColumns' => $this->_tpl_vars['displayedColumns'], 'availableColumns' => $this->_tpl_vars['availableColumns'], 'totalCount' => $this->_tpl_vars['totalCount'], 'rowCount' => 15, 'showID' => true, 'container' => 'tabPageContainer', 'filters' => $this->_tpl_vars['filters'], 'dataFormatter' => $this->_tpl_vars['dataFormatter'], 'count' => "backend/customerOrder/count.tpl", 'massAction' => "backend/customerOrder/massAction.tpl", 'advancedSearch' => true), $this); ?> <li class="detailedExport" id="detailedExportContainer_<?php echo $this->_tpl_vars['orderGroupID']; ?> "> <a href="#" onclick="var grid = window.activeGrids['<?php echo $this->_tpl_vars['prefix']; ?> _<?php echo $this->_tpl_vars['id']; ?> ']; window.location.href='<?php echo smarty_function_link(array('controller' => "backend.customerOrder", 'action' => 'exportDetailed'), $this);
</fieldset> <?php echo ' <script type="text/javascript"> Backend.UserGroup.GridFormatter.userUrl = \''; echo smarty_function_backendUserUrl(array(), $this); echo '\'; </script> '; ?> <?php echo smarty_function_activeGrid(array('prefix' => 'users', 'id' => $this->_tpl_vars['userGroupID'], 'role' => "user.mass", 'controller' => "backend.userGroup", 'action' => 'lists', 'displayedColumns' => $this->_tpl_vars['displayedColumns'], 'availableColumns' => $this->_tpl_vars['availableColumns'], 'totalCount' => $this->_tpl_vars['totalCount'], 'container' => 'tabPageContainer', 'dataFormatter' => "Backend.UserGroup.GridFormatter", 'count' => "backend/userGroup/count.tpl", 'massAction' => "backend/userGroup/massAction.tpl", 'advancedSearch' => true), $this); ?> </div> <?php echo ' <script type="text/javascript"> var massHandler = new Backend.UserGroup.massActionHandler($(\''; ?> userMass_<?php echo $this->_tpl_vars['userGroupID']; echo '\'), window.activeGrids[\''; ?> users_<?php
<a href="#" onclick="Backend.Product.showAddForm(<?php echo $this->_tpl_vars['categoryID']; ?> , this); return false;"> <?php echo smarty_function_translate(array('text' => '_add_product'), $this); ?> </a> <span class="progressIndicator" style="display: none;"></span> </li> </ul> </fieldset> <?php echo smarty_function_activeGrid(array('prefix' => 'products', 'id' => $this->_tpl_vars['categoryID'], 'role' => "product.mass", 'controller' => "backend.product", 'action' => 'lists', 'displayedColumns' => $this->_tpl_vars['displayedColumns'], 'availableColumns' => $this->_tpl_vars['availableColumns'], 'totalCount' => $this->_tpl_vars['totalCount'], 'filters' => $this->_tpl_vars['filters'], 'container' => 'tabProducts', 'dataFormatter' => "Backend.Product.GridFormatter", 'count' => "backend/product/count.tpl", 'massAction' => "backend/product/massAction.tpl", 'advancedSearch' => true), $this); ?> <li class="detailedExport" id="detailedExportContainer_<?php echo $this->_tpl_vars['categoryID']; ?> "> <a href="#" onclick="var grid = window.activeGrids['products_<?php echo $this->_tpl_vars['categoryID']; ?> ']; window.location.href='<?php echo smarty_function_link(array('controller' => "backend.product", 'action' => 'exportDetailed'), $this); ?> ?' + grid.ricoGrid.getQueryString()+ '&selectedIDs=' + grid.getSelectedIDs().toJSON() + '&isInverse=' + (grid.isInverseSelection() ? 1 : 0); return false;">Export Variations</a> </li>