This commit is contained in:
2025-04-01 00:38:54 +02:00
parent d4d4c0c09d
commit 87da06293a
22351 changed files with 5168854 additions and 7538 deletions

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2016 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-2016 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;

View File

@@ -0,0 +1,74 @@
/**
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
*
* @author VEKIA PL MILOSZ MYSZCZUK VATEU: PL9730945634
* @copyright 2010-9999 VEKIA
* @license This program is not free software and you can't resell and redistribute it
*
* CONTACT WITH DEVELOPER http://mypresta.eu
* support@mypresta.eu
*/
function changeLanguageMine(field, fieldsString, id_language_new, iso_code) {
$('.langbutton' + field).addClass('button-outline');
$('#langbutton' + field + '_' + id_language_new).removeClass('button-outline');
$('div[id^=' + field + '_]').hide();
$('#' + field + '_' + id_language_new).show();
}
$(document).ready(function () {
$("#hbp_newhook_button").toggle(function () {
$("#hbp_newhook_form").show("fast");
}, function () {
$("#hbp_newhook_form").hide("fast");
});
$(".editbutton, .duplicatebutton").hover(
function () {
$(this).fadeTo("fast", 1.0);
},
function () {
$(this).fadeTo("fast", 0.3);
}
);
$(".remove, .edit, .duplicate").hover(
function () {
$(this).fadeTo("fast", 1.0);
},
function () {
$(this).fadeTo("fast", 0.3);
}
);
$(".accordion").clickToggleHtmlBox(
function () {
$(".hook_blocks").css("display", "none");
var alt = $(this).attr("alt");
//$(".hook_"+alt).css("display","table-row");
$(".hook_" + alt).show("fast");
},
function () {
$(".hook_blocks").css("display", "none");
var alt = $(this).attr("alt");
//$(".hook_"+alt).css("display","none");
$(".hook_" + alt).hide("fast");
}
);
});
(function ($) {
$.fn.clickToggleHtmlBox = function (func1, func2) {
var funcs = [func1, func2];
this.data('toggleclicked', 0);
this.click(function () {
var data = $(this).data();
var tc = data.toggleclicked;
$.proxy(funcs[tc], this)();
data.toggleclicked = (tc + 1) % 2;
});
return this;
};
}(jQuery));

View File

@@ -0,0 +1,75 @@
/**
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
*
* @author VEKIA PL MILOSZ MYSZCZUK VATEU: PL9730945634
* @copyright 2010-9999 VEKIA
* @license This program is not free software and you can't resell and redistribute it
*
* CONTACT WITH DEVELOPER http://mypresta.eu
* support@mypresta.eu
*/
function tinySetup(config) {
if (typeof tinyMCE === 'undefined') {
setTimeout(function () {
tinySetup(config);
}, 100);
return;
}
if (!config)
config = {};
var editor_selector = 'rte';
//if (typeof config['editor_selector'] !== 'undefined')
//var editor_selector = config['editor_selector'];
if (typeof config['editor_selector'] != 'undefined')
config['selector'] = '.' + config['editor_selector'];
//safari,pagebreak,style,table,advimage,advlink,inlinepopups,media,contextmenu,paste,fullscreen,xhtmlxtras,preview
default_config = {
selector: ".rte",
plugins: "visualblocks, preview searchreplace print insertdatetime, hr charmap colorpicker anchor code link image paste pagebreak table contextmenu filemanager table code media autoresize textcolor emoticons",
toolbar2: "newdocument,print,|,bold,italic,underline,|,strikethrough,superscript,subscript,|,forecolor,colorpicker,backcolor,|,bullist,numlist,outdent,indent",
toolbar1: "styleselect,|,formatselect,|,fontselect,|,fontsizeselect,",
toolbar3: "code,|,table,|,cut,copy,paste,searchreplace,|,blockquote,|,undo,redo,|,link,unlink,anchor,|,image,emoticons,media,|,inserttime,|,preview,|, visualblocks,charmap,hr,",
external_filemanager_path: ad + "/filemanager/",
filemanager_title: "File manager",
external_plugins: {"filemanager": ad + "/filemanager/plugin.min.js"},
extended_valid_elements: 'link[*], pre[*],script[*],style[*]',
valid_children: "+body[meta|style|script|iframe|section|link],a[embed|sub|sup|textarea|strong|strike|small|em|form|frame|iframe|input|select|legend|button|div|img|h1|h2|h3|h4|h5|h6|h7|span|p|section|pre|b|u|i|a|ol|ul|li|table|td|tr|th|tbody|thead],pre[iframe|section|script|div|p|br|span|img|style|h1|h2|h3|h4|h5],*[*]",
valid_elements: '*[*]',
allow_html_in_named_anchor: true,
force_p_newlines: false,
cleanup: false,
statusbar: false,
forced_root_block: false,
force_br_newlines: true,
relative_urls: false,
convert_urls: false,
remove_script_host: false,
menu: {
edit: {title: 'Edit', items: 'undo redo | cut copy paste | selectall'},
insert: {title: 'Insert', items: 'media image link | pagebreak'},
view: {title: 'View', items: 'visualaid'},
format: {title: 'Format', items: 'bold italic underline strikethrough superscript subscript | formats | removeformat'},
table: {title: 'Table', items: 'inserttable tableprops deletetable | cell row column'},
tools: {title: 'Tools', items: 'code'}
}
}
$.each(default_config, function (index, el) {
if (config[index] === undefined)
config[index] = el;
});
tinyMCE.init(config);
}
$().ready(function () {
tinySetup();
});

