| Server IP : 87.98.154.146 / Your IP : 216.73.216.101 Web Server : Apache System : Linux webm005.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : bsiadvisil ( 110003) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/bsiadvisil/old/plugins/system/helixultimate/layouts/backend/ |
Upload File : |
<?php
/**
* @package Helix Ultimate Framework
* @author JoomShaper https://www.joomshaper.com
* @copyright Copyright (c) 2010 - 2018 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
defined('_JEXEC') or die();
$colGrid = array('12', '6+6', '4+4+4', '3+3+3+3', '4+8', '3+9', '3+6+3', '2+6+4', '2+10', '5+7', '2+3+7', '2+5+5', '2+8+2', '2+4+4+2');
$row = $displayData;
$rowSettings = '';
if(isset($row->settings))
{
$rowSettings = RowColumnSettings::getSettings($row->settings);
}
$name = JText::_('HELIX_ULTIMATE_SECTION_TITLE');
if (isset($row->settings->name))
{
$name = $row->settings->name;
}
$layout_path = JPATH_ROOT .'/plugins/system/helixultimate/layouts';
$layout_column = new JLayoutFile('backend.column', $layout_path );
$output = '';
$output .= '<div '.((isset($row->sectionID) && $row->sectionID)?'id="helix-ultimate-layout-section"':'').' class="helix-ultimate-layout-section" ' . $rowSettings .'>';
$output .= '<div class="helix-ultimate-section-settings clearfix">';
$output .= '<div class="pull-left">';
$output .= '<a class="helix-ultimate-move-row" href="#"><i class="fa fa-arrows"></i></a>';
$output .= '<strong class="helix-ultimate-section-title">' . $name . '</strong>';
$output .= '</div>';
$output .= '<div class="pull-right">';
$output .= '<ul class="helix-ultimate-row-option-list">';
$output .= '<li>';
$output .= '<a class="helix-ultimate-add-columns" href="#"><span class="fa fa-columns"></span></a>';
$output .= '<ul class="helix-ultimate-column-list">';
if(!isset($row->layout)){
$row->layout = 12;
}
foreach ($colGrid as $grid)
{
$cols = explode('+', $grid);
$output .= '<li><a href="#" class="helix-ultimate-column-layout '.(($grid == $row->layout)? 'active' : '' ).'" data-layout="'.$grid.'">';
foreach ($cols as $col)
{
$output .= '<span class="helix-ultimate-column-layout-col-'. $col .'"><span>'. $col .'</span></span>';
}
$output .= '</a></li>';
}
$output .= '<li><a href="#" class="helix-ultimate-column-layout-custom helix-ultimate-column-layout helix-ultimate-custom ' . ((isset($row->layout) && !in_array($row->layout, $colGrid)) ? 'active' : '' ) .'" data-layout="'. $row->layout .'" data-type="custom" title="Custom Layout"><span class="helix-ultimate-column-layout-col-3"><span>[</span></span><span class="helix-ultimate-column-layout-col-6"><span>+</span></span><span class="helix-ultimate-column-layout-col-3"><span>]</span></span></a></li>';
$output .= '</ul>';
$output .= '</li>';
$output .= '<li><a class="helix-ultimate-row-options" href="#"><i class="fa fa-gears fa-fw"></i></a></li>';
$output .= '<li><a class="helix-ultimate-remove-row" href="#"><i class="fa fa-trash fa-fw"></i></a></li>';
$output .= '</ul>';
$output .= '</div>';
$output .= '</div>';
$output .= '<div class="helix-ultimate-row-container ui-sortable">';
$output .= '<div class="row ui-sortable">';
if(isset($row->attr) && $row->attr)
{
foreach ($row->attr as $column)
{
$output .= $layout_column->render($column->settings);
}
}
else
{
$output .= $layout_column->render(new stdClass);
}
$output .= '</div>';
$output .= '</div>';
$output .= '<a class="helix-ultimate-add-row" href="#"><i class="fa fa-plus"></i></a>';
$output .= '</div>';
echo $output;