| Server IP : 46.105.57.169 / Your IP : 216.73.216.144 Web Server : Apache System : Linux webd003.cluster120.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : maitricfuz ( 93378) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/maitricfuz/www/new-saint-martin/plugins/pagebuilderck/snippets/layouts/ |
Upload File : |
<?php
/**
* @name Page Builder CK
* @package com_pagebuilderck
* @copyright Copyright (C) 2020. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
*/
defined('_JEXEC') or die;
$snippets_modaledition_url = \Joomla\CMS\Uri\Uri::root(true) . "/administrator/index.php?option=com_snippets&client_id=0&task=snippets.edit&view=snippets&layout=modal&tmpl=component&id=";
?>
<div id="elementscontainer">
<div class="menulink current" tab="tab_snippetselection"><?php echo \Joomla\CMS\Language\Text::_('PLG_PAGEBUILDERCK_SNIPPETS_MENUITEM_TITLE'); ?></div>
<div class="tab menustyles current ckproperty" id="tab_snippetselection">
<div class="menupanetitle"><?php echo \Joomla\CMS\Language\Text::_('PLG_PAGEBUILDERCK_SNIPPETS_MENUITEM_TITLE'); ?></div>
<div>
<a class="ckbuttonstyle" href="javascript:void(0)" onclick="ckOpenSnippetsPopup()"><?php echo \Joomla\CMS\Language\Text::_('CK_SELECT'); ?></a>
</div>
</div>
<div class="menulink" tab="tab_blocstyles"><?php echo \Joomla\CMS\Language\Text::_('CK_STYLES'); ?></div>
<div class="tab menustyles ckproperty" id="tab_blocstyles">
<?php echo $this->menustyles->createBlocStyles('bloc') ?>
</div>
</div>
<script language="javascript" type="text/javascript">
var focus = $ck('.editfocus');
function ckLoadEditionPopup() {
ckFillEditionPopup(focus.attr('id'));
}
function ckOpenSnippetsPopup() {
CKBox.open({id: 'cksnippetselectpopup',
url: "<?php echo \Joomla\CMS\Uri\Uri::base(true) ?>/index.php?rl_qp=1&folder=plugins.editors-xtd.snippets&file=popup.php&name=pbcksnippetsaddon",
style: {padding: '10px'},
});
}
/* temporary overrides the function to get the passed string */
function jInsertEditorText(str, id) {
focus.find('.snippetsck.inner').text(str);
CKBox.close();
}
</script>