| Current Path : /home/w/u/e/wuectly/www/03cbe/ |
| Current File : /home/w/u/e/wuectly/www/03cbe/com_djimageslider.zip |
PK �|!]��PT[ [ djimageslider.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.8" method="upgrade" client="admin">
<name>com_djimageslider</name>
<creationDate>2018-12-19</creationDate>
<author>DJ-Extensions.com</author>
<copyright>Copyright (C) 2017 DJ-Extensions.com, All rights reserved.</copyright>
<license>http://www.gnu.org/licenses GNU/GPL</license>
<authorEmail>contact@dj-extensions.com</authorEmail>
<authorUrl>http://dj-extensions.com</authorUrl>
<version>4.5.1</version>
<description>DJ-ImageSlider component</description>
<scriptfile>script.djimageslider.php</scriptfile>
<install>
<sql>
<file charset="utf8" driver="mysql">sql/install.sql</file>
</sql>
</install>
<uninstall>
<sql>
<file charset="utf8" driver="mysql">sql/uninstall.sql</file>
</sql>
</uninstall>
<update>
<schemas>
<schemapath type="mysql">sql/updates</schemapath>
</schemas>
</update>
<administration>
<menu img="components/com_djimageslider/assets/icon-16-djimageslider.png">COM_DJIMAGESLIDER</menu>
<files folder="administrator">
<filename>djimageslider.php</filename>
<filename>controller.php</filename>
<filename>index.html</filename>
<filename>config.xml</filename>
<filename>access.xml</filename>
<folder>assets</folder>
<folder>controllers</folder>
<folder>helpers</folder>
<folder>language</folder>
<folder>models</folder>
<folder>sql</folder>
<folder>tables</folder>
<folder>views</folder>
</files>
</administration>
</extension>
PK �|!]t�[� � djimageslider.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
defined('DS') or define('DS', DIRECTORY_SEPARATOR);
// Include dependancies
jimport('joomla.application.component.controller');
$db = JFactory::getDBO();
$db->setQuery("SELECT manifest_cache FROM #__extensions WHERE element='com_djimageslider' LIMIT 1");
$version = json_decode($db->loadResult());
$version = $version->version;
define('DJIMAGESLIDERFOOTER', '<div style="text-align: center; margin: 10px 0;">DJ-ImageSlider (version '.$version.'), © 2010-'.JFactory::getDate()->format('Y').' Copyright by <a target="_blank" href="http://dj-extensions.com">DJ-Extensions.com</a>, All Rights Reserved.<br /><a target="_blank" href="http://dj-extensions.com"><img src="'.JURI::base().'components/com_djimageslider/assets/logo.png" alt="DJ-Extensions.com" style="margin: 20px 0 0;" /></a></div>');
$document = JFactory::getDocument();
if ($document->getType() == 'html') {
$document->addStyleSheet(JURI::base(true).'/components/com_djimageslider/assets/admin.css');
}
$controller = JControllerLegacy::getInstance('djimageslider');
// Perform the Request task
$controller->execute( JFactory::getApplication()->input->get('task') );
$controller->redirect();
?>PK �|!]�#o, , views/cpanel/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]O�nc; ; views/cpanel/tmpl/legacy.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
defined('_JEXEC') or die('Restricted access'); ?>
<?php if (version_compare(JVERSION, '3.0', '>=')) { ?>
<div class="<?php echo $this->classes->row ?>">
<?php if(!empty( $this->sidebar)): ?>
<div id="j-sidebar-container" class="<?php echo $this->classes->col ?>2">
<?php echo $this->sidebar; ?>
</div>
<div id="j-main-container" class="<?php echo $this->classes->col ?>10">
<?php else: ?>
<div id="j-main-container">
<?php endif;?>
<div class="<?php echo $this->classes->row ?>">
<div class="cpanel-left <?php echo $this->classes->col ?>8">
<div class="cpanel3">
<h3><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CPANEL') ?></h3>
<div class="icon">
<a href="index.php?option=com_categories&extension=com_djimageslider">
<img src="components/com_djimageslider/assets/icon-48-category.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES'); ?></span>
</a>
</div>
<div class="icon">
<a href="index.php?option=com_djimageslider&view=items">
<img src="components/com_djimageslider/assets/icon-48-slides.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES'); ?></span>
</a>
</div>
<div class="icon">
<a href="index.php?option=com_categories&view=category&layout=edit&extension=com_djimageslider">
<img src="components/com_djimageslider/assets/icon-48-category-add.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_NEW_CATEGORY') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_NEW_CATEGORY'); ?></span>
</a>
</div>
<div class="icon">
<a href="index.php?option=com_djimageslider&view=item&layout=edit">
<img src="components/com_djimageslider/assets/icon-48-slide-add.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_NEW_SLIDE') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_NEW_SLIDE'); ?></span>
</a>
</div>
<div class="icon">
<a href="https://dj-extensions.com/extensions/dj-image-slider.html" target="_blank">
<img src="components/com_djimageslider/assets/icon-48-help.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_DOCUMENTATION') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_DOCUMENTATION'); ?></span>
</a>
</div>
</div>
</div>
<div class="cpanel-right <?php echo $this->classes->col ?>4">
<div class="cpanel well">
<div class="<?php echo $this->classes->row ?>">
<iframe src="https://dj-extensions.com/index.php?option=com_content&view=article&tmpl=component&id=437" style="border:0; width: 100%; max-width: 450px; height: 370px; margin: -10px 0; padding: 0;"></iframe>
</div>
</div>
</div>
</div>
</div>
</div>
<?php } else { ?>
<table class="adminform">
<tr>
<td width="55%" valign="top">
<div class="cpanel-left">
<div id="cpanel">
<div style="float:left;">
<div class="icon">
<a href="index.php?option=com_categories&extension=com_djimageslider">
<img src="components/com_djimageslider/assets/icon-48-category.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES'); ?></span>
</a>
</div>
</div>
<div style="float:left;">
<div class="icon">
<a href="index.php?option=com_djimageslider&view=items">
<img src="components/com_djimageslider/assets/icon-48-slides.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES'); ?></span>
</a>
</div>
</div>
<div style="float:left;">
<div class="icon">
<a href="index.php?option=com_categories&view=category&layout=edit&extension=com_djimageslider">
<img src="components/com_djimageslider/assets/icon-48-category-add.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_NEW_CATEGORY') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_NEW_CATEGORY'); ?></span>
</a>
</div>
</div>
<div style="float:left;">
<div class="icon">
<a href="index.php?option=com_djimageslider&view=item&layout=edit">
<img src="components/com_djimageslider/assets/icon-48-slide-add.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_NEW_SLIDE') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_NEW_SLIDE'); ?></span>
</a>
</div>
</div>
<div style="float:left;">
<div class="icon">
<a href="https://dj-extensions.com/extensions/dj-image-slider.html" target="_blank">
<img src="components/com_djimageslider/assets/icon-48-help.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_DOCUMENTATION') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_DOCUMENTATION'); ?></span>
</a>
</div>
</div>
</div>
</div>
<div class="cpanel-right">
<div class="cpanel">
<iframe src="https://dj-extensions.com/index.php?option=com_content&view=article&tmpl=component&id=437" style="border:0; width: 100%; max-width: 450px; height: 370px; margin: -10px 0; padding: 0;"></iframe>
<div style="clear: both;" ></div>
</div>
</div>
</td>
</tr>
</table>
<?php } ?>
<div class="clr" style="clear: both"></div>
<?php echo DJIMAGESLIDERFOOTER; ?>PK �|!]�#o, , views/cpanel/tmpl/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]�K�� � views/cpanel/tmpl/default.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
defined('_JEXEC') or die('Restricted access'); ?>
<?php if (version_compare(JVERSION, '3.0', '>=')) { ?>
<div class="<?php echo $this->classes->row ?>">
<?php if(!empty( $this->sidebar)): ?>
<div id="j-sidebar-container" class="<?php echo $this->classes->col ?>2">
<?php echo $this->sidebar; ?>
</div>
<div id="j-main-container" class="<?php echo $this->classes->col ?>10">
<?php else: ?>
<div id="j-main-container">
<?php endif;?>
<div class="<?php echo $this->classes->row ?>">
<div class="cpanel-left <?php echo $this->classes->col ?>8">
<div class="cpanel">
<h3><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CPANEL') ?></h3>
<div class="icon">
<a href="index.php?option=com_categories&extension=com_djimageslider">
<img src="components/com_djimageslider/assets/icon-48-category.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES'); ?></span>
</a>
</div>
<div class="icon">
<a href="index.php?option=com_djimageslider&view=items">
<img src="components/com_djimageslider/assets/icon-48-slides.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES'); ?></span>
</a>
</div>
<div class="icon">
<a href="index.php?option=com_categories&view=category&layout=edit&extension=com_djimageslider">
<img src="components/com_djimageslider/assets/icon-48-category-add.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_NEW_CATEGORY') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_NEW_CATEGORY'); ?></span>
</a>
</div>
<div class="icon">
<a href="index.php?option=com_djimageslider&view=item&layout=edit">
<img src="components/com_djimageslider/assets/icon-48-slide-add.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_NEW_SLIDE') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_NEW_SLIDE'); ?></span>
</a>
</div>
<div class="icon">
<a href="https://dj-extensions.com/extensions/dj-image-slider.html" target="_blank">
<img src="components/com_djimageslider/assets/icon-48-help.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_DOCUMENTATION') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_DOCUMENTATION'); ?></span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<?php } else { ?>
<table class="adminform">
<tr>
<td width="55%" valign="top">
<div class="cpanel-left">
<div id="cpanel">
<div style="float:left;">
<div class="icon">
<a href="index.php?option=com_categories&extension=com_djimageslider">
<img src="components/com_djimageslider/assets/icon-48-category.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES'); ?></span>
</a>
</div>
</div>
<div style="float:left;">
<div class="icon">
<a href="index.php?option=com_djimageslider&view=items">
<img src="components/com_djimageslider/assets/icon-48-slides.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES'); ?></span>
</a>
</div>
</div>
<div style="float:left;">
<div class="icon">
<a href="index.php?option=com_categories&view=category&layout=edit&extension=com_djimageslider">
<img src="components/com_djimageslider/assets/icon-48-category-add.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_NEW_CATEGORY') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_NEW_CATEGORY'); ?></span>
</a>
</div>
</div>
<div style="float:left;">
<div class="icon">
<a href="index.php?option=com_djimageslider&view=item&layout=edit">
<img src="components/com_djimageslider/assets/icon-48-slide-add.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_NEW_SLIDE') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_NEW_SLIDE'); ?></span>
</a>
</div>
</div>
<div style="float:left;">
<div class="icon">
<a href="https://dj-extensions.com/extensions/dj-image-slider.html" target="_blank">
<img src="components/com_djimageslider/assets/icon-48-help.png" alt="<?php echo JText::_('COM_DJIMAGESLIDER_DOCUMENTATION') ?>" />
<span><?php echo JText::_('COM_DJIMAGESLIDER_DOCUMENTATION'); ?></span>
</a>
</div>
</div>
</div>
</div>
<div class="cpanel-right">
<div class="cpanel">
<iframe src="https://dj-extensions.com/index.php?option=com_content&view=article&tmpl=component&id=437" style="border:0; width: 100%; max-width: 450px; height: 370px; margin: -10px 0; padding: 0;"></iframe>
<div style="clear: both;" ></div>
</div>
</div>
</td>
</tr>
</table>
<?php } ?>
<div class="clr" style="clear: both"></div>
<?php echo DJIMAGESLIDERFOOTER; ?>PK �|!]n��7 7 views/cpanel/view.html.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
defined('_JEXEC') or die( 'Restricted access' );
jimport( 'joomla.application.component.view');
jimport( 'joomla.application.categories');
jimport('joomla.html.pane');
class DJImageSliderViewCpanel extends JViewLegacy
{
function display($tpl = null)
{
JToolBarHelper::title( JText::_('COM_DJIMAGESLIDER'));
JToolBarHelper::preferences('com_djimageslider', 550, 875);
if (class_exists('JHtmlSidebar')){
$this->sidebar = JHtmlSidebar::render();
}
$this->classes = DJImageSliderHelper::getBSClasses();
parent::display($tpl);
}
}
PK �|!]�#o, , views/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]�O��_ _ views/item/tmpl/edit_params.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// No direct access.
defined('_JEXEC') or die;
$fieldSets = $this->form->getFieldsets('params');
foreach ($fieldSets as $name => $fieldSet) : ?>
<fieldset class="panelform well" >
<h3><?php echo JText::_($fieldSet->label); ?></h3>
<?php if (isset($fieldSet->description) && trim($fieldSet->description)) :
echo '<p class="tip alert alert-info">'.$this->escape(JText::_($fieldSet->description)).'</p>';
endif; ?>
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
<?php echo $field->renderField(); ?>
<?php endforeach; ?>
</fieldset>
<?php endforeach; ?>PK �|!]Jl-x x views/item/tmpl/edit.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// No direct access.
defined('_JEXEC') or die;
if(version_compare(JVERSION, '4', '<')) { // Joomla 3) { // first must be the zoomer script
JHtml::_('behavior.framework');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
}else {
JHtml::_('behavior.formvalidator');
}
if(version_compare(JVERSION, '3.0', '>=')) JHtml::_('formbehavior.chosen', 'select'); /* J!3.0 only */
?>
<script type="text/javascript">
Joomla.submitbutton = function(task)
{
if (task == 'item.cancel' || document.formvalidator.isValid(document.getElementById('item-form'))) {
Joomla.submitform(task, document.getElementById('item-form'));
}
else {
alert("<?php echo $this->escape(JText::_('COM_DJIMAGESLIDER_VALIDATION_FORM_FAILED'));?>");
}
}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_djimageslider&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="item-form" class="form-validate form-horizontal">
<div class="<?php echo $this->classes->row ?>">
<div class="<?php echo $this->classes->col ?>7">
<fieldset class="adminform">
<h3><?php echo empty($this->item->id) ? JText::_('COM_DJIMAGESLIDER_NEW') : JText::sprintf('COM_DJIMAGESLIDER_EDIT', $this->item->id); ?></h3>
<div class="tab-content">
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('title'); ?></div>
<div class="controls"><?php echo $this->form->getInput('title'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('catid'); ?></div>
<div class="controls"><?php echo $this->form->getInput('catid'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('image'); ?></div>
<div class="controls"><?php echo $this->form->getInput('image'); ?></div>
</div>
<div style="clear:both"></div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('description'); ?></div>
<div class="controls"><?php echo $this->form->getInput('description'); ?></div>
</div>
</div>
</fieldset>
</div>
<div class="<?php echo $this->classes->col ?>5">
<fieldset class="panelform well" >
<h3><?php echo JText::_('COM_DJIMAGESLIDER_PUBLISHING_OPTIONS'); ?></h3>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('published'); ?></div>
<div class="controls"><?php echo $this->form->getInput('published'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('publish_up'); ?></div>
<div class="controls"><?php echo $this->form->getInput('publish_up'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('publish_down'); ?></div>
<div class="controls"><?php echo $this->form->getInput('publish_down'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('id'); ?></div>
<div class="controls"><?php echo $this->form->getInput('id'); ?></div>
</div>
</fieldset>
<?php echo $this->loadTemplate('params'); ?>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</form>
<div class="clr"></div>
PK �|!]Jl-x x views/item/tmpl/legacy.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// No direct access.
defined('_JEXEC') or die;
if(version_compare(JVERSION, '4', '<')) { // Joomla 3) { // first must be the zoomer script
JHtml::_('behavior.framework');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
}else {
JHtml::_('behavior.formvalidator');
}
if(version_compare(JVERSION, '3.0', '>=')) JHtml::_('formbehavior.chosen', 'select'); /* J!3.0 only */
?>
<script type="text/javascript">
Joomla.submitbutton = function(task)
{
if (task == 'item.cancel' || document.formvalidator.isValid(document.getElementById('item-form'))) {
Joomla.submitform(task, document.getElementById('item-form'));
}
else {
alert("<?php echo $this->escape(JText::_('COM_DJIMAGESLIDER_VALIDATION_FORM_FAILED'));?>");
}
}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_djimageslider&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="item-form" class="form-validate form-horizontal">
<div class="<?php echo $this->classes->row ?>">
<div class="<?php echo $this->classes->col ?>7">
<fieldset class="adminform">
<h3><?php echo empty($this->item->id) ? JText::_('COM_DJIMAGESLIDER_NEW') : JText::sprintf('COM_DJIMAGESLIDER_EDIT', $this->item->id); ?></h3>
<div class="tab-content">
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('title'); ?></div>
<div class="controls"><?php echo $this->form->getInput('title'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('catid'); ?></div>
<div class="controls"><?php echo $this->form->getInput('catid'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('image'); ?></div>
<div class="controls"><?php echo $this->form->getInput('image'); ?></div>
</div>
<div style="clear:both"></div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('description'); ?></div>
<div class="controls"><?php echo $this->form->getInput('description'); ?></div>
</div>
</div>
</fieldset>
</div>
<div class="<?php echo $this->classes->col ?>5">
<fieldset class="panelform well" >
<h3><?php echo JText::_('COM_DJIMAGESLIDER_PUBLISHING_OPTIONS'); ?></h3>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('published'); ?></div>
<div class="controls"><?php echo $this->form->getInput('published'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('publish_up'); ?></div>
<div class="controls"><?php echo $this->form->getInput('publish_up'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('publish_down'); ?></div>
<div class="controls"><?php echo $this->form->getInput('publish_down'); ?></div>
</div>
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('id'); ?></div>
<div class="controls"><?php echo $this->form->getInput('id'); ?></div>
</div>
</fieldset>
<?php echo $this->loadTemplate('params'); ?>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</form>
<div class="clr"></div>
PK �|!]�O��_ _ ! views/item/tmpl/legacy_params.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// No direct access.
defined('_JEXEC') or die;
$fieldSets = $this->form->getFieldsets('params');
foreach ($fieldSets as $name => $fieldSet) : ?>
<fieldset class="panelform well" >
<h3><?php echo JText::_($fieldSet->label); ?></h3>
<?php if (isset($fieldSet->description) && trim($fieldSet->description)) :
echo '<p class="tip alert alert-info">'.$this->escape(JText::_($fieldSet->description)).'</p>';
endif; ?>
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
<?php echo $field->renderField(); ?>
<?php endforeach; ?>
</fieldset>
<?php endforeach; ?>PK �|!]�#o, , views/item/tmpl/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]
�_� � views/item/view.html.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.application.component.view');
class DJImageSliderViewItem extends JViewLegacy
{
protected $form;
protected $item;
protected $state;
public function display($tpl = null)
{
// Initialiase variables.
$this->form = $this->get('Form');
$this->item = $this->get('Item');
$this->state = $this->get('State');
// Check for errors.
if (count($errors = $this->get('Errors'))) {
throw new \Exception(implode("\n", $errors), 500);
return false;
}
$this->classes = DJImageSliderHelper::getBSClasses();
$this->addToolbar();
parent::display($tpl);
}
protected function addToolbar()
{
JFactory::getApplication()->input->set('hidemainmenu', true);
$user = JFactory::getUser();
$userId = $user->get('id');
$isNew = ($this->item->id == 0);
$checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $userId);
$canDo = true; //ContactHelper::getActions($this->state->get('filter.category'));
$text = $isNew ? JText::_( 'COM_DJIMAGESLIDER_NEW' ) : JText::_( 'COM_DJIMAGESLIDER_EDIT' );
JToolBarHelper::title( JText::_( 'COM_DJIMAGESLIDER_ITEM' ).': <small><small>[ ' . $text.' ]</small></small>', 'generic.png' );
// Built the actions for new and existing records.
if ($isNew) {
// For new records, check the create permission.
//if ($canDo->get('core.create')) {
JToolBarHelper::apply('item.apply', 'JTOOLBAR_APPLY');
JToolBarHelper::save('item.save', 'JTOOLBAR_SAVE');
JToolBarHelper::custom('item.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);
//}
JToolBarHelper::cancel('item.cancel', 'JTOOLBAR_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)) {
JToolBarHelper::apply('item.apply', 'JTOOLBAR_APPLY');
JToolBarHelper::save('item.save', 'JTOOLBAR_SAVE');
// 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')) {
JToolBarHelper::custom('item.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);
//}
//}
}
// If checked out, we can still save
//if ($canDo->get('core.create')) {
JToolBarHelper::custom('item.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false);
//}
JToolBarHelper::cancel('item.cancel', 'JTOOLBAR_CLOSE');
}
}
}
PK �|!]�#o, , views/item/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]�#o, , views/items/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]1Êk k views/items/view.html.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.application.component.view');
class DJImageSliderViewItems extends JViewLegacy
{
protected $items;
protected $pagination;
protected $state;
public function display($tpl = null)
{
$this->items = $this->get('Items');
$this->pagination = $this->get('Pagination');
$this->state = $this->get('State');
// Check for errors.
if (count($errors = $this->get('Errors'))) {
throw new \Exception(implode("\n", $errors), 500);
return false;
}
if (class_exists('JHtmlSidebar')){
$this->sidebar = JHtmlSidebar::render();
}
foreach($this->items as $item) {
$item->thumb = 'components/com_djimageslider/assets/icon-image.png';
if(strcasecmp(substr($item->image, 0, 4), 'http') != 0 && !empty($item->image)) {
$item->image = JURI::root(true).'/'.$item->image;
}
$item->preview = '<img src="'.$item->image.'" alt="'.$this->escape($item->title).'" width="300" />';
}
$this->classes = DJImageSliderHelper::getBSClasses();
$this->addToolbar();
parent::display($tpl);
}
protected function addToolbar()
{
$doc = JFactory::getDocument();
JHTML::_('jquery.framework');
$doc->addStyleSheet(JURI::root(true).'/media/djextensions/magnific/magnific.css');
$doc->addScript(JURI::root(true).'/media/djextensions/magnific/magnific.js', 'text/javascript');
$doc->addScript(JURI::base(true).'/components/com_djimageslider/assets/magnific-init.js', 'text/javascript');
JToolBarHelper::title(JText::_('COM_DJIMAGESLIDER_SLIDES'), 'generic.png');
JToolBarHelper::addNew('item.add','JTOOLBAR_NEW');
JToolBarHelper::editList('item.edit','JTOOLBAR_EDIT');
JToolBarHelper::deleteList('', 'items.delete','JTOOLBAR_DELETE');
JToolBarHelper::divider();
JToolBarHelper::custom('items.publish', 'publish.png', 'publish_f2.png','JTOOLBAR_PUBLISH', true);
JToolBarHelper::custom('items.unpublish', 'unpublish.png', 'unpublish_f2.png', 'JTOOLBAR_UNPUBLISH', true);
JToolBarHelper::divider();
JToolBarHelper::preferences('com_djimageslider', 550, 875);
}
}PK �|!]�X�S S views/items/tmpl/emptystate.phpnu &1i� <?php
/**
* @package Joomla.Administrator
* @subpackage com_content
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\Layout\LayoutHelper;
$displayData = [
'textPrefix' => 'COM_DJIMAGESLIDER_ITEMS',
'formURL' => 'index.php?option=com_djimageslider&view=items',
'helpURL' => 'https://support.dj-extensions.com/portal/en/kb/articles/creating-new-custom-item',
'icon' => 'generic',
];
$user = Factory::getApplication()->getIdentity();
if ($user->authorise('core.create', 'com_djimageslider'))
{
$displayData['createURL'] = 'index.php?option=com_djimageslider&task=item.add';
}
echo LayoutHelper::render('joomla.content.emptystate', $displayData);
PK �|!]��"X}# }# views/items/tmpl/legacy.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Session\Session;
JHtml::_('formbehavior.chosen', 'select');
if(version_compare(JVERSION, '4', '<')) { // Joomla 3) { // first must be the zoomer script
JHTML::_('behavior.tooltip');
}
$user = JFactory::getUser();
$userId = $user->get('id');
$listOrder = $this->state->get('list.ordering');
$listDirn = $this->state->get('list.direction');
$canOrder = $user->authorise('core.edit.state', 'com_djimageslider.category');
$saveOrder = $listOrder == 'a.ordering';
$joomla4 = version_compare(JVERSION, '4', '>=') ? true : false;
if($saveOrder) {
if($joomla4) {
$saveOrderingUrl = 'index.php?option=com_djimageslider&task=items.saveOrderAjax&tmpl=component&' . Session::getFormToken() . '=1';
HTMLHelper::_('draggablelist.draggable');
} else {
$saveOrderingUrl = 'index.php?option=com_djimageslider&task=items.saveOrderAjax&tmpl=component';
JHtml::_('sortablelist.sortable', 'itemsList', 'adminForm', strtolower($listDirn), $saveOrderingUrl);
}
}
?>
<div class="<?php echo $this->classes->row ?>">
<?php if(!empty( $this->sidebar)): ?>
<div id="j-sidebar-container" class="<?php echo $this->classes->col ?>2">
<?php echo $this->sidebar; ?>
</div>
<div id="j-main-container" class="<?php echo $this->classes->col ?>10">
<?php else: ?>
<div id="j-main-container">
<?php endif;?>
<form action="<?php echo JRoute::_('index.php?option=com_djimageslider&view=items'); ?>" method="post" name="adminForm" id="adminForm">
<div id="filter-bar" class="btn-toolbar">
<div class="filter-search fltlft btn-group pull-left">
<label class="filter-search-lbl element-invisible" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" placeholder="<?php echo JText::_('COM_DJIMAGESLIDER_SEARCH_IN_TITLE'); ?>" />
</div>
<div class="filter-search fltlft btn-group pull-left">
<button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
<button type="button" class="btn" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
</div>
<div class="btn-group pull-right hidden-phone">
<?php echo $this->pagination->getLimitBox(); ?>
</div>
<div class="filter-select fltrt btn-group pull-right">
<select name="filter_published" class="inputbox input-medium" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
<?php echo JHtml::_('select.options', array(JHtml::_('select.option', '1', 'JPUBLISHED'),JHtml::_('select.option', '0', 'JUNPUBLISHED')), 'value', 'text', $this->state->get('filter.published'), true);?>
</select>
</div>
<div class="filter-select fltrt btn-group pull-right">
<select name="filter_category" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_djimageslider'), 'value', 'text', $this->state->get('filter.category'));?>
</select>
</div>
</div>
<div class="clr"> </div>
<table class="adminlist table table-striped" id="itemsList">
<thead>
<tr>
<th width="1%" class="nowrap center hidden-phone">
<?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'a.ordering', $listDirn, $listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?>
</th>
<th width="1%">
<input type="checkbox" name="checkall-toggle" value="" onclick="checkAll(this)" />
</th>
<th width="8%">
<?php echo JText::_('COM_DJIMAGESLIDER_IMAGE'); ?>
</th>
<th>
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?>
</th>
<th width="5%">
<?php echo JHtml::_('grid.sort', 'JPUBLISHED', 'a.published', $listDirn, $listOrder); ?>
</th>
<th width="10%">
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?>
</th>
<th width="1%">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="10">
<?php echo $this->pagination->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody <?php if ($saveOrder && $joomla4) :?> class="js-draggable" data-url="<?php echo $saveOrderingUrl; ?>" data-direction="<?php echo strtolower($listDirn); ?>" data-nested="false"<?php endif; ?>>
<?php
$n = count($this->items);
foreach ($this->items as $i => $item) :
$ordering = ($listOrder == 'a.ordering');
$canCreate = $user->authorise('core.create', 'com_djimageslider.category.'.$item->catid);
$canEdit = $user->authorise('core.edit', 'com_djimageslider.category.'.$item->catid);
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0;
$canEditOwn = true; //$user->authorise('core.edit.own', 'com_djimageslider.category.'.$item->catid) && $item->created_by == $userId;
$canChange = $user->authorise('core.edit.state', 'com_djimageslider.category.'.$item->catid) && $canCheckin;
?>
<tr class="row<?php echo $i % 2; ?>" sortable-group-id="<?php echo $item->catid ?>" data-dragable-group="<?php echo $item->catid ?>">
<td class="order nowrap center hidden-phone">
<?php $iconClass = '';
if (!$canChange) {
$iconClass = ' inactive';
} elseif (!$saveOrder) {
$iconClass = ' inactive tip-top hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED');
} ?>
<span class="sortable-handler<?php echo $iconClass ?>">
<i class="icon-move"></i>
</span>
<?php if ($canChange && $saveOrder) : ?>
<input type="text" style="display:none" name="order[]" size="5" value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " />
<?php endif; ?>
</td>
<td class="center">
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
</td>
<td align="center">
<?php if ($item->image) : ?>
<a class="mf-popup" href="<?php echo $item->image; ?>"><img src="<?php echo $item->image; ?>" alt="<?php echo $this->escape($item->title); ?>" style="border: 1px solid #ccc; padding: 1px; max-height: 40px; max-width: 60px;" /></a>
<?php endif; ?>
</td>
<td>
<?php if ($item->checked_out) : ?>
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'items.', $canCheckin); ?>
<?php endif; ?>
<?php if ($canEdit || $canEditOwn) : ?>
<a href="<?php echo JRoute::_('index.php?option=com_djimageslider&task=item.edit&id='.(int) $item->id); ?>">
<?php echo $this->escape($item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($item->title); ?>
<?php endif; ?>
<div class="smallsub small">
<?php
$desc = strip_tags($item->description);
if(function_exists('mb_substr')) {
echo mb_substr($desc,0,120); if(strlen($desc) > 120) echo '...';
} else {
echo substr($desc,0,120); if(strlen($desc) > 120) echo '...';
} ?>
</div>
</td>
<td class="center">
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'items.', true, 'cb' ); ?>
</td>
<td align="center">
<?php echo $item->category_title; ?>
</td>
<td align="center">
<?php echo $item->id; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
</div>
</div>
<div class="clr" style="clear: both"></div>
<?php echo DJIMAGESLIDERFOOTER; ?>
PK �|!]���:~# ~# views/items/tmpl/default.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Session\Session;
JHtml::_('formbehavior.chosen', 'select');
if(version_compare(JVERSION, '4', '<')) { // Joomla 3) { // first must be the zoomer script
JHTML::_('behavior.tooltip');
}
$user = JFactory::getUser();
$userId = $user->get('id');
$listOrder = $this->state->get('list.ordering');
$listDirn = $this->state->get('list.direction');
$canOrder = $user->authorise('core.edit.state', 'com_djimageslider.category');
$saveOrder = $listOrder == 'a.ordering';
$joomla4 = version_compare(JVERSION, '4', '>=') ? true : false;
if($saveOrder) {
if($joomla4) {
$saveOrderingUrl = 'index.php?option=com_djimageslider&task=items.saveOrderAjax&tmpl=component&' . Session::getFormToken() . '=1';
HTMLHelper::_('draggablelist.draggable');
} else {
$saveOrderingUrl = 'index.php?option=com_djimageslider&task=items.saveOrderAjax&tmpl=component';
JHtml::_('sortablelist.sortable', 'itemsList', 'adminForm', strtolower($listDirn), $saveOrderingUrl);
}
}
?>
<div class="<?php echo $this->classes->row ?>">
<?php if(!empty( $this->sidebar)): ?>
<div id="j-sidebar-container" class="<?php echo $this->classes->col ?>2">
<?php echo $this->sidebar; ?>
</div>
<div id="j-main-container" class="<?php echo $this->classes->col ?>10">
<?php else: ?>
<div id="j-main-container">
<?php endif;?>
<form action="<?php echo JRoute::_('index.php?option=com_djimageslider&view=items'); ?>" method="post" name="adminForm" id="adminForm">
<div id="filter-bar" class="btn-toolbar">
<div class="filter-search fltlft btn-group pull-left">
<label class="filter-search-lbl element-invisible" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" placeholder="<?php echo JText::_('COM_DJIMAGESLIDER_SEARCH_IN_TITLE'); ?>" />
</div>
<div class="filter-search fltlft btn-group pull-left">
<button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
<button type="button" class="btn" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
</div>
<div class="btn-group pull-right hidden-phone">
<?php echo $this->pagination->getLimitBox(); ?>
</div>
<div class="filter-select fltrt btn-group pull-right">
<select name="filter_published" class="inputbox input-medium" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
<?php echo JHtml::_('select.options', array(JHtml::_('select.option', '1', 'JPUBLISHED'),JHtml::_('select.option', '0', 'JUNPUBLISHED')), 'value', 'text', $this->state->get('filter.published'), true);?>
</select>
</div>
<div class="filter-select fltrt btn-group pull-right">
<select name="filter_category" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_djimageslider'), 'value', 'text', $this->state->get('filter.category'));?>
</select>
</div>
</div>
<div class="clr"> </div>
<table class="adminlist table table-striped" id="itemsList">
<thead>
<tr>
<th width="1%" class="nowrap center hidden-phone">
<?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'a.ordering', $listDirn, $listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?>
</th>
<th width="1%">
<input type="checkbox" name="checkall-toggle" value="" onclick="checkAll(this)" />
</th>
<th width="8%">
<?php echo JText::_('COM_DJIMAGESLIDER_IMAGE'); ?>
</th>
<th>
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?>
</th>
<th width="5%">
<?php echo JHtml::_('grid.sort', 'JPUBLISHED', 'a.published', $listDirn, $listOrder); ?>
</th>
<th width="10%">
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?>
</th>
<th width="1%">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="10">
<?php echo $this->pagination->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody <?php if ($saveOrder && $joomla4) :?> class="js-draggable" data-url="<?php echo $saveOrderingUrl; ?>" data-direction="<?php echo strtolower($listDirn); ?>" data-nested="false"<?php endif; ?>>
<?php
$n = count($this->items);
foreach ($this->items as $i => $item) :
$ordering = ($listOrder == 'a.ordering');
$canCreate = $user->authorise('core.create', 'com_djimageslider.category.'.$item->catid);
$canEdit = $user->authorise('core.edit', 'com_djimageslider.category.'.$item->catid);
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0;
$canEditOwn = true; //$user->authorise('core.edit.own', 'com_djimageslider.category.'.$item->catid) && $item->created_by == $userId;
$canChange = $user->authorise('core.edit.state', 'com_djimageslider.category.'.$item->catid) && $canCheckin;
?>
<tr class="row<?php echo $i % 2; ?>" sortable-group-id="<?php echo $item->catid ?>" data-draggable-group="<?php echo $item->catid ?>">
<td class="order nowrap center hidden-phone">
<?php $iconClass = '';
if (!$canChange) {
$iconClass = ' inactive';
} elseif (!$saveOrder) {
$iconClass = ' inactive tip-top hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED');
} ?>
<span class="sortable-handler<?php echo $iconClass ?>">
<i class="icon-move"></i>
</span>
<?php if ($canChange && $saveOrder) : ?>
<input type="text" style="display:none" name="order[]" size="5" value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " />
<?php endif; ?>
</td>
<td class="center">
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
</td>
<td align="center">
<?php if ($item->image) : ?>
<a class="mf-popup" href="<?php echo $item->image; ?>"><img src="<?php echo $item->image; ?>" alt="<?php echo $this->escape($item->title); ?>" style="border: 1px solid #ccc; padding: 1px; max-height: 40px; max-width: 60px;" /></a>
<?php endif; ?>
</td>
<td>
<?php if ($item->checked_out) : ?>
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'items.', $canCheckin); ?>
<?php endif; ?>
<?php if ($canEdit || $canEditOwn) : ?>
<a href="<?php echo JRoute::_('index.php?option=com_djimageslider&task=item.edit&id='.(int) $item->id); ?>">
<?php echo $this->escape($item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($item->title); ?>
<?php endif; ?>
<div class="smallsub small">
<?php
$desc = strip_tags($item->description);
if(function_exists('mb_substr')) {
echo mb_substr($desc,0,120); if(strlen($desc) > 120) echo '...';
} else {
echo substr($desc,0,120); if(strlen($desc) > 120) echo '...';
} ?>
</div>
</td>
<td class="center">
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'items.', true, 'cb' ); ?>
</td>
<td align="center">
<?php echo $item->category_title; ?>
</td>
<td align="center">
<?php echo $item->id; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
</div>
</div>
<div class="clr" style="clear: both"></div>
<?php echo DJIMAGESLIDERFOOTER; ?>
PK �|!]�#o, , views/items/tmpl/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]�'�r
config.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?>
<config>
<!-- fieldset name="component"
label="COM_DJIMAGESLIDER_CONFIG_GLOBAL_SETTINGS_LABEL"
description="COM_DJIMAGESLIDER_CONFIG_GLOBAL_SETTINGS_DESC">
</fieldset-->
<fieldset name="permissions"
label="JCONFIG_PERMISSIONS_LABEL"
description="JCONFIG_PERMISSIONS_DESC"
>
<field name="rules"
type="rules"
label="JCONFIG_PERMISSIONS_LABEL"
validate="rules"
filter="rules"
component="com_djimageslider"
section="component" />
</fieldset>
</config>
PK �|!]!���
access.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?>
<access component="com_djimageslider">
<section name="component">
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" />
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_EDITSTATE_COMPONENT_DESC" />
</section>
<section name="category">
<action name="core.create" title="JACTION_CREATE" description="COM_CATEGORIES_ACCESS_CREATE_DESC" />
<action name="core.delete" title="JACTION_DELETE" description="COM_CATEGORIES_ACCESS_DELETE_DESC" />
<action name="core.edit" title="JACTION_EDIT" description="COM_CATEGORIES_ACCESS_EDIT_DESC" />
<action name="core.edit.state" title="JACTION_EDITSTATE" description="COM_CATEGORIES_ACCESS_EDITSTATE_DESC" />
<action name="core.edit.own" title="JACTION_EDITOWN" description="COM_CATEGORIES_ACCESS_EDITOWN_DESC" />
</section>
</access>
PK �|!]I6�� controllers/cpanel.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.controllerform');
class DJImageSliderControllerCPanel extends JControllerLegacy {
function __construct($config = array())
{
parent::__construct($config);
}
}
?>PK �|!]8A�� � controllers/item.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.controllerform');
class DJImageSliderControllerItem extends JControllerForm {
}
?>PK �|!] controllers/index.htmlnu &1i� PK �|!]6)t t controllers/items.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.component.controlleradmin');
class DJImageSliderControllerItems extends JControllerAdmin
{
public function getModel($name = 'Item', $prefix = 'DJImageSliderModel', $config = array('ignore_request' => true))
{
$model = parent::getModel($name, $prefix, $config);
return $model;
}
}PK �|!]�#o, , tables/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]�� tables/item.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
class DJImageSliderTableItem extends JTable
{
public function __construct(&$db) {
parent::__construct('#__djimageslider', 'id', $db);
}
function bind($array, $ignore = '')
{
if (isset($array['params']) && is_array($array['params'])) {
$registry = new JRegistry();
$registry->loadArray($array['params']);
$array['params'] = (string)$registry;
}
if(empty($array['alias'])) {
$array['alias'] = $array['title'];
}
$array['alias'] = JFilterOutput::stringURLSafe($array['alias']);
if(trim(str_replace('-','',$array['alias'])) == '') {
$array['alias'] = JFactory::getDate()->format("Y-m-d-H-i-s");
}
return parent::bind($array, $ignore);
}
public function store($updateNulls = false)
{
$isNew = ($this->id==0 ? true : false);
$success = parent::store($updateNulls);
if($isNew && $success && JFactory::getApplication()->input->get('view') == 'item') {
$this->reorder('catid = '.$this->catid);
}
return $success;
}
}
PK �|!] language/index.htmlnu &1i� PK �|!]�z�Yd d . language/ru-RU/ru-RU.com_djimageslider.sys.ininu &1i� ; Note : All ini files need to be saved as UTF-8
COM_DJIMAGESLIDER="DJ-ImageSlider"
COM_DJIMAGESLIDER_SLIDES="Слайды категории"
COM_DJIMAGESLIDER_CATEGORIES="Категории"
COM_DJIMAGESLIDER_DESCRIPTION="<strong>Thank you for installing DJ-ImageSlider!</strong><br /><br />The DJ-ImageSlider extension allows you to display image slides with title and short description linked to any menu item, article or custom url address. If you want to learn how to use DJ-ImageSlider please read <a href="_QQ_"http://dj-extensions.com/documentation"_QQ_">Documentation</a> and search our <a href="_QQ_"http://dj-extensions.com/forum"_QQ_">Support Forum</a><br /><br />Check out our other extensions at <a href="_QQ_"http://dj-extensions.com"_QQ_"><img scr="_QQ_"components/com_djimageslider/assets/logo.png"_QQ_" alt="_QQ_"DJ-Extensions.com"_QQ_" /></a>"PK �|!]��%V
V
* language/ru-RU/ru-RU.com_djimageslider.ininu &1i� ; Note : All ini files need to be saved as UTF-8
; Translation is incomplete
COM_DJIMAGESLIDER="DJ-ImageSlider"
COM_DJIMAGESLIDER_SUBMENU_CPANEL="Control Panel"
COM_DJIMAGESLIDER_SUBMENU_SLIDES="Слайды"
COM_DJIMAGESLIDER_SUBMENU_CATEGORIES="Категории"
COM_DJIMAGESLIDER_NEW_SLIDE="New Slide"
COM_DJIMAGESLIDER_NEW_CATEGORY="New Category"
COM_DJIMAGESLIDER_DOCUMENTATION="Documentation"
COM_DJIMAGESLIDER_CONFIGURATION="DJ-ImageSlider Options"
COM_DJIMAGESLIDER_SLIDES="Слайды"
COM_DJIMAGESLIDER_ITEM="Слайд"
COM_DJIMAGESLIDER_NEW="New"
COM_DJIMAGESLIDER_EDIT="Edit"
COM_DJIMAGESLIDER_IMAGE="Slide image"
COM_DJIMAGESLIDER_DESCRIPTION="Slide description"
COM_DJIMAGESLIDER_DESCRIPTION_DESC="Use introtext of linked article or product as a slide description by leaving this field empty"
COM_DJIMAGESLIDER_PUBLISH_UP="Start Publishing"
COM_DJIMAGESLIDER_PUBLISH_UP_DESC="An optional date to Start Publishing the slide"
COM_DJIMAGESLIDER_PUBLISH_DOWN="Finish Publishing"
COM_DJIMAGESLIDER_PUBLISH_DOWN_DESC="An optional date to Finish Publishing the slide"
COM_DJIMAGESLIDER_LINK_TYPE="Link type"
COM_DJIMAGESLIDER_DO_NOT_LINK="Don't link"
COM_DJIMAGESLIDER_LINK_TYPE_DESC="Choose the link target of this slide"
COM_DJIMAGESLIDER_MENU="Menu item"
COM_DJIMAGESLIDER_URL="Адрес URL"
COM_DJIMAGESLIDER_ARTICLE="Article"
COM_DJIMAGESLIDER_DJCATALOG2_ITEM="DJCatalog2 Product"
COM_DJIMAGESLIDER_LINK_TARGET="Target Window"
COM_DJIMAGESLIDER_LINK_TARGET_DESC="Target browser window when the link is clicked. Leave 'Auto' to let the module choose based on link."
COM_DJIMAGESLIDER_AUTO="Auto"
COM_DJIMAGESLIDER_PARENT_WINDOW="Parent Window"
COM_DJIMAGESLIDER_NEW_WINDOW="New Window"
COM_DJIMAGESLIDER_SEARCH_IN_TITLE="Search in title"
COM_DJIMAGESLIDER_N_ITEMS_DELETED="%s slides deleted."
COM_DJIMAGESLIDER_N_ITEMS_DELETED_1="%s slide deleted."
COM_DJIMAGESLIDER_N_ITEMS_PUBLISHED="%s slides published."
COM_DJIMAGESLIDER_N_ITEMS_PUBLISHED_1="%s slide published."
COM_DJIMAGESLIDER_N_ITEMS_UNPUBLISHED="%s slides unpublished."
COM_DJIMAGESLIDER_N_ITEMS_UNPUBLISHED_1="%s slide unpublished."
COM_DJIMAGESLIDER_N_ITEMS_CHECKED_IN="%s slides checked in."
COM_DJIMAGESLIDER_N_ITEMS_CHECKED_IN_1="%s slide checked in."
COM_DJIMAGESLIDER_VALIDATION_FORM_FAILED="Please fill in the required fields"
COM_CONTENT_CHANGE_ARTICLE_BUTTON="Select / Change"
COM_CONTENT_SELECT_AN_ARTICLE="Select an article"
COM_DJIMAGESLIDER_CONFIG_GLOBAL_SETTINGS_LABEL="Ustawienia"
COM_DJIMAGESLIDER_CONFIG_GLOBAL_SETTINGS_DESC="Nie ma żadnych ustawień dla komponentu DJ-ImageSlider. Cała konfiguracja znajduje się w parametrach modułu."
PK �|!] language/ru-RU/index.htmlnu &1i� PK �|!]��!�� � * language/en-GB/en-GB.com_djimageslider.ininu &1i� ; Note : All ini files need to be saved as UTF-8
COM_DJIMAGESLIDER="DJ-ImageSlider"
COM_DJIMAGESLIDER_SUBMENU_CPANEL="Control Panel"
COM_DJIMAGESLIDER_SUBMENU_SLIDES="Slides"
COM_DJIMAGESLIDER_SUBMENU_CATEGORIES="Categories"
COM_DJIMAGESLIDER_NEW_SLIDE="New Slide"
COM_DJIMAGESLIDER_NEW_CATEGORY="New Category"
COM_DJIMAGESLIDER_DOCUMENTATION="Documentation"
COM_DJIMAGESLIDER_CONFIGURATION="DJ-ImageSlider Options"
COM_DJIMAGESLIDER_SLIDES="Slides"
COM_DJIMAGESLIDER_ITEM="Slide"
COM_DJIMAGESLIDER_NEW="New"
COM_DJIMAGESLIDER_NEW_SLIDE="New Slide"
COM_DJIMAGESLIDER_EDIT="Edit"
COM_DJIMAGESLIDER_EDIT_SLIDE="Edit Slide"
COM_DJIMAGESLIDER_IMAGE="Slide image"
COM_DJIMAGESLIDER_DESCRIPTION="Slide description"
COM_DJIMAGESLIDER_DESCRIPTION_DESC="Use introtext of linked article or product as a slide description by leaving this field empty"
COM_DJIMAGESLIDER_PUBLISHING_OPTIONS="Publishing Options"
COM_DJIMAGESLIDER_PUBLISH_UP="Start Publishing"
COM_DJIMAGESLIDER_PUBLISH_UP_DESC="An optional date to Start Publishing the slide"
COM_DJIMAGESLIDER_PUBLISH_DOWN="Finish Publishing"
COM_DJIMAGESLIDER_PUBLISH_DOWN_DESC="An optional date to Finish Publishing the slide"
COM_DJIMAGESLIDER_LINKING_OPTIONS="Linking Options"
COM_DJIMAGESLIDER_LINK_TYPE="Link type"
COM_DJIMAGESLIDER_DO_NOT_LINK="Don't link"
COM_DJIMAGESLIDER_LINK_TYPE_DESC="Choose the link target of this slide"
COM_DJIMAGESLIDER_MENU="Menu item"
COM_DJIMAGESLIDER_URL="URL address"
COM_DJIMAGESLIDER_ARTICLE="Article"
COM_DJIMAGESLIDER_DJCATALOG2_ITEM="DJCatalog2 Product"
COM_DJIMAGESLIDER_LINK_TARGET="Target Window"
COM_DJIMAGESLIDER_LINK_TARGET_DESC="Target browser window when the link is clicked. Leave 'Auto' to let the module choose based on link."
COM_DJIMAGESLIDER_AUTO="Auto"
COM_DJIMAGESLIDER_PARENT_WINDOW="Parent Window"
COM_DJIMAGESLIDER_NEW_WINDOW="New Window"
COM_DJIMAGESLIDER_SEARCH_IN_TITLE="Search in title"
COM_DJIMAGESLIDER_N_ITEMS_DELETED="%s slides deleted."
COM_DJIMAGESLIDER_N_ITEMS_DELETED_1="%s slide deleted."
COM_DJIMAGESLIDER_N_ITEMS_PUBLISHED="%s slides published."
COM_DJIMAGESLIDER_N_ITEMS_PUBLISHED_1="%s slide published."
COM_DJIMAGESLIDER_N_ITEMS_UNPUBLISHED="%s slides unpublished."
COM_DJIMAGESLIDER_N_ITEMS_UNPUBLISHED_1="%s slide unpublished."
COM_DJIMAGESLIDER_N_ITEMS_CHECKED_IN="%s slides checked in."
COM_DJIMAGESLIDER_N_ITEMS_CHECKED_IN_1="%s slide checked in."
COM_DJIMAGESLIDER_VALIDATION_FORM_FAILED="Please fill in the required fields"
COM_CONTENT_CHANGE_ARTICLE_BUTTON="Select / Change"
COM_CONTENT_SELECT_AN_ARTICLE="Select an article"
COM_DJIMAGESLIDER_CONFIG_GLOBAL_SETTINGS_LABEL="Preferences"
COM_DJIMAGESLIDER_CONFIG_GLOBAL_SETTINGS_DESC="There's no options for DJ-ImageSlider component. All settings can be done with module parameters."
COM_DJIMAGESLIDER_LINK_REL="REL Attribute"
COM_DJIMAGESLIDER_LINK_REL_DESC="The rel attribute specifies the relationship between the current document and the linked document"
COM_DJIMAGESLIDER_IMAGE_ATTR_OPTIONS="Image attributes"
COM_DJIMAGESLIDER_ALT_ATTR="ALT attribute"
COM_DJIMAGESLIDER_ALT_ATTR_DESC="If empty then slide title will be used"
COM_DJIMAGESLIDER_TITLE_ATTR="TITLE attribute"
COM_DJIMAGESLIDER_TITLE_ATTR_DESC="If empty then no title attribute will be used"
PK �|!]nQ�@ @ . language/en-GB/en-GB.com_djimageslider.sys.ininu &1i� ; Note : All ini files need to be saved as UTF-8
COM_DJIMAGESLIDER="DJ-ImageSlider"
COM_DJIMAGESLIDER_SLIDES="Slides"
COM_DJIMAGESLIDER_CATEGORIES="Categories"
COM_DJIMAGESLIDER_DESCRIPTION="<strong>Thank you for installing DJ-ImageSlider!</strong><br /><br />The DJ-ImageSlider extension allows you to display image slides with title and short description linked to any menu item, article or custom url address. If you want to learn how to use DJ-ImageSlider please read <a href="_QQ_"http://dj-extensions.com/documentation"_QQ_">Documentation</a> and search our <a href="_QQ_"http://dj-extensions.com/forum"_QQ_">Support Forum</a><br /><br />Check out our other extensions at <a href="_QQ_"http://dj-extensions.com"_QQ_"><img scr="_QQ_"components/com_djimageslider/assets/logo.png"_QQ_" alt="_QQ_"DJ-Extensions.com"_QQ_" /></a>"PK �|!] language/en-GB/index.htmlnu &1i� PK �|!] language/pl-PL/index.htmlnu &1i� PK �|!]�1�z@
@
* language/pl-PL/pl-PL.com_djimageslider.ininu &1i� ; Note : All ini files need to be saved as UTF-8
COM_DJIMAGESLIDER="DJ-ImageSlider"
COM_DJIMAGESLIDER_SUBMENU_CPANEL="Pulpit"
COM_DJIMAGESLIDER_SUBMENU_SLIDES="Slajdy"
COM_DJIMAGESLIDER_SUBMENU_CATEGORIES="Kategorie"
COM_DJIMAGESLIDER_NEW_SLIDE="Nowy slajd"
COM_DJIMAGESLIDER_NEW_CATEGORY="Nowa kategoria"
COM_DJIMAGESLIDER_DOCUMENTATION="Documentation"
COM_DJIMAGESLIDER_CONFIGURATION="Ustawienia DJ-ImageSlider"
COM_DJIMAGESLIDER_SLIDES="Slajdy"
COM_DJIMAGESLIDER_ITEM="Slajd"
COM_DJIMAGESLIDER_NEW="Nowy"
COM_DJIMAGESLIDER_EDIT="Edycja"
COM_DJIMAGESLIDER_IMAGE="Obraz"
COM_DJIMAGESLIDER_DESCRIPTION="Opis slajdu"
COM_DJIMAGESLIDER_DESCRIPTION_DESC="Użyj wstępu artykułu lub produktu jako opis slajdu pozostawiając puste pole opisu."
COM_DJIMAGESLIDER_PUBLISH_UP="Start Publishing"
COM_DJIMAGESLIDER_PUBLISH_UP_DESC="An optional date to Start Publishing the slide"
COM_DJIMAGESLIDER_PUBLISH_DOWN="Finish Publishing"
COM_DJIMAGESLIDER_PUBLISH_DOWN_DESC="An optional date to Finish Publishing the slide"
COM_DJIMAGESLIDER_LINK_TYPE="Rodzaj odnośnika"
COM_DJIMAGESLIDER_DO_NOT_LINK="Bez odnośnika"
COM_DJIMAGESLIDER_LINK_TYPE_DESC="Wybierz rodzaj odnośnika"
COM_DJIMAGESLIDER_MENU="Element menu"
COM_DJIMAGESLIDER_URL="Adres URL"
COM_DJIMAGESLIDER_ARTICLE="Artykuł"
COM_DJIMAGESLIDER_DJCATALOG2_ITEM="Produkt z DJCatalog2"
COM_DJIMAGESLIDER_LINK_TARGET="Otwórz w"
COM_DJIMAGESLIDER_LINK_TARGET_DESC="Określ, gdzie otworzyć ten link po jego kliknięciu. Ustaw na 'Auto', aby moduł wybrał automatycznie na podstawie linku."
COM_DJIMAGESLIDER_AUTO="Auto"
COM_DJIMAGESLIDER_PARENT_WINDOW="W tym samym oknie"
COM_DJIMAGESLIDER_NEW_WINDOW="W nowym oknie"
COM_DJIMAGESLIDER_SEARCH_IN_TITLE="Szukaj w tytule"
COM_DJIMAGESLIDER_N_ITEMS_DELETED="Usunięto %s slajdów."
COM_DJIMAGESLIDER_N_ITEMS_DELETED_1="Usunięto %s slajd."
COM_DJIMAGESLIDER_N_ITEMS_PUBLISHED="Opublikowano %s slajdów."
COM_DJIMAGESLIDER_N_ITEMS_PUBLISHED_1="Opublikowano %s slajd."
COM_DJIMAGESLIDER_N_ITEMS_UNPUBLISHED="Odpublikowano %s slajdów."
COM_DJIMAGESLIDER_N_ITEMS_UNPUBLISHED_1="Odpublikowano %s slajd."
COM_DJIMAGESLIDER_N_ITEMS_CHECKED_IN="Odblokowano %s slajdów."
COM_DJIMAGESLIDER_N_ITEMS_CHECKED_IN_1="Odblokowano %s slajd."
COM_DJIMAGESLIDER_VALIDATION_FORM_FAILED="Proszę wypełnić wymagane pola"
COM_CONTENT_CHANGE_ARTICLE_BUTTON="Wybierz / Zmień"
COM_CONTENT_SELECT_AN_ARTICLE="Wybierz artykuł"
COM_DJIMAGESLIDER_CONFIG_GLOBAL_SETTINGS_LABEL="Ustawienia"
COM_DJIMAGESLIDER_CONFIG_GLOBAL_SETTINGS_DESC="Nie ma żadnych ustawień dla komponentu DJ-ImageSlider. Cała konfiguracja znajduje się w parametrach modułu."
PK �|!]
�]�? ? . language/pl-PL/pl-PL.com_djimageslider.sys.ininu &1i� ; Note : All ini files need to be saved as UTF-8
COM_DJIMAGESLIDER="DJ-ImageSlider"
COM_DJIMAGESLIDER_SLIDES="Slajdy"
COM_DJIMAGESLIDER_CATEGORIES="Kategorie"
COM_DJIMAGESLIDER_DESCRIPTION="<strong>Thank you for installing DJ-ImageSlider!</strong><br /><br />The DJ-ImageSlider extension allows you to display image slides with title and short description linked to any menu item, article or custom url address. If you want to learn how to use DJ-ImageSlider please read <a href="_QQ_"http://dj-extensions.com/documentation"_QQ_">Documentation</a> and search our <a href="_QQ_"http://dj-extensions.com/forum"_QQ_">Support Forum</a><br /><br />Check out our other extensions at <a href="_QQ_"http://dj-extensions.com"_QQ_"><img scr="_QQ_"components/com_djimageslider/assets/logo.png"_QQ_" alt="_QQ_"DJ-Extensions.com"_QQ_" /></a>"PK �|!]tLN� � sql/updates/4.0.sqlnu &1i� ALTER TABLE #__djimageslider
CHANGE `description` `description` text DEFAULT NULL,
CHANGE `params` `params` text DEFAULT NULL;
PK �|!] sql/updates/1.3.sqlnu &1i� PK �|!]��ܧ � sql/updates/2.0.sqlnu &1i� ALTER TABLE `#__djimageslider` ADD `publish_up` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
ADD `publish_down` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00';
PK �|!]fc�O O sql/updates/4.1.1.sqlnu &1i� INSERT INTO `#__content_types` (`type_title`, `type_alias`, `table`, `rules`, `field_mappings`, `router`,
`content_history_options`)
VALUES ('DJ-ImageSlider Category', 'com_djimageslider.category',
'{\"special\":{\"dbtable\":\"#__categories\",\"key\":\"id\",\"type\":\"Category\",\"prefix\":\"JTable\",\"config\":\"array()\"},\"common\":{\"dbtable\":\"#__ucm_content\",\"key\":\"ucm_id\",\"type\":\"Corecontent\",\"prefix\":\"JTable\",\"config\":\"array()\"}}',
'',
'{\"common\":{\"core_content_item_id\":\"id\",\"core_title\":\"title\",\"core_state\":\"published\",\"core_alias\":\"alias\",\"core_created_time\":\"created_time\",\"core_modified_time\":\"modified_time\",\"core_body\":\"description\", \"core_hits\":\"hits\",\"core_publish_up\":\"null\",\"core_publish_down\":\"null\",\"core_access\":\"access\", \"core_params\":\"params\", \"core_featured\":\"null\", \"core_metadata\":\"metadata\", \"core_language\":\"language\", \"core_images\":\"null\", \"core_urls\":\"null\", \"core_version\":\"version\", \"core_ordering\":\"null\", \"core_metakey\":\"metakey\", \"core_metadesc\":\"metadesc\", \"core_catid\":\"parent_id\", \"core_xreference\":\"null\", \"asset_id\":\"asset_id\"}, \"special\":{\"parent_id\":\"parent_id\",\"lft\":\"lft\",\"rgt\":\"rgt\",\"level\":\"level\",\"path\":\"path\",\"extension\":\"extension\",\"note\":\"note\"}}',
'ContentHelperRoute::getCategoryRoute',
'{\"formFile\":\"administrator\\/components\\/com_categories\\/models\\/forms\\/category.xml\", \"hideFields\":[\"asset_id\",\"checked_out\",\"checked_out_time\",\"version\",\"lft\",\"rgt\",\"level\",\"path\",\"extension\"], \"ignoreChanges\":[\"modified_user_id\", \"modified_time\", \"checked_out\", \"checked_out_time\", \"version\", \"hits\", \"path\"],\"convertToInt\":[\"publish_up\", \"publish_down\"], \"displayLookup\":[{\"sourceColumn\":\"created_user_id\",\"targetTable\":\"#__users\",\"targetColumn\":\"id\",\"displayColumn\":\"name\"},{\"sourceColumn\":\"access\",\"targetTable\":\"#__viewlevels\",\"targetColumn\":\"id\",\"displayColumn\":\"title\"},{\"sourceColumn\":\"modified_user_id\",\"targetTable\":\"#__users\",\"targetColumn\":\"id\",\"displayColumn\":\"name\"},{\"sourceColumn\":\"parent_id\",\"targetTable\":\"#__categories\",\"targetColumn\":\"id\",\"displayColumn\":\"title\"}]}');
PK �|!]��Y� � sql/install.sqlnu &1i� CREATE TABLE IF NOT EXISTS `#__djimageslider` (
`id` int(10) unsigned NOT NULL auto_increment,
`catid` int(10) unsigned NOT NULL default '0',
`title` varchar(255) NOT NULL,
`alias` varchar(255) NOT NULL default '',
`image` varchar(255) NOT NULL,
`description` text DEFAULT NULL,
`published` tinyint(1) NOT NULL default '0',
`publish_up` datetime NOT NULL default '0000-00-00 00:00:00',
`publish_down` datetime NOT NULL default '0000-00-00 00:00:00',
`checked_out` int(10) unsigned NOT NULL default '0',
`checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
`ordering` int(11) NOT NULL default '0',
`params` text DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `catid` (`catid`,`published`)
) DEFAULT CHARSET=utf8;
PK �|!] sql/index.htmlnu &1i� PK �|!](|4� sql/uninstall.sqlnu &1i� DROP TABLE `#__djimageslider`;
PK �|!]��L�
�
helpers/djimageslider.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
defined('_JEXEC') or die;
abstract class DJImageSliderHelper
{
public static function addSubmenu($vName)
{
if($vName=='item' || $vName=='category') return;
$version = new JVersion;
if (version_compare($version->getShortVersion(), '3.0.0', '<')) {
JSubMenuHelper::addEntry(
JText::_('COM_DJIMAGESLIDER_SUBMENU_CPANEL'),
'index.php?option=com_djimageslider',
$vName == 'cpanel'
);
JSubMenuHelper::addEntry(
JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES'),
'index.php?option=com_djimageslider&view=items',
$vName == 'items'
);
JSubMenuHelper::addEntry(
JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES'),
'index.php?option=com_categories&extension=com_djimageslider',
$vName == 'categories'
);
} else {
JHtmlSidebar::addEntry(
JText::_('COM_DJIMAGESLIDER_SUBMENU_CPANEL'),
'index.php?option=com_djimageslider',
$vName == 'cpanel'
);
JHtmlSidebar::addEntry(
JText::_('COM_DJIMAGESLIDER_SUBMENU_SLIDES'),
'index.php?option=com_djimageslider&view=items',
$vName == 'items'
);
JHtmlSidebar::addEntry(
JText::_('COM_DJIMAGESLIDER_SUBMENU_CATEGORIES'),
'index.php?option=com_categories&extension=com_djimageslider',
$vName == 'categories'
);
}
if ($vName=='categories') {
JToolBarHelper::title(
JText::sprintf('COM_DJIMAGESLIDER_CATEGORIES_TITLE',JText::_('com_djimageslider')),
'slider-categories');
}
}
public static function getBSClasses() {
$classes = new JObject;
if(version_compare(JVERSION, '4', '>=')) { // Bootstrap 4
$classes->set('row', 'row');
$classes->set('col', 'col-md-');
} else { // Boostrap 2.3.2
$classes->set('row', 'row-fluid');
$classes->set('col', 'span');
}
return $classes;
}
}
?>PK �|!] helpers/index.htmlnu &1i� PK �|!]WcH�� � helpers/category.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
defined('_JEXEC') or die;
class DJImageSliderCategories extends JCategories
{
/**
* Class constructor
*
* @param array $options Array of options
*
* @since 11.1
*/
public function __construct($options = array())
{
$options['table'] = '#__djimageslider` ';
$options['extension'] = 'com_djimageslider';
$options['field'] = 'catid';
parent::__construct($options);
}
}PK �|!]�� � controller.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die;
class DJImageSliderController extends JControllerLegacy
{
protected $default_view = 'cpanel';
public function display($cachable = false, $urlparams = false)
{
$app = JFactory::getApplication();
require_once JPATH_COMPONENT.'/helpers/djimageslider.php';
DJImageSliderHelper::addSubmenu($app->input->getCmd('view', 'cpanel'));
parent::display();
return $this;
}
}PK �|!]�P� � models/items.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.application.component.modellist');
class DJImageSliderModelItems extends JModelList
{
public function __construct($config = array())
{
if (empty($config['filter_fields'])) {
$config['filter_fields'] = array(
'id', 'a.id',
'title', 'a.title',
'alias', 'a.alias',
'catid', 'a.catid', 'category_title',
'ordering', 'a.ordering',
'checked_out', 'a.checked_out',
'checked_out_time', 'a.checked_out_time',
'published', 'a.published',
'access', 'a.access', 'access_level',
'created', 'a.created',
'created_by', 'a.created_by',
'language', 'a.language'
);
}
parent::__construct($config);
}
protected function populateState($ordering = null, $direction = null)
{
// Initialise variables.
$app = JFactory::getApplication();
$search = $this->getUserStateFromRequest($this->context.'.filter.search', 'filter_search');
$this->setState('filter.search', $search);
$published = $this->getUserStateFromRequest($this->context.'.filter.published', 'filter_published', '');
$this->setState('filter.published', $published);
$category = $this->getUserStateFromRequest($this->context.'.filter.category', 'filter_category', '');
$this->setState('filter.category', $category);
// List state information.
parent::populateState('a.ordering', 'asc');
}
protected function getStoreId($id = '')
{
// Compile the store id.
$id .= ':'.$this->getState('filter.search');
$id .= ':'.$this->getState('filter.published');
$id .= ':'.$this->getState('filter.category');
return parent::getStoreId($id);
}
protected function getListQuery()
{
// Create a new query object.
$db = $this->getDbo();
$query = $db->getQuery(true);
// Select the required fields from the table.
$query->select(
$this->getState(
'list.select',
'a.*'
)
);
$query->from('#__djimageslider AS a');
// Join over the categories.
$query->select('c.title AS category_title');
$query->join('LEFT', '#__categories AS c ON c.id = a.catid');
// Join over the users for the checked out user.
$query->select('uc.name AS editor');
$query->join('LEFT', '#__users AS uc ON uc.id=a.checked_out');
// Filter by published state
$published = $this->getState('filter.published');
if (is_numeric($published)) {
$query->where('a.published = ' . (int) $published);
}
else if ($published === '') {
$query->where('(a.published = 0 OR a.published = 1)');
}
// Filter by category state
$category = $this->getState('filter.category');
if (is_numeric($category)) {
$query->where('a.catid = ' . (int) $category);
}
// Filter by search in title.
$search = $this->getState('filter.search');
if (!empty($search)) {
if (stripos($search, 'id:') === 0) {
$query->where('a.id = '.(int) substr($search, 3));
}
else {
$search = $db->Quote('%'.$db->escape($search, true).'%');
$query->where('(a.title LIKE '.$search.' OR a.alias LIKE '.$search.')');
}
}
// Add the list ordering clause.
$orderCol = $this->state->get('list.ordering');
$orderDirn = $this->state->get('list.direction');
if ($orderCol == 'a.ordering' || $orderCol == 'category_title') {
$orderCol = 'category_title '.$orderDirn.', a.ordering';
}
$query->order($db->escape($orderCol.' '.$orderDirn));
return $query;
}
}
PK �|!]�#o, , models/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]�e�� � models/cpanel.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
defined('_JEXEC') or die;
jimport( 'joomla.application.component.model');
class DJImageSliderModelCPanel extends JModelLegacy {
function __construct()
{
parent::__construct();
}
}
?>
PK �|!]�!_ _ models/forms/item.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?>
<form
addfieldpath="/administrator/components/com_djcatalog2/models/fields">
<fieldset addfieldpath="/administrator/components/com_categories/models/fields">
<field name="id"
type="text"
label="JGLOBAL_FIELD_ID_LABEL"
description="JGLOBAL_FIELD_ID_DESC"
size="10"
default="0"
readonly="true"
class="readonly"
/>
<field name="catid"
type="category"
extension="com_djimageslider"
label="JCATEGORY"
description="JFIELD_CATEGORY_DESC"
class="inputbox"
required="true"
/>
<field name="title"
type="text"
label="JGLOBAL_TITLE"
description="JGLOBAL_TITLE"
class="inputbox"
size="30"
required="true"
/>
<field name="alias"
type="text"
label="JFIELD_ALIAS_LABEL"
description="JFIELD_ALIAS_DESC"
class="inputbox"
size="30"
/>
<field name="image"
type="media"
hide_none="1"
label="COM_DJIMAGESLIDER_IMAGE"
description="COM_DJIMAGESLIDER_IMAGE"
/>
<field name="description" type="editor"
label="COM_DJIMAGESLIDER_DESCRIPTION"
description="COM_DJIMAGESLIDER_DESCRIPTION_DESC"
class="inputbox"
filter="JComponentHelper::filterText"
buttons="false"
/>
<field id="published"
name="published"
type="list"
label="JSTATUS"
description="JFIELD_PUBLISHED_DESC"
class="inputbox"
size="1"
default="1"
>
<option value="1">
JPUBLISHED</option>
<option value="0">
JUNPUBLISHED</option>
</field>
<field name="publish_up" type="calendar"
label="COM_DJIMAGESLIDER_PUBLISH_UP" description="COM_DJIMAGESLIDER_PUBLISH_UP_DESC"
class="inputbox" format="%Y-%m-%d %H:%M:%S" size="22"
filter="user_utc" />
<field name="publish_down" type="calendar"
label="COM_DJIMAGESLIDER_PUBLISH_DOWN" description="COM_DJIMAGESLIDER_PUBLISH_DOWN_DESC"
class="inputbox" format="%Y-%m-%d %H:%M:%S" size="22"
filter="user_utc" />
<field name="checked_out"
type="hidden"
filter="unset"
/>
<field name="checked_out_time"
type="hidden"
filter="unset"
/>
</fieldset>
<fields name="params">
<fieldset name="jbasic" label="COM_DJIMAGESLIDER_LINKING_OPTIONS"
addfieldpath="/administrator/components/com_content/models/fields" >
<field name="link_type"
type="list"
label="COM_DJIMAGESLIDER_LINK_TYPE"
description="COM_DJIMAGESLIDER_LINK_TYPE_DESC"
default=""
>
<option value="">COM_DJIMAGESLIDER_DO_NOT_LINK</option>
<option value="menu">COM_DJIMAGESLIDER_MENU</option>
<option value="url">COM_DJIMAGESLIDER_URL</option>
<option value="article">COM_DJIMAGESLIDER_ARTICLE</option>
<!--option value="djc2_item">COM_DJIMAGESLIDER_DJCATALOG2_ITEM</option-->
</field>
<field name="link_menu"
type="menuitem"
label="COM_DJIMAGESLIDER_MENU"
description="COM_DJIMAGESLIDER_MENU"
disable="separator,heading,alias"
showon="link_type:menu"
/>
<field name="link_url"
type="text"
label="COM_DJIMAGESLIDER_URL"
description="COM_DJIMAGESLIDER_URL"
class="inputbox"
size="30"
showon="link_type:url"
/>
<field name="link_article"
type="modal_article"
label="COM_DJIMAGESLIDER_ARTICLE"
description="COM_DJIMAGESLIDER_ARTICLE"
showon="link_type:article"
/>
<field name="link_target"
type="list"
label="COM_DJIMAGESLIDER_LINK_TARGET"
description="COM_DJIMAGESLIDER_LINK_TARGET_DESC"
default=""
showon="link_type:menu,url,article"
>
<option value="">COM_DJIMAGESLIDER_AUTO</option>
<option value="_self">COM_DJIMAGESLIDER_PARENT_WINDOW</option>
<option value="_blank">COM_DJIMAGESLIDER_NEW_WINDOW</option>
</field>
<field name="link_rel"
type="list"
label="COM_DJIMAGESLIDER_LINK_REL"
description="COM_DJIMAGESLIDER_LINK_REL_DESC"
default=""
showon="link_type:menu,url,article"
>
<option value="">JNONE</option>
<option value="alternate">alternate</option>
<option value="author">author</option>
<option value="bookmark">bookmark</option>
<option value="help">help</option>
<option value="license">license</option>
<option value="next">next</option>
<option value="nofollow">nofollow</option>
<option value="noreferrer">noreferrer</option>
<option value="prefetch">prefetch</option>
<option value="prev">prev</option>
<option value="search">search</option>
<option value="tag">tag</option>
</field>
</fieldset>
<fieldset name="attrs" label="COM_DJIMAGESLIDER_IMAGE_ATTR_OPTIONS">
<field name="alt_attr"
type="text"
label="COM_DJIMAGESLIDER_ALT_ATTR"
description="COM_DJIMAGESLIDER_ALT_ATTR_DESC"
class="inputbox"
size="30"
/>
<field name="title_attr"
type="text"
label="COM_DJIMAGESLIDER_TITLE_ATTR"
description="COM_DJIMAGESLIDER_TITLE_ATTR_DESC"
class="inputbox"
size="30"
/>
</fieldset>
</fields>
</form>PK �|!]�#o, , models/forms/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �|!]�'C�
models/forms/filter_items.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?>
<form>
<fields name="filter">
<field
name="search"
type="text"
inputmode="search"
hint="COM_DJIMAGESLIDER_SEARCH_IN_TITLE"
/>
<field
name="published"
type="status"
label="JOPTION_SELECT_PUBLISHED"
onchange="this.form.submit();"
>
<option value="">JOPTION_SELECT_PUBLISHED</option>
</field>
<field
name="category"
type="category"
extension="com_djimageslider"
class="inputbox"
default=""
onchange="this.form.submit();"
>
<option value="">JOPTION_SELECT_CATEGORY</option>
</field>
</fields>
<fields name="list">
<field
name="limit"
type="limitbox"
label="JGLOBAL_LIST_LIMIT"
default="25"
onchange="this.form.submit();"
/>
</fields>
</form>
PK �|!]ǔ
,� � models/item.phpnu &1i� <?php
/**
* @version $Id$
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.modeladmin');
class DJImageSliderModelItem extends JModelAdmin
{
public function getTable($type = 'Item', $prefix = 'DJImageSliderTable', $config = array())
{
return JTable::getInstance($type, $prefix, $config);
}
public function getForm($data = array(), $loadData = true)
{
jimport('joomla.form.form');
JForm::addFieldPath('JPATH_ADMINISTRATOR/components/com_djcatalog2/models/fields');
// Get the form.
$form = $this->loadForm('com_djimageslider.item', 'item', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) {
return false;
}
/* not implemented yet
// Modify the form based on access controls.
if (!$this->canEditState((object) $data)) {
// Disable fields for display.
$form->setFieldAttribute('ordering', 'disabled', 'true');
$form->setFieldAttribute('published', 'disabled', 'true');
// Disable fields while saving.
// The controller has already verified this is a record you can edit.
$form->setFieldAttribute('ordering', 'filter', 'unset');
$form->setFieldAttribute('published', 'filter', 'unset');
}*/
return $form;
}
protected function loadFormData()
{
// Check the session for previously entered form data.
$data = JFactory::getApplication()->getUserState('com_djimageslider.edit.item.data', array());
if (empty($data)) {
$data = $this->getItem();
// Prime some default values.
if ($this->getState('item.id') == 0) {
$app = JFactory::getApplication();
$data->set('catid', $app->input->getInt('catid', $app->getUserState('com_djimageslider.items.filter.category')));
}
}
return $data;
}
protected function prepareTable($table)
{
jimport('joomla.filter.output');
$date = JFactory::getDate();
$user = JFactory::getUser();
$table->title = htmlspecialchars_decode($table->title, ENT_QUOTES);
$table->alias = JFilterOutput::stringURLSafe($table->alias);
if (empty($table->alias)) {
$table->alias = JFilterOutput::stringURLSafe($table->title);
}
// Set the publish date to now
if($table->published == 1 && intval($table->publish_up) == 0) {
$table->publish_up = $date->toSql();
}
if(empty($table->publish_down)) {
$table->publish_down = JFactory::getDbo()->getNullDate();
}
/*
if (empty($table->id)) {
// Set ordering to the last item if not set
if (empty($table->ordering)) {
$db = JFactory::getDbo();
$db->setQuery('SELECT MAX(ordering) FROM #__djimageslider');
$max = $db->loadResult();
$table->ordering = $max+1;
}
}
*/
}
protected function getReorderConditions($table)
{
$condition = array();
$condition[] = 'catid = '.(int) $table->catid;
return $condition;
}
}
PK �|!]�� models/fields/djfolderlist.phpnu &1i� <?php
/**
* @package Joomla.Platform
* @subpackage Form
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
jimport('joomla.filesystem.folder');
JFormHelper::loadFieldClass('list');
/**
* Supports an HTML select list of folder
*
* @since 11.1
*/
class JFormFieldDJFolderList extends JFormFieldList
{
/**
* The form field type.
*
* @var string
* @since 11.1
*/
protected $type = 'DJFolderList';
/**
* The filter.
*
* @var string
* @since 3.2
*/
protected $filter;
/**
* The exclude.
*
* @var string
* @since 3.2
*/
protected $exclude;
/**
* The recursive.
*
* @var string
* @since 3.6
*/
protected $recursive;
/**
* The hideNone.
*
* @var boolean
* @since 3.2
*/
protected $hideNone = false;
/**
* The hideDefault.
*
* @var boolean
* @since 3.2
*/
protected $hideDefault = false;
/**
* The directory.
*
* @var string
* @since 3.2
*/
protected $directory;
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
* @since 3.2
*/
public function __get($name)
{
switch ($name)
{
case 'filter':
case 'exclude':
case 'recursive':
case 'hideNone':
case 'hideDefault':
case 'directory':
return $this->$name;
}
return parent::__get($name);
}
/**
* Method to set certain otherwise inaccessible properties of the form field object.
*
* @param string $name The property name for which to the the value.
* @param mixed $value The value of the property.
*
* @return void
*
* @since 3.2
*/
public function __set($name, $value)
{
switch ($name)
{
case 'filter':
case 'directory':
case 'exclude':
case 'recursive':
$this->$name = (string) $value;
break;
case 'hideNone':
case 'hideDefault':
$value = (string) $value;
$this->$name = ($value === 'true' || $value === $name || $value === '1');
break;
default:
parent::__set($name, $value);
}
}
/**
* Method to attach a JForm object to the field.
*
* @param SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
*
* @return boolean True on success.
*
* @see JFormField::setup()
* @since 3.2
*/
public function setup(SimpleXMLElement $element, $value, $group = null)
{
$return = parent::setup($element, $value, $group);
if ($return)
{
$this->filter = (string) $this->element['filter'];
$this->exclude = (string) $this->element['exclude'];
$recursive = (string) $this->element['recursive'];
$this->recursive = ($recursive == 'true' || $recursive == 'recursive' || $recursive == '1');
$hideNone = (string) $this->element['hide_none'];
$this->hideNone = ($hideNone == 'true' || $hideNone == 'hideNone' || $hideNone == '1');
$hideDefault = (string) $this->element['hide_default'];
$this->hideDefault = ($hideDefault == 'true' || $hideDefault == 'hideDefault' || $hideDefault == '1');
// Get the path in which to search for file options.
$this->directory = (string) $this->element['directory'];
}
return $return;
}
/**
* Method to get the field options.
*
* @return array The field option objects.
*
* @since 11.1
*/
protected function getOptions()
{
$options = array();
$path = JPath::clean($this->directory);
if (!is_dir($path))
{
$path = JPATH_ROOT . DIRECTORY_SEPARATOR . $path;
}
// Prepend some default options based on field attributes.
if (!$this->hideNone)
{
$options[] = JHtml::_('select.option', '-1', JText::alt('JOPTION_DO_NOT_USE', preg_replace('/[^a-zA-Z0-9_\-]/', '_', $this->fieldname)));
}
if (!$this->hideDefault)
{
$options[] = JHtml::_('select.option', '', JText::alt('JOPTION_USE_DEFAULT', preg_replace('/[^a-zA-Z0-9_\-]/', '_', $this->fieldname)));
}
// Get a list of folders in the search path with the given filter.
$folders = JFolder::folders($path, $this->filter, $this->recursive, true);
// Build the options list from the list of folders.
if (is_array($folders))
{
foreach ($folders as $folder)
{
// Check to see if the file is in the exclude mask.
if ($this->exclude)
{
if (preg_match(chr(1) . $this->exclude . chr(1), $folder))
{
continue;
}
}
// Remove the root part and the leading /
$folder = trim(str_replace($path, '', $folder), '/');
$options[] = JHtml::_('select.option', $folder, $folder);
}
}
// Merge any additional options in the XML definition.
$options = array_merge(parent::getOptions(), $options);
return $options;
}
}
PK �|!]�A�e models/fields/djspacer.phpnu &1i� <?php
/**
* @version $Id: djspacer.php 31 2015-04-29 14:25:09Z szymon $
* @package DJ-MediaTools
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
* DJ-MediaTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-MediaTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-MediaTools. If not, see <http://www.gnu.org/licenses/>.
*
*/
defined('JPATH_PLATFORM') or die;
JFormHelper::loadFieldClass('Spacer');
/**
* Form Field class for the Joomla Platform.
* Provides spacer markup to be used in form layouts.
*
* @package Joomla.Platform
* @subpackage Form
* @since 11.1
*/
class JFormFieldDJSpacer extends JFormFieldSpacer
{
/**
* The form field type.
*
* @var string
* @since 11.1
*/
protected $type = 'DJSpacer';
/**
* Method to get the field input markup for a spacer.
* The spacer does not have accept input.
*
* @return string The field input markup.
*
* @since 11.1
*/
protected function getInput()
{
return '';
}
/**
* Method to get the field label markup for a spacer.
* Use the label text or name from the XML element as the spacer or
* Use a hr="true" to automatically generate plain hr markup
*
* @return string The field label markup.
*
* @since 11.1
*/
protected function getLabel()
{
$module = $this->form->getData()->get('module');
if($module) {
$lang = JFactory::getLanguage();
$lang->load($module, JPATH_ROOT, 'en-GB', true, false);
$lang->load($module, JPATH_ROOT . '/modules/'.$module, 'en-GB', true, false);
$lang->load($module, JPATH_ROOT, null, true, false);
$lang->load($module, JPATH_ROOT . '/modules/'.$module, null, true, false);
}
JFactory::getDocument()->addStyleSheet(JURI::base(true).'/components/com_djimageslider/assets/admin.css');
$html = array();
$class = $this->element['class'] ? (string) $this->element['class'] : '';
$type = $this->element['alert_type'] ? (string) $this->element['alert_type'] : 'info';
$html[] = '<div class="' . $class . ' djspacer alert alert-'.$type.'">';
// 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;
$html[] = '<strong id="' . $this->id . '-lbl">' . $text . '</strong>';
// If a description is specified, use it to build a tooltip.
if (!empty($this->description))
{
$html[] = '<div class="small">'
. ($this->translateDescription ? JText::_($this->description) : $this->description)
. '</div> ';
}
$html[] = '</div>';
return implode('', $html);
}
/**
* Method to get the field title.
*
* @return string The field title.
*
* @since 11.1
*/
protected function getTitle()
{
return $this->getLabel();
}
}
PK �|!]y, , assets/magnific-init.jsnu &1i� // initialization of magnific popup for all album instances
!function($){
$(document).ready(function(){
$('#adminForm').each(function() {
$(this).magnificPopup({
delegate: '.mf-popup', // the selector for gallery item
type: 'image',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: true
},
image: {
verticalFit: true
},
iframe: {
patterns: {
youtube: null,
vimeo: null,
link: {
index: '/',
src: '%id%'
}
}
}
});
});
});
}(jQuery);PK �|!]���SL L assets/ex_slider.pngnu &1i� �PNG
IHDR P X bBp� tEXtSoftware Adobe ImageReadyq�e<