{# Gestion des tooltips #}
if($.cookie("tooltips_placement") == null) {
  $.cookie("tooltips_placement", "left");
}
get_tooltips_options = function() {
  return {placement: $.cookie("tooltips_placement")};};


var tooltips = $('*[title], *[data-original-title]');
tooltips_disable = function() {
  $.cookie("tooltips_enabled", "false");
  tooltips.tooltip('destroy');
};
tooltips_enable = function() {
  $.cookie("tooltips_enabled", "true");
  tooltips.tooltip(get_tooltips_options());
};


var tooltips_enabled = $.cookie("tooltips_enabled");
if(tooltips_enabled == null || tooltips_enabled == "true") {
  tooltips_enable();
}


tooltips_reload = function() {tooltips_disable(); tooltips_enable();};
tooltips_placement = function(dir) {
  $.cookie("tooltips_placement", dir);
  tooltips_reload();
};
{# Fin de la gestion des tooltips #}


{# Gestion des cadres d’alerte #}
$('.alert').alert();
{# Fin de la gestion des cadres d’alerte #}

@@ -104,19 +104,32 @@
 , %22left%22
+, %7Bpath: '/'%7D
 );%0A
-
 %7D%0Aget_to
@@ -340,16 +340,29 @@
  %22false%22
+, %7Bpath: '/'%7D
 );%0A  too
@@ -458,16 +458,29 @@
 , %22true%22
+, %7Bpath: '/'%7D
 );%0A  too
@@ -576,19 +576,16 @@
 bled%22);%0A
-if(
 tooltips
@@ -595,21 +595,15 @@
 able
-d == null %7C%7C 
+();%0Aif(
 tool
@@ -619,19 +619,20 @@
 led == %22
-tru
+fals
 e%22) %7B%0A  
@@ -632,34 +632,35 @@
 %22) %7B%0A  tooltips_
-en
+dis
 able();%0A%7D%0A%0A%0Atool
@@ -759,24 +759,24 @@
 tion(dir) %7B%0A
-
   $.cookie(%22
@@ -799,16 +799,29 @@
 nt%22, dir
+, %7Bpath: '/'%7D
 );%0A  too

Applique les cookies sur tout le site.