uawdijnntqw1x1x1
IP : 216.73.216.219
Hostname : webm015.cluster127.gra.hosting.ovh.net
Kernel : Linux webm015.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pteabiscqq
/
www
/
plugins
/
system
/
lab5_cookie_commander
/
cookie_commander
/
fields
/
helpformembed.php
/
/
<?php defined('_JEXEC') or die(); ///////////////////////////////////////////////////////////////////////////////////////////// /** * Cookie Commander * * @author : Lab5 - Dennis Riegelsberger * @authorUrl : https://lab5.ch * @copyright : Copyright (C) 2018+ Lab5 - Dennis Riegelsberger. All rights reserved. * @license : GNU/GPL General Public License version 2 or later * @project : https://lab5.ch/cookie-commander * @on JED : https://extensions.joomla.org/extensions/extension/site-management/cookie-control/lab5-cookie-commander/ * * Built with <3 * Lab5 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ ///////////////////////////////////////////////////////////////////////////////////////////// if(!defined('DS')) define('DS',DIRECTORY_SEPARATOR); jimport('joomla.form.formfield'); // \libraries\src\Form\FormField.php$ // \layouts\joomla\form\renderfield.php class JFormFieldHelpformembed extends JFormField { ///////////////////////////////////////////////////// protected $type = "Helpformembed"; ///////////////////////////////////////////////////// public function renderField($options = array()) { ///////////////////////////////////////////////////// $extension = $this->form->getData(); /////////////////////////////////////////////////////////// if( $extension->get('template') ){ // This is loaded from a Template's form $template = $extension->get('template'); $extensionpath = basename(JPATH_THEMES) . '/'. $template . '/template' ; }elseif( $extension->get('folder') && $extension->get('element') ){ $extensionpath = 'plugins/'.$extension->get('folder').'/'.$extension->get('element') ; } /////////////////////////////////////////////////////////// $img = JUri::root(true).'/'.$extensionpath.'/'.basename(realpath(__DIR__.'/../') ).'/'.basename(__DIR__ ).'/m/form_embed.png'; $style = ' style="max-width:380px;" '; // <pre '.$style.'> {lab5_cookies_and_consent} </pre> // or $return = ' You can embed a Cookie Controller form anywhere on your site ( in content, templates, modules, html and what-not... ) by just inserting the string : <br><br> <pre '.$style.'> {lab5_cookie_commander} </pre> <img '.$style.' height="auto" width="auto" src="'.$img.'" border="0" > '; return $return; } /////////////////////////////////////////////////// protected function getInput() { return $this->description; } /////////////////////////////////////////////////// }
/home/pteabiscqq/www/plugins/system/lab5_cookie_commander/cookie_commander/fields/helpformembed.php