View File

@@ -0,0 +1,75 @@
/**
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
*
* @author VEKIA PL MILOSZ MYSZCZUK VATEU: PL9730945634
* @copyright 2010-9999 VEKIA
* @license This program is not free software and you can't resell and redistribute it
*
* CONTACT WITH DEVELOPER http://mypresta.eu
* support@mypresta.eu
*/
function tinySetup(config) {
if (typeof tinyMCE === 'undefined') {
setTimeout(function () {
tinySetup(config);
}, 100);
return;
}
if (!config)
config = {};
var editor_selector = 'rte';
//if (typeof config['editor_selector'] !== 'undefined')
//var editor_selector = config['editor_selector'];
if (typeof config['editor_selector'] != 'undefined')
config['selector'] = '.' + config['editor_selector'];
//safari,pagebreak,style,table,advimage,advlink,inlinepopups,media,contextmenu,paste,fullscreen,xhtmlxtras,preview
default_config = {
selector: ".rte",
plugins: "visualblocks, preview searchreplace print insertdatetime, hr charmap colorpicker anchor code link image paste pagebreak table contextmenu filemanager table code media autoresize textcolor emoticons",
toolbar2: "newdocument,print,|,bold,italic,underline,|,strikethrough,superscript,subscript,|,forecolor,colorpicker,backcolor,|,bullist,numlist,outdent,indent",
toolbar1: "styleselect,|,formatselect,|,fontselect,|,fontsizeselect,",
toolbar3: "code,|,table,|,cut,copy,paste,searchreplace,|,blockquote,|,undo,redo,|,link,unlink,anchor,|,image,emoticons,media,|,inserttime,|,preview,|, visualblocks,charmap,hr,",
external_filemanager_path: ad + "/filemanager/",
filemanager_title: "File manager",
external_plugins: {"filemanager": ad + "/filemanager/plugin.min.js"},
extended_valid_elements: 'link[*], pre[*],script[*],style[*]',
valid_children: "+body[meta|style|script|iframe|section|link],a[embed|sub|sup|textarea|strong|strike|small|em|form|frame|iframe|input|select|legend|button|div|img|h1|h2|h3|h4|h5|h6|h7|span|p|section|pre|b|u|i|a|ol|ul|li|table|td|tr|th|tbody|thead],pre[iframe|section|script|div|p|br|span|img|style|h1|h2|h3|h4|h5],*[*]",
valid_elements: '*[*]',
allow_html_in_named_anchor: true,
force_p_newlines: false,
cleanup: false,
forced_root_block: false,
force_br_newlines: true,
relative_urls: true,
statusbar: false,
convert_urls: true,
remove_script_host: false,
menu: {
edit: {title: 'Edit', items: 'undo redo | cut copy paste | selectall'},
insert: {title: 'Insert', items: 'media image link | pagebreak'},
view: {title: 'View', items: 'visualaid'},
format: {title: 'Format', items: 'bold italic underline strikethrough superscript subscript | formats | removeformat'},
table: {title: 'Table', items: 'inserttable tableprops deletetable | cell row column'},
tools: {title: 'Tools', items: 'code'}
}
}
$.each(default_config, function (index, el) {
if (config[index] === undefined)
config[index] = el;
});
tinyMCE.init(config);
}
$().ready(function () {
tinySetup();
});