primo commit
This commit is contained in:
@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
// Aggiungo il data element
|
||||
switch ($label) :
|
||||
case 'Come si accede al servizio':
|
||||
$dtelm = 'data-element="service-generic-access"';
|
||||
break;
|
||||
default:
|
||||
$dtelm = '';
|
||||
endswitch;
|
||||
|
||||
// Aggiungo ID per il menu indice
|
||||
switch ($label) :
|
||||
case 'Come si accede al servizio':
|
||||
$idelm = 'id="art-par-02"';
|
||||
break;
|
||||
default:
|
||||
$idelm = 'id="art-par-'.$fieldid.'"';
|
||||
endswitch;
|
||||
|
||||
?>
|
||||
<div>
|
||||
|
||||
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h2 class="h4 <?php echo $labelClass; ?>" <?php echo $idelm; ?>><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h2>
|
||||
<?php endif; ?>
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<p <?php echo $dtelm; ?>><?php echo $value; ?></p>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$time = strtotime($value);
|
||||
$day = date('d',$time);
|
||||
$month = date('M',$time);
|
||||
$year = date('Y',$time);
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="calendar-date-day purplelight">
|
||||
<small><?php echo $year; ?></small>
|
||||
<p class="mb-0"><?php echo $day; ?></p>
|
||||
<small><?php echo $month; ?></small>
|
||||
</div>
|
||||
|
||||
|
||||
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="calendar-date-description rounded">
|
||||
<div class="calendar-date-description-content">
|
||||
<p><?php echo $value; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
$idelm = 'id="art-par-'.$fieldid.'"';
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h2 class="h4 <?php echo $labelClass; ?>" <?php echo $idelm; ?>><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?> </h2>
|
||||
<?php endif; ?>
|
||||
<div class="card card-bg in-evidence rounded mb-5">
|
||||
<div class="card-body pb-0">
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php echo $value; ?>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
// Aggiungo ID per il menu indice
|
||||
switch ($label) :
|
||||
case 'Contatti':
|
||||
$idelm = 'id="art-par-05"';
|
||||
break;
|
||||
default:
|
||||
$idelm = 'id="art-par-'.$fieldid.'"';
|
||||
endswitch;
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h2 class="h4 <?php echo $labelClass; ?>" <?php echo $idelm; ?>><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?> </h2>
|
||||
<?php endif; ?>
|
||||
<div class="card card-bg card-servizio purplelight rounded mb-5">
|
||||
<div class="card-body pb-0">
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php echo $value; ?>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="card card-bg card-servizio purplelight rounded mb-3">
|
||||
<div class="card-body pb-0">
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<span class="field-label <?php echo $labelClass; ?>"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?>: </span>
|
||||
<?php endif; ?>
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php echo $value; ?>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<small class="h6 text-greendark"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?>: <?php echo $value; ?></small>
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="mb-5">
|
||||
<?php echo $value; ?>
|
||||
</div>
|
||||
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
// Aggiungo ID per il menu indice
|
||||
switch ($label) :
|
||||
case 'Contatti':
|
||||
$idelm = 'id="art-par-05"';
|
||||
break;
|
||||
default:
|
||||
$idelm = 'id="art-par-'.$fieldid.'"';
|
||||
endswitch;
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h2 class="h4 <?php echo $labelClass; ?>" <?php echo $idelm; ?>><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?> </h2>
|
||||
<?php endif; ?>
|
||||
<div class="card card-bg rounded mb-5 bg-color">
|
||||
<div class="card-body pb-0">
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<p class="mb-0"><?php echo $value; ?></p>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,90 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
// Aggiungo data element
|
||||
switch ($label) :
|
||||
case 'Cos\'è':
|
||||
$dtelm = 'data-element="service-what-is"';
|
||||
break;
|
||||
case 'A cosa serve':
|
||||
$dtelm = 'data-element="used-for"';
|
||||
break;
|
||||
case 'Cosa serve':
|
||||
$dtelm = 'data-element="service-needed"';
|
||||
break;
|
||||
case 'Tempi e scadenze':
|
||||
$dtelm = 'data-element="service-calendar-text"';
|
||||
break;
|
||||
case 'Ulteriori informazioni':
|
||||
$dtelm = 'data-element="service-more-info"';
|
||||
break;
|
||||
default:
|
||||
$dtelm = '';
|
||||
endswitch;
|
||||
|
||||
// Aggiungo ID per il menu indice
|
||||
switch ($label) :
|
||||
case 'Cos\'è':
|
||||
$idelm = 'id="art-par-01"';
|
||||
break;
|
||||
case 'Cosa serve':
|
||||
$idelm = 'id="art-par-03"';
|
||||
break;
|
||||
case 'Tempi e scadenze':
|
||||
$idelm = 'id="art-par-04"';
|
||||
break;
|
||||
case 'Ulteriori informazioni':
|
||||
$idelm = 'id="art-par-06"';
|
||||
break;
|
||||
default:
|
||||
$idelm = 'id="art-par-'.$fieldid.'"';
|
||||
endswitch;
|
||||
|
||||
?>
|
||||
|
||||
<div class="cosae mb-2" <?php echo $dtelm; ?>>
|
||||
<h2 class="h4 <?php echo $labelClass; ?>" <?php echo $idelm; ?>><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h2>
|
||||
<p>
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php echo $value; ?>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$time = strtotime($value);
|
||||
$day = date('d',$time);
|
||||
$month = date('M',$time);
|
||||
$year = date('Y',$time);
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="date">
|
||||
<span class="year"><?php echo $year;?></span>
|
||||
<span class="day"><?php echo $day;?></span>
|
||||
<span class="month"><?php echo $month;?></span>
|
||||
</div>
|
||||
@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h4 id="art-par-<?php echo $fieldid; ?>" class="mb-3"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h4>
|
||||
<?php endif; ?>
|
||||
<div class="row mb-5">
|
||||
<div class="col-lg-9">
|
||||
<div class="big-data-rounded-icon">
|
||||
<div class="big-data-rounded-icon-wrapper">
|
||||
<svg>
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-map-marker"></use>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="big-data-rounded-icon-content">
|
||||
|
||||
<?php echo $value; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<div class="col-12 col-lg-6 mb-4">
|
||||
<div class="card card-documento card-bg card-icon rounded h-100">
|
||||
<div class="card-body">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-file-pdf"></use>
|
||||
</svg>
|
||||
<div class="card-icon-content">
|
||||
<strong><?php echo $value; ?></strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h4 id="art-par-<?php echo $fieldid; ?>" class="mb-3"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h2>
|
||||
<?php endif; ?>
|
||||
<div class="it-carousel-wrapper it-carousel splide mb-5" data-bs-carousel-splide>
|
||||
<div class="splide__track mx-5">
|
||||
<ul class="splide__list it-carousel-all">
|
||||
<?php echo $value; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
$idelm = 'id="art-par-'.$fieldid.'"';
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="cosae mb-5">
|
||||
<h2 class="h4 <?php echo $labelClass; ?>" <?php echo $idelm; ?>><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h2>
|
||||
<p>
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php echo $value; ?>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h4 id="art-par-<?php echo $fieldid; ?>"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h2>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $value; ?>
|
||||
|
||||
@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h3 class="h6"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h3>
|
||||
<?php endif; ?>
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<div class="bg-redbrown big-quote-wrapper">
|
||||
<div class="container">
|
||||
<div class="row variable-gutters justify-content-center">
|
||||
<div class="col-md-10">
|
||||
<div class="big-quote">
|
||||
<h2><?php echo $value; ?></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<div class="location-title">
|
||||
<span><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="big-quote mb-5">
|
||||
<h2><?php echo $value; ?></h2>
|
||||
</div>
|
||||
|
||||
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
<li class="splide__slide lined_slide">
|
||||
<div class="it-single-slide-wrapper">
|
||||
<?php echo $value; ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<li>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<div class="location-title">
|
||||
<span><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="location-content">
|
||||
<p><?php echo str_replace(['<p>', '</p>'], '', $value); ?></p>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<h4><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h4>
|
||||
|
||||
|
||||
<p><?php echo $value; ?></p>
|
||||
|
||||
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h3 class="h6"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h3>
|
||||
<?php endif; ?>
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php echo $value; ?>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="bg-redbrown big-quote-wrapper rowstrutture">
|
||||
<div class="container">
|
||||
<div class="row variable-gutters justify-content-center">
|
||||
<div class="col-md-10">
|
||||
<?php echo $value; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -0,0 +1,90 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
// Aggiungo data element
|
||||
switch ($label) :
|
||||
case 'Cos\'è':
|
||||
$dtelm = 'data-element="service-what-is"';
|
||||
break;
|
||||
case 'A cosa serve':
|
||||
$dtelm = 'data-element="used-for"';
|
||||
break;
|
||||
case 'Cosa serve':
|
||||
$dtelm = 'data-element="service-needed"';
|
||||
break;
|
||||
case 'Tempi e scadenze':
|
||||
$dtelm = 'data-element="service-calendar-text"';
|
||||
break;
|
||||
case 'Ulteriori informazioni':
|
||||
$dtelm = 'data-element="service-more-info"';
|
||||
break;
|
||||
default:
|
||||
$dtelm = '';
|
||||
endswitch;
|
||||
|
||||
// Aggiungo ID per il menu indice
|
||||
switch ($label) :
|
||||
case 'Cos\'è':
|
||||
$idelm = 'id="art-par-01"';
|
||||
break;
|
||||
case 'Cosa serve':
|
||||
$idelm = 'id="art-par-03"';
|
||||
break;
|
||||
case 'Tempi e scadenze':
|
||||
$idelm = 'id="art-par-04"';
|
||||
break;
|
||||
case 'Ulteriori informazioni':
|
||||
$idelm = 'id="art-par-06"';
|
||||
break;
|
||||
default:
|
||||
$idelm = '';
|
||||
endswitch;
|
||||
|
||||
?>
|
||||
|
||||
<div class="cosae">
|
||||
<h2 class="h4 <?php echo $labelClass; ?>" <?php echo $idelm; ?>><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h2>
|
||||
<p <?php echo $dtelm; ?>>
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php echo $value; ?>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
$idelm = 'id="art-par-'.$fieldid.'"';
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h2 class="h4 <?php echo $labelClass; ?>" <?php echo $idelm; ?>><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?> </h2>
|
||||
<?php endif; ?>
|
||||
<div class="card card-bg card-simple rounded mb-5">
|
||||
<div class="card-body pb-0">
|
||||
<?php if ($prefix) : ?>
|
||||
<span class="field-prefix"><?php echo htmlentities($prefix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php echo $value; ?>
|
||||
<?php if ($suffix) : ?>
|
||||
<span class="field-suffix"><?php echo htmlentities($suffix, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="bg-blue-dark section section-padding timeline">
|
||||
<div class="container">
|
||||
|
||||
<div class="it-carousel-wrapper it-carousel-landscape-abstract-three-cols it-carousel-landscape-abstract-three-cols-arrow-visible splide" data-bs-carousel-splide>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<div class="it-header-block">
|
||||
<div class="it-header-block-title text-center">
|
||||
<h3 class="mb-4"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h2>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="splide__track ps-lg-3 pe-lg-3">
|
||||
<ul class="splide__list it-carousel-all">
|
||||
<?php foreach($field->subform_rows as $row){ ?>
|
||||
<li class="splide__slide">
|
||||
<div class="it-single-slide-wrapper">
|
||||
<div class="card-wrapper card-space" style="background:unset!important;">
|
||||
<div class="card card-serif card-bg" style="background:unset!important;">
|
||||
<div class="card-body">
|
||||
|
||||
<?php
|
||||
$i=0;
|
||||
foreach((array)$row as $subrow): ?>
|
||||
<?php if($i == 0): ?>
|
||||
<div class="h5"><?php echo $subrow->value; ?></div>
|
||||
<?php elseif($i == 1): ?>
|
||||
<h3><?php echo $subrow->value; ?></h3>
|
||||
<?php elseif($i == 2): ?>
|
||||
<p><?php echo $subrow->value; ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
$i++;
|
||||
endforeach;
|
||||
?>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<h3><?php echo $value; ?></h3>
|
||||
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_fields
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
if (!array_key_exists('field', $displayData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$field = $displayData['field'];
|
||||
$label = Text::_($field->label);
|
||||
$value = $field->value;
|
||||
$showLabel = $field->params->get('showlabel');
|
||||
$prefix = Text::plural($field->params->get('prefix'), $value);
|
||||
$suffix = Text::plural($field->params->get('suffix'), $value);
|
||||
$labelClass = $field->params->get('label_render_class');
|
||||
$valueClass = $field->params->get('value_render_class');
|
||||
|
||||
// Ottengo l'ID del campo
|
||||
$fieldid = $field->id;
|
||||
|
||||
if ($value == '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
<?php if ($showLabel == 1) : ?>
|
||||
<h2 class="h6" id="art-par-<?php echo $fieldid; ?>"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?></h2>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $value; ?>
|
||||
|
||||
Reference in New Issue
Block a user