Added changes from eb94b51 TMMeilleur/PrestaShop

This commit is contained in:
alexey-svistunov
2013-11-08 21:00:00 +02:00
parent d3100acef2
commit 6f5c9044d3
87 changed files with 4285 additions and 152 deletions
+34
View File
@@ -0,0 +1,34 @@
jQuery(document).ready(function() {
$('.button.new-item').click(function() {
var item_container = $(this).parent('.new-item');
item_container.toggleClass('active').children('.item-container').slideToggle();
});
$('.button-edit').click(function() {
var item_container = $(this).parent('.item');
item_container.toggleClass('active').children('.item-container').slideToggle();
});
$('.button-close').click(function() {
var item_container = $(this).parent('.item');
item_container.toggleClass('active').children('.item-container').slideToggle();
});
$('.lang-flag').click(function() {
var lang_id = (this.id).substr(5);
$('.lang-flag').each(function () {
$(this).removeClass('active');
});
$(this).addClass('active');
$('.lang-content').each(function () {
$(this).hide();
});
$('#items-'+lang_id).show();
});
$('.new-lang-flag').click(function() {
var lang_id = (this.id).substr(5);
$('.new-lang-flag').each(function () {
$(this).removeClass('active');
});
$(this).addClass('active');
$("#lang-id").val(lang_id)
});
});
+10
View File
@@ -0,0 +1,10 @@
<?php
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;