uawdijnntqw1x1x1
IP : 216.73.216.84
Hostname : webm003.cluster107.gra.hosting.ovh.net
Kernel : Linux webm003.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
opticamezl
/
.
/
www
/
nueva
/
.
/
cache
/
..
/
..
/
newok
/
mod_yootheme_builder.zip
/
/
PK�4�\}�,��elements/button.phpnu&1i�<?php defined('_JEXEC') or die(); use Joomla\CMS\Factory; use Joomla\CMS\Form\FormField; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; use Joomla\Registry\Registry; class JFormFieldButton extends FormField { protected $type = 'Button'; public function getInput() { if (!($templ = $this->getTemplate())) { return '<p id="alert-customizer" class="alert alert-error">Please create a YOOtheme <a href="index.php?option=com_templates">template style</a>.</p>'; } $uri = Uri::getInstance(); if ($uri->getVar('tmpl') === 'component') { return ''; } $buttonText = Text::_('Open Builder'); $warningText = Text::_('Please save the module first.'); $href = sprintf( 'index.php?option=com_ajax&p=customizer&templateStyle=%s&format=html§ion=joomla-modules&return=%s', $templ->id, urlencode($uri), ); return "<a class=\"tm-button\" href=\"{$href}\">{$buttonText}</a> <script> document.body.addEventListener('click', function (e) { if (e.target.matches('.tm-button') && !(new URL(document.location)).searchParams.has('id')) { e.preventDefault(); window.alert('{$warningText}'); } }); </script> <style> .tm-button { display: block; box-sizing: border-box; width: 280px; max-width: 100%; padding: 20px 30px; border-radius: 2px; background: linear-gradient(140deg, #FE67D4, #4956E3); box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.5); line-height: 10px; vertical-align: middle; color: #fff !important; font-size: 11px; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; text-align: center; text-decoration: none !important; text-transform: uppercase; letter-spacing: 2px; -webkit-font-smoothing: antialiased; }\ </style>"; } protected function getTemplate() { $templs = Factory::getDbo() ->setQuery( 'SELECT id, params from #__template_styles WHERE client_id = 0 ORDER BY home DESC', ) ->loadObjectList(); foreach ($templs as $templ) { $params = new Registry($templ->params); if ($params->get('yootheme')) { return $templ; } } } } PK�4�\1�??mod_yootheme_builder.xmlnu&1i�<?xml version="1.0" encoding="utf-8" ?> <extension type="module" client="site" method="upgrade"> <name>MOD_YOOTHEME_BUILDER</name> <version>4.5.33</version> <description>MOD_YOOTHEME_BUILDER_XML_DESCRIPTION</description> <creationDate>December 2025</creationDate> <copyright>Copyright (C) YOOtheme GmbH</copyright> <license>GNU General Public License</license> <author>YOOtheme</author> <authorEmail>info@yootheme.com</authorEmail> <authorUrl>https://yootheme.com</authorUrl> <files> <filename module="mod_yootheme_builder">mod_yootheme_builder.php</filename> <folder>elements</folder> <folder>tmpl</folder> </files> <languages folder="language"> <language tag="en-GB">mod_yootheme_builder.ini</language> <language tag="en-GB">mod_yootheme_builder.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic" addfieldpath="/modules/mod_yootheme_builder/elements"> <field name="button" type="button" hiddenLabel="true" /> </fieldset> <fieldset name="advanced"> <field name="layout" type="modulelayout" label="JFIELD_ALT_LAYOUT_LABEL" description="JFIELD_ALT_MODULE_LAYOUT_DESC" class="form-select" /> </fieldset> </fields> <fieldset name="basic"> <field name="content" type="hidden" filter="raw" /> </fieldset> </config> </extension> PK�4�\�S���mod_yootheme_builder.phpnu&1i�<?php use Joomla\CMS\Helper\ModuleHelper; use function YOOtheme\app; use YOOtheme\View; use YOOtheme\View\HtmlElement; defined('_JEXEC') or die(); // Make module re-renderable if (!isset($module->_builder)) { $module->_builder = $module->content; } $module->content = app(View::class)->builder($module->_builder, [ 'prefix' => "module-{$module->id}", ]); if ($module->content && in_array($module->position, ['top', 'bottom'])) { $module->content = HtmlElement::tag( $params->get('module_tag', 'div'), ['id' => "module-{$module->id}", 'class' => 'builder'], $module->content, ); } require ModuleHelper::getLayoutPath('mod_yootheme_builder', $params->get('layout', 'default')); PK�4�\Wҹ};;tmpl/default.phpnu&1i�<?php defined('_JEXEC') or die(); echo $module->content; PK�4�\}�,��elements/button.phpnu&1i�PK�4�\1�??mod_yootheme_builder.xmlnu&1i�PK�4�\�S����mod_yootheme_builder.phpnu&1i�PK�4�\Wҹ};;�tmpl/default.phpnu&1i�PKS
/home/opticamezl/./www/nueva/./cache/../../newok/mod_yootheme_builder.zip