<table id="<?php echo $this->_tpl_vars['DataGrid']['Id']; ?> " class="pgui-grid grid legacy <?php echo $this->_tpl_vars['DataGrid']['Classes']; ?> " data-grid-hidden-values="<?php echo is_array($_tmp = $this->_tpl_vars['DataGrid']['HiddenValuesJson']) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'); ?> " data-inline-edit="{ "enabled":"<?php echo smarty_function_jsbool(array('value' => $this->_tpl_vars['DataGrid']['UseInlineEdit']), $this); ?> ", "request":"<?php echo is_array($_tmp = $this->_tpl_vars['DataGrid']['Links']['InlineEditRequest']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> "}" <?php $this->_tag_stack[] = array('style_block', array()); $_block_repeat = true; smarty_block_style_block($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <?php echo $this->_tpl_vars['DataGrid']['Styles']; ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'list/grid.tpl', 5, false),array('modifier', 'escapeurl', 'list/grid.tpl', 6, false),array('function', 'jsbool', 'list/grid.tpl', 6, false),array('function', 'jsstring', 'list/grid.tpl', 300, false),array('block', 'style_block', 'list/grid.tpl', 7, false),)), $this); ?> <table id="<?php echo $this->_tpl_vars['DataGrid']['Id']; ?> " class="pgui-grid grid legacy <?php echo $this->_tpl_vars['DataGrid']['Classes']; ?> " data-is-master="<?php echo $this->_tpl_vars['isMasterGrid']; ?> " data-grid-hidden-values="<?php echo ((is_array($_tmp=$this->_tpl_vars['DataGrid']['HiddenValuesJson'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?> " data-inline-edit="{ "enabled":"<?php echo smarty_function_jsbool(array('value' => $this->_tpl_vars['DataGrid']['UseInlineEdit']), $this);?> ", "request":"<?php echo ((is_array($_tmp=$this->_tpl_vars['DataGrid']['Links']['InlineEditRequest'])) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp)); ?> "}" <?php $this->_tag_stack[] = array('style_block', array()); $_block_repeat=true;smarty_block_style_block($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?> <?php echo $this->_tpl_vars['DataGrid']['Styles']; ?> <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_style_block($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?> <?php echo $this->_tpl_vars['DataGrid']['Attributes']; ?> > <thead> <?php if ($this->_tpl_vars['DataGrid']['ActionsPanelAvailable']): ?> <tr> <td colspan="<?php echo $this->_tpl_vars['DataGrid']['ColumnCount']; ?> " class="header-panel"> <div class="btn-toolbar pull-left"> <div class="btn-group"> <?php if ($this->_tpl_vars['DataGrid']['ActionsPanel']['InlineAdd']): ?> <button class="btn inline_add_button" href="#"> <i class="pg-icon-add-record"></i> <?php echo $this->_tpl_vars['Captions']->GetMessageString('AddNewRecord'); ?>