Initial Commit N° : 001 - V.4.3.3

This commit is contained in:
2025-03-28 14:32:57 +01:00
commit 238e5d7999
809 changed files with 371149 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
/**
* Shortcode attributes
* @var $atts
* @var $content - shortcode content
*/
if (!defined('ABSPATH')) :
die('-1');
endif;
$GLOBALS['nasa_current_layout'] = $this->layout;
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
$this->resetVariables($atts, $content);
extract($atts);
$this->setGlobalTtaInfo();
$prepareContent = $this->getTemplateVariable('content');
ob_start();
$file = ELESSI_CHILD_PATH . '/vc_templates/tta_global_layout/' . $this->layout . '_layout.php';
include is_file($file) ? $file : ELESSI_THEME_PATH . '/vc_templates/tta_global_layout/' . $this->layout . '_layout.php';
unset($GLOBALS['nasa_current_layout']);
return ob_get_clean();