[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / couteau_suisse / couteau_suisse / outils / set_options.php
diff --git a/www/plugins/auto/couteau_suisse/couteau_suisse/outils/set_options.php b/www/plugins/auto/couteau_suisse/couteau_suisse/outils/set_options.php
new file mode 100644 (file)
index 0000000..bdcc706
--- /dev/null
@@ -0,0 +1,15 @@
+<?php\r
+function set_options_header_prive($flux) {\r
+       return $flux. <<<JAVASCRIPT\r
+<script type="text/javascript"><!--\r
+// des que le DOM est pret...\r
+if (window.jQuery) jQuery(document).ready(function(){\r
+ if (jQuery('a.icone26').length) {\r
+       jQuery("#displayfond").hide();\r
+       jQuery("a.icone26[@href*=set_options]").hide();\r
+ }\r
+});\r
+//--></script>\r
+JAVASCRIPT;\r
+}\r
+?>
\ No newline at end of file