49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?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>
 | |
| 
 |