first commit
This commit is contained in:
35
modules/leoslideshow/views/js/admin/index.php
Normal file
35
modules/leoslideshow/views/js/admin/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
6
modules/leoslideshow/views/js/admin/jquery-ui-1.10.3.custom.min.js
vendored
Normal file
6
modules/leoslideshow/views/js/admin/jquery-ui-1.10.3.custom.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1119
modules/leoslideshow/views/js/admin/script.js
Normal file
1119
modules/leoslideshow/views/js/admin/script.js
Normal file
File diff suppressed because it is too large
Load Diff
79
modules/leoslideshow/views/js/admin/show.js
Normal file
79
modules/leoslideshow/views/js/admin/show.js
Normal file
@@ -0,0 +1,79 @@
|
||||
/**
|
||||
* @copyright Commercial License By LeoTheme.Com
|
||||
* @email leotheme.com
|
||||
* @visit http://www.leotheme.com
|
||||
*/
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.alert.alert-info').css( 'cursor', 'pointer' );
|
||||
|
||||
$("#module_form").validate({
|
||||
|
||||
rules: {
|
||||
'group[blockCols]': {
|
||||
min: 5 // fix : Slideshow Iview die Timer
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
$('.form-action').change(function() {
|
||||
var elementName = $(this).attr('name');
|
||||
|
||||
elementName = elementName.replace('[', '');
|
||||
elementName = elementName.replace(']', '');
|
||||
|
||||
$('.' + elementName + '_sub').closest(".form-group").hide(300);
|
||||
$('.' + elementName + '-' + $(this).val()).closest(".form-group").show(300);
|
||||
|
||||
$('.' + elementName + '_sub').closest(".form_sub").hide(300);
|
||||
$('.' + elementName + '-' + $(this).val()).closest(".form_sub").show(300); // color has two class form-group
|
||||
});
|
||||
$('.form-action').trigger("change");
|
||||
|
||||
|
||||
// $('.sperator_form').click(function() {
|
||||
// var elementName = $(this).attr('name');
|
||||
// var flag = $(this).attr('nextClick');
|
||||
|
||||
// if(flag=='false'){
|
||||
// flag = 'true';
|
||||
// $('.' + elementName + '_sub').closest(".form-group").hide(300);
|
||||
// $('.' + elementName + '_sub').closest(".form_sub").hide(300);
|
||||
// }else{
|
||||
// flag = 'false';
|
||||
// $('.' + elementName + '_sub').closest(".form-group").show(300);
|
||||
// $('.' + elementName + '_sub').closest(".form_sub").show(300);
|
||||
// $('.form-action').trigger("change");
|
||||
// }
|
||||
|
||||
// $(this).attr( 'nextClick',flag);
|
||||
// });
|
||||
// $('.sperator_form').trigger("click");
|
||||
|
||||
//DONGND:: tab change in group config
|
||||
var id_panel = $("#slideshowgeneralsetting .leoslideshow-tablist li.active a").attr("href");
|
||||
$(id_panel).addClass('active').show();
|
||||
$('.leoslideshow-tablist li').click(function(){
|
||||
if(!$(this).hasClass('active'))
|
||||
{
|
||||
var default_tab = $(this).find('a').attr("href");
|
||||
$('#LEOSLIDESHOW_GROUP_DEFAULTTAB').val(default_tab);
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
(function ($) {
|
||||
|
||||
$.each($.validator.methods, function (key, value) {
|
||||
$.validator.methods[key] = function () {
|
||||
if(arguments.length > 0) {
|
||||
arguments[0] = $.trim(arguments[0]);
|
||||
}
|
||||
|
||||
return value.apply(this, arguments);
|
||||
};
|
||||
});
|
||||
} (jQuery));
|
||||
35
modules/leoslideshow/views/js/iView/index.php
Normal file
35
modules/leoslideshow/views/js/iView/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
1973
modules/leoslideshow/views/js/iView/iview.js
Normal file
1973
modules/leoslideshow/views/js/iView/iview.js
Normal file
File diff suppressed because it is too large
Load Diff
7
modules/leoslideshow/views/js/iView/raphael-min.js
vendored
Normal file
7
modules/leoslideshow/views/js/iView/raphael-min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
35
modules/leoslideshow/views/js/index.php
Normal file
35
modules/leoslideshow/views/js/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
1188
modules/leoslideshow/views/js/jquery-validation-1.9.0/jquery.validate.js
vendored
Normal file
1188
modules/leoslideshow/views/js/jquery-validation-1.9.0/jquery.validate.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
18
modules/leoslideshow/views/js/leoslideshow.js
Normal file
18
modules/leoslideshow/views/js/leoslideshow.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @copyright Commercial License By LeoTheme.Com
|
||||
* @email leotheme.com
|
||||
* @visit http://www.leotheme.com
|
||||
*/
|
||||
/**
|
||||
* List functions will run when document.ready()
|
||||
*/
|
||||
$(document).ready(function()
|
||||
{
|
||||
if(typeof (leoslideshow_list_functions) != 'undefined')
|
||||
{
|
||||
for (var i = 0; i < leoslideshow_list_functions.length; i++)
|
||||
{
|
||||
leoslideshow_list_functions[i]();
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user