File manager - Edit - /home/jardides/www/Jardi-design/images/administrator/elements.tar
Back
ckpro.php 0000644 00000001703 15247143511 0006377 0 ustar 00 <?php /** * @copyright Copyright (C) 2017 Cedric KEIFLIN alias ced1870 * https://www.joomlack.fr * @license GNU/GPL * */ // no direct access defined('JPATH_PLATFORM') or die; require_once 'ckformfield.php'; class JFormFieldCkpro extends CKFormField { protected $type = 'ckpro'; private $state; protected function getLabel() { return ''; } protected function getInput() { $html = array(); // Add the label text and closing tag. $html[] = '<div id="' . $this->id . '-lbl" class="ckinfo">'; $html[] = '<i class="fas fa-info" style="color:green"></i>'; $html[] = JText::_('PLG_SCROLLTOCK_USE_PRO_VERSION'); $html[] = ' <a href="https://www.joomlack.fr/en/documentation/miscellaneous/202-license-code" target="_blank">'; $html[] = '<span class="cklabel cklabel-info"><i class="fas fa-link"></i> ' . JText::_('PLG_SCROLLTOCK_GET_LICENCE_INFOS') . '</label>'; $html[] = '</a>'; $html[] = '</div>'; return implode('', $html); } } ckproducts.php 0000644 00000005305 15247143511 0007444 0 ustar 00 <?php /** * @copyright Copyright (C) 2017 Cedric KEIFLIN alias ced1870 * https://www.joomlack.fr * @license GNU/GPL * */ // no direct access defined('JPATH_PLATFORM') or die; require_once 'ckformfield.php'; class JFormFieldCkproducts extends CKFormField { protected $type = 'ckproducts'; protected function getLabel() { return ''; } protected function getInput() { $html = '<style> .ckproduct { padding: 10px 20px; display: inline-block; color: #1f496e; border: 1px solid #1f496e; margin: 3px; border-radius: 2px; transition: 0.3s all; } .ckproduct:hover { background: #1f496e; color: #fff; text-decoration: none; } </style> <h3>' . JText::_('PLG_SCROLLTOCK_VISIT_OTHER_PRODUCTS') . '</h3> <div> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/accordeonmenu-ck">Accordeon Menu CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/beautiful-ck">Beautiful CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/carousel-ck">Carousel CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/download-joomla-extensions/view_category/37-cookies-ck">Cookies CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/floating-module-ck">Floating Module CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/image-effect-ck">Image Effect CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/maximenu-ck">Maximenu CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/mediabox-ck">Mediabox CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/menu-manager-ck">Menu Manager CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/extensions-joomla/mobile-menu-ck">Mobile Menu CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/modules-manager-ck">Modules Manager CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/page-builder-ck">Page Builder CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/en/joomla-extensions/scroll-to-ck">Scroll To CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr/extensions-joomla/tooltip-gc">Tooltip CK</a> <a class="ckproduct" target="_blank" href="https://www.template-creator.com">Template Creator CK</a> <a class="ckproduct" target="_blank" href="https://www.joomlack.fr">And more...</a> </div>'; return $html; } } ckproonly.php 0000644 00000002273 15247143511 0007304 0 ustar 00 <?php /** * @copyright Copyright (C) 2017 Cedric KEIFLIN alias ced1870 * http://www.joomlack.fr * @license GNU/GPL * */ defined('JPATH_PLATFORM') or die; require_once 'ckformfield.php'; class JFormFieldCkproonly extends CKFormField { /** * The form field type. * * @var string * */ protected $type = 'ckproonly'; /** * Method to get the field input markup. * * @return string The field input markup. * */ protected function getLabel() { return ''; } /** * Method to get the field label markup. * * @return string The field label markup. * */ protected function getInput() { $html = '<div class="ckinfo"><i class="fas fa-info"></i><a href="https://www.joomlack.fr/en/joomla-extensions/scroll-to-ck" target="_blank">' . JText::_('PLG_SCROLLTOCK_ONLY_PRO') . '</a></div>'; return $html; } /* * Get a variable from the manifest file * * @return the current version */ public static function getCurrentVersion($file_url) { // get the version installed $installed_version = 'UNKOWN'; if ($xml_installed = simplexml_load_file($file_url)) { $installed_version = (string)$xml_installed->version; } return $installed_version; } } cklight.php 0000644 00000002216 15247143511 0006706 0 ustar 00 <?php /** * @copyright Copyright (C) 2017 Cedric KEIFLIN alias ced1870 * https://www.joomlack.fr * @license GNU/GPL * */ // no direct access defined('JPATH_PLATFORM') or die; require_once 'ckformfield.php'; class JFormFieldCklight extends CKFormField { protected $type = 'cklight'; protected function getLabel() { return ''; } protected function getInput() { $html = array(); // Add the label text and closing tag. $html[] = '<div id="' . $this->id . '-lbl" class="ckinfo">'; $html[] = '<i class="fas fa-info" style="color:orange"></i>'; $html[] = JText::_('PLG_SCROLLTOCK_USE_FREE_VERSION'); $html[] = ' <a href="https://www.joomlack.fr/en/joomla-extensions/scroll-to-ck" target="_blank">'; $html[] = '<span class="cklabel cklabel-info"><i class="fas fa-link"></i> ' . JText::_('PLG_SCROLLTOCK_GET_PRO_INFOS') . '</label>'; $html[] = '</a>'; $html[] = '</div>'; return implode('', $html); } protected function testParams() { if (JFile::exists(JPATH_ROOT.'/plugins/system/slideshowckparams/slideshowckparams.php')) { $this->state = 'green'; return JText::_('PLG_SCROLLTOCK_USE_PRO_VERSION'); } return false; } } ckspacer.php 0000644 00000003135 15247143511 0007055 0 ustar 00 <?php /** * @copyright Copyright (C) 2011 Cedric KEIFLIN alias ced1870 * https://www.joomlack.fr * @license GNU/GPL * */ // no direct access defined('_JEXEC') or die('Restricted access'); require_once 'ckformfield.php'; class JFormFieldCkspacer extends CKFormField { protected $type = 'ckspacer'; protected function getLabel() { return ''; } protected function getInput() { $html = array(); $class = $this->element['class'] ? (string) $this->element['class'] : ''; $style = $this->element['style'] ? $this->element['style'] : ''; if ($style == 'title') { $doc = JFactory::getDocument(); $styles = '.ckinfo.cktitle { background:#666; color: #eee; text-transform: uppercase; } '; $doc->addStyleDeclaration($styles); } if ((string) $this->element['hr'] == 'true') { $html[] = '<hr class="' . $class . '" />'; } else { $label = ''; // Get the label text from the XML element, defaulting to the element name. $text = $this->element['label'] ? (string) $this->element['label'] : (string) $this->element['name']; $text = $this->translateLabel ? JText::_($text) : $text; // Test to see if the patch is installed $testpatch = $this->element['testpatch'] ? $this->testPatch($this->element['testpatch']) : null; $text = $testpatch ? $testpatch : $text; // set the icon $icon = $this->element['icon'] ? $this->element['icon'] : 'info'; $html[] = '<div class="ckinfo' . ($style == 'title' ? ' cktitle' : '') . '">' . ($style == 'title' ? '' : '<i class="fas fa-' . $icon . '"></i>') . $text . '</div>'; } return implode('', $html); } } ckinfo.php 0000644 00000005024 15247143511 0006532 0 ustar 00 <?php /** * @copyright Copyright (C) 2017 Cedric KEIFLIN alias ced1870 * http://www.joomlack.fr * @license GNU/GPL * */ defined('JPATH_PLATFORM') or die; require_once 'ckformfield.php'; class JFormFieldCkinfo extends CKFormField { /** * The form field type. * * @var string * */ protected $type = 'ckinfo'; /** * Method to get the field input markup. * * @return string The field input markup. * */ protected function getLabel() { return ''; } /** * Method to get the field label markup. * * @return string The field label markup. * */ protected function getInput() { $doc = JFactory::getDocument(); $styles = '.ckinfo {position:relative;background:#efefef;border: none;border-radius: px;color: #333;font-weight: normal;line-height: 24px;padding: 5px 5px 5px 35px;margin: 3px 0;text-align: left;text-decoration: none;} .ckinfo > .fas { font-size: 15px; padding: 3px 5px; background: rgba(0, 0, 0, 0.1); position: absolute; top: 0; bottom: 0; left: 0; line-height: 25px; width: 30px; text-align: center; box-sizing: border-box; } .ckinfo img {margin: 0 10px 0 0;} .control-label:empty {display: none;} .control-label:empty + .controls {margin: 0;} '; $doc->addStyleDeclaration($styles); // get the extension version $current_version = $this->getCurrentVersion(JPATH_SITE .'/plugins/system/scrolltock/scrolltock.xml'); $html = ''; $html .= '<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">'; $html .= '<div class="ckinfo"><i class="fas fa-thumbs-up"></i><a href="https://extensions.joomla.org/extension/scroll-to-ck/" target="_blank">' . JText::_('PLG_SCROLLTOCK_VOTE_JED') . '</a></div>'; $html .= '<div class="ckinfo"><i class="fas fa-info"></i>' . JText::_('PLG_SCROLLTOCK_CURRENT_VERSION') . ' : <span class="label">' . $current_version . '</span></div>'; $html .= '<div class="ckinfo"><i class="fas fa-file-alt"></i><a href="https://www.joomlack.fr/en/documentation/43-scroll-to-ck" target="_blank">' . JText::_('PLG_SCROLLTOCK_DOCUMENTATION') . '</a></div>'; return $html; } /* * Get a variable from the manifest file * * @return the current version */ public static function getCurrentVersion($file_url) { // get the version installed $installed_version = 'UNKOWN'; if ($xml_installed = simplexml_load_file($file_url)) { $installed_version = (string)$xml_installed->version; } return $installed_version; } } ckformfield.php 0000644 00000003273 15247143511 0007552 0 ustar 00 <?php /** * @copyright Copyright (C) 2011 Cedric KEIFLIN alias ced1870 * https://www.joomlack.fr * @license GNU/GPL * */ // no direct access defined('_JEXEC') or die('Restricted access'); require_once 'ckformfield.php'; class CKFormField extends JFormField { public $mediaPath; public function __construct() { $this->mediaPath = JUri::root(true) . '/media/com_slideshowck/images/'; // loads the language files from the frontend $lang = JFactory::getLanguage(); $lang->load('com_slideshowck', JPATH_SITE . '/components/com_slideshowck', $lang->getTag(), false); $lang->load('com_slideshowck', JPATH_SITE, $lang->getTag(), false); parent::__construct(); } protected function getInput() { return ''; } protected function getLabel() { return parent::getLabel(); } /** * Method to get the field options. * * @return array The field option objects. * * @since 11.1 */ protected function getOptions() { $options = array(); foreach ($this->element->children() as $option) { // Only add <option /> elements. if ($option->getName() != 'option') { continue; } // Create a new option object based on the <option /> element. $tmp = JHtml::_( 'select.option', (string) $option['value'], JText::alt(trim((string) $option), preg_replace('/[^a-zA-Z0-9_\-]/', '_', $this->fieldname)), 'value', 'text', ((string) $option['disabled'] == 'true') ); // Set some option attributes. $tmp->class = (string) $option['class']; // Set some JavaScript option attributes. $tmp->onclick = (string) $option['onclick']; // Add the option object to the result set. $options[] = $tmp; } reset($options); return $options; } } ckdocumentation.php 0000644 00000001443 15247143511 0010451 0 ustar 00 <?php /** * @copyright Copyright (C) 2011 Cedric KEIFLIN alias ced1870 * https://www.joomlack.fr * @license GNU/GPL * */ // no direct access defined('_JEXEC') or die('Restricted access'); require_once 'ckformfield.php'; class JFormFieldCkdocumentation extends CKFormField { protected $type = 'ckdocumentation'; protected function getLabel() { return ''; } protected function getInput() { $html = array(); $icon = $this->element['icon'] ? $this->element['icon'] : 'file-alt'; $url = $this->element['url'] ? $this->element['url'] : 'https://www.joomlack.fr/en/documentation'; $html[] = '<div class="ckinfo"><i class="fas fa-' . $icon . '"></i><a href="' . $url . '" target="_blank">' . JText::_('PLG_SCROLLTOCK_DOCUMENTATION') . '</a></div>'; return implode('', $html); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings