} } unset($_from); ?> </ul> </div> <?php } ?> <?php if ($this->_tpl_vars['Grid']['PrintOneRecord']) { ?> <div class="btn-group"> <a class="btn" href="<?php echo is_array($_tmp = $this->_tpl_vars['Grid']['PrintRecordLink']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> "> <i class="pg-icon-print-page icon-white"></i> <?php echo $this->_tpl_vars['Captions']->GetMessageString('PrintOneRecord'); ?> </a> </div> <?php } ?>
echo $this->_tpl_vars['LoginControl']->GetErrorMessage(); ?> </div> <?php } ?> <div class="form-group text-center"> <button class="btn btn-primary" type="submit"><?php echo $this->_tpl_vars['Captions']->GetMessageString('Login'); ?> </button> <?php if ($this->_tpl_vars['LoginControl']->CanLoginAsGuest()) { ?> <a href="<?php echo is_array($_tmp = $this->_tpl_vars['LoginControl']->GetLoginAsGuestLink()) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> " class="btn btn-default"><?php echo $this->_tpl_vars['Captions']->GetMessageString('LoginAsGuest'); ?> </a> <?php } ?> </div> </form> </div>
settype($_from, 'array'); } $this->_foreach['SiblingDetailsSection'] = array('total' => count($_from), 'iteration' => 0); if ($this->_foreach['SiblingDetailsSection']['total'] > 0) { foreach ($_from as $this->_tpl_vars['SiblingDetail']) { $this->_foreach['SiblingDetailsSection']['iteration']++; ?> <li class="<?php if ($this->_tpl_vars['DetailPageName'] == $this->_tpl_vars['SiblingDetail']['Name']) { ?> active<?php } ?> "> <a href="<?php echo is_array($_tmp = $this->_tpl_vars['SiblingDetail']['Link']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> "> <?php echo $this->_tpl_vars['SiblingDetail']['Caption']; ?> </a> </li> <?php } } unset($_from); ?> </ul> <?php
$_from = $this->_tpl_vars['PageNavigatorPages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['PageNavigatorPage']) { echo ''; if ($this->_tpl_vars['PageNavigatorPage']->GetPageLink()) { echo '<li '; if ($this->_tpl_vars['PageNavigatorPage']->IsCurrent()) { echo 'class="active"'; } echo '><a'; echo smarty_function_n(array(), $this); echo ' href="'; echo is_array($_tmp = $this->_tpl_vars['PageNavigatorPage']->GetPageLink()) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); echo '"'; echo smarty_function_n(array(), $this); echo ' title="'; echo $this->_tpl_vars['PageNavigatorPage']->GetHint(); echo '"'; echo smarty_function_n(array(), $this); echo ' '; if ($this->_tpl_vars['PageNavigatorPage']->HasShortCut()) { echo 'pgui-shortcut="'; echo $this->_tpl_vars['PageNavigatorPage']->GetShortCut(); echo '"'; } echo '>'; echo $this->_tpl_vars['PageNavigatorPage']->GetPageCaption(); echo '</a></li>';
if ($this->_tpl_vars['IsActiveFilterEmpty']) { ?> <i class="pg-icon-filter-new"></i> <a class="create-filter" href="#"> <?php echo $this->_tpl_vars['Captions']->GetMessageString('CreateFilter'); ?> </a> <?php } else { ?> <i class="pg-icon-filter"></i> <a class="edit-filter" href="#"> <?php echo is_array($_tmp = $this->_tpl_vars['ActiveFilterBuilderAsString']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> </a> <i class="pg-icon-filter-builder-reset"></i> <a class="reset-filter" href="#"> <?php echo $this->_tpl_vars['Captions']->GetMessageString('ResetFilter'); ?> </a> <?php } ?> </td>
<?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(); echo $this->_tpl_vars['Column']['Styles']; $_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); ?> data-sort-url="<?php echo is_array($_tmp = $this->_tpl_vars['Column']['SortUrl']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> " data-field-caption="<?php echo $this->_tpl_vars['Column']['Caption']; ?> " data-comment="<?php echo $this->_tpl_vars['Column']['Comment']; ?> "> <i class="additional-info-icon"></i> <span <?php if ($this->_tpl_vars['Column']['Comment']) { ?> class="commented"<?php
echo smarty_function_jsstring(array('value' => $this->_tpl_vars['List']['RSSLink']), $this); ?> ;"> <i class="pg-icon-rss"></i> </span> <?php } ?> </a> </li> <?php } else { ?> <li><a href="<?php echo is_array($_tmp = $this->_tpl_vars['PageListPage']['Href']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> " title="<?php echo $this->_tpl_vars['PageListPage']['Hint']; ?> "> <i class="page-list-icon"></i> <?php echo $this->_tpl_vars['PageListPage']['Caption']; ?> </a></li> <?php } ?> <?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-sortable-columns="<?php echo is_array($_tmp = $this->_tpl_vars['DataGrid']['SortableColumnsJSON']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp); ?> " 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 echo $this->_tpl_vars['DataGrid']['Attributes']; ?> > <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "list/grid_header.tpl", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> <table class="table text-center <?php echo $this->_tpl_vars['DataGrid']['Classes'];
} $this->_foreach['CPkValues'] = array('total' => count($_from), 'iteration' => 0); if ($this->_foreach['CPkValues']['total'] > 0) { foreach ($_from as $this->_tpl_vars['PkValue']) { $this->_foreach['CPkValues']['iteration']++; ?> <input type="hidden" name="rec<?php echo $this->_foreach['RowsGrid']['iteration'] - 1; ?> _pk<?php echo $this->_foreach['CPkValues']['iteration'] - 1; ?> " value="<?php echo is_array($_tmp = $this->_tpl_vars['PkValue']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> "/> <?php } } unset($_from); ?> </div> </td> <?php } ?> <?php if ($this->_tpl_vars['DataGrid']['HasDetails']) {
echo $this->_tpl_vars['Uploader']->GetName(); ?> -replace-image-button').click();"> </div> <?php } ?> <?php } else { if ($this->_tpl_vars['RenderText']) { if ($this->_tpl_vars['Uploader']->GetShowImage() && !$this->_tpl_vars['HideImage']) { ?> <img src="<?php echo $this->_tpl_vars['Uploader']->GetLink(); ?> "><br/> <?php } else { ?> <a class="image" target="_blank" title="download" href="<?php echo is_array($_tmp = $this->_tpl_vars['Uploader']->GetLink()) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> ">Download file</a> <?php } } ?> <?php }
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('function', 'n', 'list/page_navigator.tpl', 8, false),array('function', 'eval', 'list/page_navigator.tpl', 38, false),array('modifier', 'escapeurl', 'list/page_navigator.tpl', 8, false),array('modifier', 'escape', 'list/page_navigator.tpl', 66, false),)), $this); ?> <div class="pgui-pagination" data-total-record-count="<?php echo $this->_tpl_vars['PageNavigator']->GetRowCount(); ?> "> <div class="pagination"> <ul><?php $_from = $this->_tpl_vars['PageNavigatorPages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['PageNavigatorPage']): ?><?php echo ''; ?><?php if ($this->_tpl_vars['PageNavigatorPage']->GetPageLink()): ?><?php echo '<li '; ?><?php if ($this->_tpl_vars['PageNavigatorPage']->IsCurrent()): ?><?php echo 'class="active"'; ?><?php endif; ?><?php echo '><a'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' href="'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['PageNavigatorPage']->GetPageLink())) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp)); ?><?php echo '"'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' title="'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetHint(); ?><?php echo '"'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' '; ?><?php if ($this->_tpl_vars['PageNavigatorPage']->HasShortCut()): ?><?php echo 'pgui-shortcut="'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetShortCut(); ?><?php echo '"'; ?><?php endif; ?><?php echo '>'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetPageCaption(); ?><?php echo '</a></li>'; ?><?php else: ?><?php echo '<li class="pagination-spacer"><a'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' href="#"'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' title="'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetHint(); ?><?php echo '"'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' onclick="return false;">'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetPageCaption(); ?><?php echo '</a></li>'; ?><?php endif; ?><?php echo ''; ?> <?php endforeach; endif; unset($_from); ?></ul> <ul><li><a class="define-page-size-button" href="#"><?php echo $this->_tpl_vars['Captions']->GetMessageString('DefaultPageSize'); ?> </a></ul> </div> <div class="modal hide pagination-size"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><i class="icon-remove"></i></button> <h3><?php echo $this->_tpl_vars['Captions']->GetMessageString('ChangePageSizeTitle'); ?> </h3> </div> <div class="modal-body"> <?php $this->assign('row_count', $this->_tpl_vars['PageNavigator']->GetRowCount()); ?> <p><?php echo smarty_function_eval(array('var' => $this->_tpl_vars['Captions']->GetMessageString('ChangePageSizeText')), $this);?> </p> <form> <table class="table table-bordered"> <tr> <th><?php echo $this->_tpl_vars['Captions']->GetMessageString('RecordsPerPage'); ?> </th>
?> "></i> <?php echo $this->_tpl_vars['Items']['print_page']['Caption']; ?> </a> <?php } ?> <?php if ($this->_tpl_vars['Items']['print_all']) { ?> <a class="btn" href="<?php echo is_array($_tmp = $this->_tpl_vars['Items']['print_all']['Href']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp); ?> "> <i class="pg-icon-<?php echo $this->_tpl_vars['Items']['print_all']['IconClass']; ?> "></i> <?php echo $this->_tpl_vars['Items']['print_all']['Caption']; ?> </a> <?php } ?>