File manager - Edit - /home/jardides/www/Jardi-design/components/com_media/bootstrap/default.php
Back
<?php /** * Bootstrap List Template - Default * * @package Joomla * @subpackage Fabrik * @copyright Copyright (C) 2005-2013 fabrikar.com - All rights reserved. * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html * @since 3.1 */ // No direct access defined('_JEXEC') or die('Restricted access'); $pageClass = $this->params->get('pageclass_sfx', ''); if ($pageClass !== '') : echo '<div class="' . $pageClass . '">'; endif; if ($this->tablePicker != '') : ?> <div style="text-align:right"><?php echo FText::_('COM_FABRIK_LIST') ?>: <?php echo $this->tablePicker; ?></div> <?php endif; if ($this->params->get('show_page_heading')) : echo '<h1>' . $this->params->get('page_heading') . '</h1>'; endif; if ($this->params->get('show-title', 1)) : ?> <div class="page-header"> <h1><?php echo $this->table->label;?></h1> </div> <?php endif; // Intro outside of form to allow for other lists/forms to be injected. echo $this->table->intro; ?> <form class="fabrikForm form-search" action="<?php echo $this->table->action;?>" method="post" id="<?php echo $this->formid;?>" name="fabrikList"> <?php if ($this->hasButtons): echo $this->loadTemplate('buttons'); endif; if ($this->showFilters && $this->bootShowFilters) : echo $this->loadTemplate('filter'); endif; //for some really ODD reason loading the headings template inside the group //template causes an error as $this->_path['template'] doesnt cotain the correct // path to this template - go figure! $headingsHtml = $this->loadTemplate('headings'); echo $this->loadTemplate('tabs'); ?> <div class="fabrikDataContainer"> <?php foreach ($this->pluginBeforeList as $c) : echo $c; endforeach; ?> <table class="<?php echo $this->list->class;?>" id="list_<?php echo $this->table->renderid;?>" > <thead><?php echo $headingsHtml?></thead> <tfoot> <tr class="fabrik___heading"> <td colspan="<?php echo count($this->headings);?>"> <?php echo $this->nav;?> </td> </tr> </tfoot> <?php if ($this->isGrouped && empty($this->rows)) : ?> <tbody style="<?php echo $this->emptyStyle?>"> <tr> <td class="groupdataMsg emptyDataMessage" style="<?php echo $this->emptyStyle?>" colspan="<?php echo count($this->headings)?>"> <div class="emptyDataMessage" style="<?php echo $this->emptyStyle?>"> <?php echo $this->emptyDataMessage; ?> </div> </td> </tr> </tbody> <?php endif; $gCounter = 0; foreach ($this->rows as $groupedby => $group) : if ($this->isGrouped) : ?> <tbody> <tr class="fabrik_groupheading info"> <td colspan="<?php echo $this->colCount;?>"> <?php if ($this->emptyDataMessage != '') : ?> <a href="#" class="toggle"> <?php else: ?> <a href="#" class="toggle fabrikTip" title="<?php echo $this->emptyDataMessage?>" opts='{trigger: "hover"}'> <?php endif;?> <?php echo FabrikHelperHTML::image('arrow-down.png', 'list', $this->tmpl, FText::_('COM_FABRIK_TOGGLE'));?> <span class="groupTitle"> <?php echo $this->grouptemplates[$groupedby]; ?> ( <?php echo count($group)?> ) </span> </a> </td> </tr> </tbody> <?php endif ?> <tbody class="fabrik_groupdata"> <tr style="<?php echo $this->emptyStyle?>"> <td class="groupdataMsg emptyDataMessage" style="<?php echo $this->emptyStyle?>" colspan="<?php echo count($this->headings)?>"> <div class="emptyDataMessage" style="<?php echo $this->emptyStyle?>"> <?php echo $this->emptyDataMessage; ?> </div> </td> </tr> <?php foreach ($group as $this->_row) : echo $this->loadTemplate('row'); endforeach ?> </tbody> <?php if ($this->hasCalculations) : ?> <tfoot> <tr class="fabrik_calculations"> <?php foreach ($this->headings as $key => $heading) : $h = $this->headingClass[$key]; $style = empty($h['style']) ? '' : 'style="' . $h['style'] . '"';?> <td class="<?php echo $h['class']?>" <?php echo $style?>> <?php $cal = $this->calculations[$key]; echo array_key_exists($groupedby, $cal->grouped) ? $cal->grouped[$groupedby] : $cal->calc; ?> </td> <?php endforeach; ?> </tr> </tfoot> <?php endif ?> <?php $gCounter++; endforeach?> </table> <?php print_r($this->hiddenFields);?> </div> </form> <?php echo $this->table->outro; if ($pageClass !== '') : echo '</div>'; endif; ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings