PKR!]U: view.json.phpnu&1i * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * View to edit a template style. * * @since 1.6 */ class TemplatesViewStyle extends JViewLegacy { /** * The JObject (on success, false on failure) * * @var JObject */ protected $item; /** * The form object * * @var JForm */ protected $form; /** * The model state * * @var JObject */ protected $state; /** * Execute and display a template script. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return mixed A string if successful, otherwise an Error object. * * @since 1.6 */ public function display($tpl = null) { try { $this->item = $this->get('Item'); } catch (Exception $e) { $app = JFactory::getApplication(); $app->enqueueMessage($e->getMessage(), 'error'); return false; } $paramsList = $this->item->getProperties(); unset($paramsList['xml']); $paramsList = json_encode($paramsList); return $paramsList; } } PKR!]vJ) view.html.phpnu&1iauthorise('core.edit', 'com_slideshowck') || (count($user->getAuthorisedCategories('com_slideshowck', 'core.edit')))); if ($authorised !== true) { throw new Exception(\Joomla\CMS\Language\Text::_('JERROR_ALERTNOAUTHOR'), 403); return false; } // dislay the page title \Joomla\CMS\Toolbar\ToolbarHelper::title(\Joomla\CMS\Language\Text::_('COM_SLIDESHOWCK') . ' - ' . \Joomla\CMS\Language\Text::_('CK_EDITION'), 'logo_slideshowck_large.png'); // load the styles helper and the interface require_once JPATH_SITE . '/administrator/components/com_slideshowck/helpers/ckstyles.php'; require_once(JPATH_SITE . '/administrator/components/com_slideshowck/helpers/ckinterface.php'); $this->interface = new \Slideshowck\CKInterface(); $this->item = $this->get('Item'); $this->input->set('tmpl', 'component'); $this->input->set('layout', 'modal'); parent::display(); } /** * Add the page title and toolbar. * * @since 1.6 */ protected function addToolbar() { SlideshowckHelper::loadCkbox(); \Joomla\CMS\Factory::getApplication()->input->set('hidemainmenu', true); $user = \Joomla\CMS\Factory::getUser(); $userId = $user->get('id'); $isNew = ($this->item->id == 0); $checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $userId); $state = $this->get('State'); $canDo = SlideshowckHelper::getActions(); // For new records, check the create permission. if ($isNew && $user->authorise('core.create', 'com_slideshowck')) { \Joomla\CMS\Toolbar\ToolbarHelper::apply('style.apply'); \Joomla\CMS\Toolbar\ToolbarHelper::save('style.save'); // \Joomla\CMS\Toolbar\ToolbarHelper::save2new('page.save2new'); \Joomla\CMS\Toolbar\ToolbarHelper::cancel('style.cancel'); } else { // Can't save the record if it's checked out. if (!$checkedOut) { // Since it's an existing record, check the edit permission, or fall back to edit own if the owner. if ($canDo->get('core.edit') || ($canDo->get('core.edit.own') && $this->item->created_by == $userId)) { \Joomla\CMS\Toolbar\ToolbarHelper::apply('style.apply'); \Joomla\CMS\Toolbar\ToolbarHelper::save('style.save'); // \Joomla\CMS\Toolbar\ToolbarHelper::custom('style.restore', 'archive', 'archive', 'CK_RESTORE', false); // We can save this record, but check the create permission to see if we can return to make a new one. if ($canDo->get('core.create')) { // \Joomla\CMS\Toolbar\ToolbarHelper::save2new('page.save2new'); } } } // If checked out, we can still save if ($canDo->get('core.create')) { // \Joomla\CMS\Toolbar\ToolbarHelper::save2copy('page.save2copy'); } \Joomla\CMS\Toolbar\ToolbarHelper::cancel('style.cancel', 'JTOOLBAR_CLOSE'); } } } PKR!]!w w tmpl/edit.phpnu&1i * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); JHtml::_('behavior.formvalidator'); JHtml::_('behavior.keepalive'); JHtml::_('formbehavior.chosen', 'select'); $user = JFactory::getUser(); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(task) { if (task == 'style.cancel' || document.formvalidator.isValid(document.getElementById('style-form'))) { Joomla.submitform(task, document.getElementById('style-form')); } }; "); ?>
'details')); ?>

item->template); ?>

item->client_id == 0 ? JText::_('JSITE') : JText::_('JADMINISTRATOR'); ?>

item->xml->description); ?>

fieldset = 'description'; $description = JLayoutHelper::render('joomla.edit.fieldset', $this); ?>

fieldset = 'basic'; $html = JLayoutHelper::render('joomla.edit.fieldset', $this); echo $html ? '
' . $html : ''; ?>
fields = array( 'home', 'client_id', 'template' ); ?>
fieldsets = array(); $this->ignore_fieldsets = array('basic', 'description'); echo JLayoutHelper::render('joomla.edit.params', $this); ?> authorise('core.edit', 'com_menus') && $this->item->client_id == 0 && $this->canDo->get('core.edit.state')) : ?> loadTemplate('assignment'); ?>
PKR!]ld""tmpl/edit_options.phpnu&1i * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Load chosen.css JHtml::_('formbehavior.chosen', 'select'); ?> 'collapse0')); $fieldSets = $this->form->getFieldsets('params'); $i = 0; foreach ($fieldSets as $name => $fieldSet) : $label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_TEMPLATES_' . $name . '_FIELDSET_LABEL'; echo JHtml::_('bootstrap.addSlide', 'templatestyleOptions', JText::_($label), 'collapse' . ($i++)); if (isset($fieldSet->description) && trim($fieldSet->description)) : echo '

' . $this->escape(JText::_($fieldSet->description)) . '

'; endif; ?> form->getFieldset($name) as $field) : ?>
label; ?>
input; ?>
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Initialise related data. JLoader::register('MenusHelper', JPATH_ADMINISTRATOR . '/components/com_menus/helpers/menus.php'); $menuTypes = MenusHelper::getMenuLinks(); $user = JFactory::getUser(); ?>
PK!]k1& tmpl/background.phpnu&1i
PK!]-tmpl/positioning.phpnu&1i
PK!]+ֵ   tmpl/box.phpnu&1i
PK!][| tmpl/list.phpnu&1i
PK!]V^^tmpl/border.phpnu&1i
PK!]0 pptmpl/block.phpnu&1i
PK!]#o,,tmpl/index.htmlnu&1iPK!]7qV==tmpl/default.phpnu&1iaddStylesheet(SLIDESHOWCK_MEDIA_URI . '/assets/admin.css'); $doc->addStylesheet(\Joomla\CMS\Uri\Uri::root(true) . '/modules/mod_slideshowck/themes/default/css/camera.css'); $doc->addScript(SLIDESHOWCK_MEDIA_URI . '/assets/jscolor/jscolor.js'); $doc->addScript(SLIDESHOWCK_MEDIA_URI . '/assets/admin.js'); $popupclass = ($this->input->get('layout', '', 'string') === 'modal') ? 'ckpopupwizard' : ''; // Load the JS strings \Joomla\CMS\Language\Text::script('CK_DOWNLOAD'); ?>
SLIDESHOW CK
interface->createMargins('container'); echo $this->interface->createBorders('container'); echo $this->interface->createShadow('container'); ?>
interface->createAll('caption'); ?>
On the road again
On the road again
Lorem ipsum dolor sit amet
Read more ...
  • 0
  • 1
  • 2
PK!]#  tmpl/text.phpnu&1i
PK!]#o,, index.htmlnu&1iPK!]!8 style.phpnu&1i true)); } /** * Display the plugin. */ public function display() { parent::display(); $document = WFDocument::getInstance(); $document->addScript(array('style'), 'plugins'); $document->addStyleSheet(array('style'), 'plugins'); $settings = $this->getSettings(); $document->addScriptDeclaration('StyleDialog.settings=' . json_encode($settings) . ';'); $tabs = WFTabs::getInstance(array( 'base_path' => WF_EDITOR_PLUGIN, )); // Add tabs $tabs->addTab('text'); $tabs->addTab('background'); $tabs->addTab('block'); $tabs->addTab('box'); $tabs->addTab('border'); $tabs->addTab('list'); $tabs->addTab('positioning'); } public function getSettings($settings = array()) { $profile = $this->getProfile(); $settings = array( 'file_browser' => $this->getParam('file_browser', 1) && in_array('browser', explode(',', $profile->plugins)), ); return parent::getSettings($settings); } } PK!]&. style.xmlnu&1i WF_STYLE_TITLE 2.9.99.2 22-04-2026 Ryan Demmer info@joomlacontenteditor.net https://www.joomlacontenteditor.net/ Ryan Demmer GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html WF_STYLE_DESC style PK!]pStmpl/default_importexport.phpnu&1i PK!]%tmpl/default_themes.phpnu&1i'; foreach ($presets as $preset) { $presetName = \Joomla\CMS\Filesystem\File::stripExt($preset); $theme_title = ""; if ( file_exists($folder_path .$presetName . '.png') ) { $theme = SLIDESHOWCK_MEDIA_URL . '/presets/' . $presetName . '.png'; } else { $theme = SLIDESHOWCK_MEDIA_URL . '/images/unknown.png" width="110" height="110'; } echo '
' . '
' . '' . '
' . '
' . $presetName . '
' . '
'; $i++; } echo '';PKR!]U: view.json.phpnu&1iPKR!]vJ) 0view.html.phpnu&1iPKR!]!w w Xtmpl/edit.phpnu&1iPKR!]ld"" tmpl/edit_options.phpnu&1iPKR!]TMs%tmpl/edit_assignment.phpnu&1iPK!]k1& O.tmpl/background.phpnu&1iPK!]-}:tmpl/positioning.phpnu&1iPK!]+ֵ   Wtmpl/box.phpnu&1iPK!][| stmpl/list.phpnu&1iPK!]V^^wtmpl/border.phpnu&1iPK!]0 pptmpl/block.phpnu&1iPK!]#o,,8tmpl/index.htmlnu&1iPK!]7qV==tmpl/default.phpnu&1iPK!]#  tmpl/text.phpnu&1iPK!]#o,, index.htmlnu&1iPK!]!8 style.phpnu&1iPK!]&. style.xmlnu&1iPK!]pStmpl/default_importexport.phpnu&1iPK!]%tmpl/default_themes.phpnu&1iPK