Skip to content
Snippets Groups Projects
Commit 160cc2df authored by llaffont's avatar llaffont
Browse files

Simplification gestion retour à la liste

parent a7b47498
Branches
Tags
No related merge requests found
......@@ -158,11 +158,6 @@ class Class_Systeme_ModulesMenu extends Class_Systeme_ModulesAbstract {
case "PANIER":
$url = BASE_URL . "/panier";
$retour = null;
if (isset($_SESSION["recherche"]) && isset($_SESSION["retour_liste"]))
$retour = $_SESSION["recherche"]["retour_liste"];
if (!$retour or strpos($retour, "viewnotice") > 0)
$_SESSION["recherche"]["retour_liste"] = (isset($_SERVER['HTTP_REFERER'])) ? $_SERVER["HTTP_REFERER"] : '';
break;
case "AVIS": $url = BASE_URL . "/blog/lastcritique/nb/" . $preferences["nb"];
......
......@@ -102,7 +102,6 @@ class ZendAfi_View_Helper_Accueil_Kiosque extends ZendAfi_View_Helper_Accueil_Ba
}
// Iframe
$_SESSION["recherche"]["retour_liste"] = isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : BASE_URL;
$iframe = new ZendAfi_View_Helper_IframeContainer();
$iframe->iframeContainer("100%",
$hauteur,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment