Added changes from eb94b51 TMMeilleur/PrestaShop
This commit is contained in:
@@ -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)
|
||||
});
|
||||
});
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user