From: Pascal Corpet Date: Sat, 18 Jun 2005 12:09:38 +0000 (+0000) Subject: barre de recherche rapide pour firefox X-Git-Tag: xorg/old~44 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=48abdcd4b8bbf835561e95b5862960ed8d2b0189;p=platal.git barre de recherche rapide pour firefox git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-720 --- diff --git a/htdocs/images/xorg.png b/htdocs/images/xorg.png new file mode 100644 index 0000000..0e4b1d1 Binary files /dev/null and b/htdocs/images/xorg.png differ diff --git a/htdocs/search.php b/htdocs/search.php index 266fce5..9426800 100644 --- a/htdocs/search.php +++ b/htdocs/search.php @@ -30,6 +30,8 @@ if (logged()) { require_once("applis.func.inc.php"); require_once("geoloc.inc.php"); +$page->assign('baseurl', $globals->baseurl); + if (Env::has('quick')) { $page->assign('formulaire', 0); diff --git a/htdocs/xorg.src b/htdocs/xorg.src new file mode 100644 index 0000000..6596f21 --- /dev/null +++ b/htdocs/xorg.src @@ -0,0 +1,14 @@ +# Mozilla/Polytechnique.org plug-in by contact@polytechnique.org + + + + + diff --git a/templates/search.quick.tpl b/templates/search.quick.tpl index aa36af4..99b5769 100644 --- a/templates/search.quick.tpl +++ b/templates/search.quick.tpl @@ -50,4 +50,24 @@ En effet, le moteur de recherche va alors chercher tous les utilisateurs dont le sans distinction de casse et sans tenir compte des accents.

+{min_auth level="cookie"} +

Barre de recherche pour Firefox

+ +

Tu peux installer la barre de recherche rapide directement dans ton navigateur. +

+{/min_auth} {* vim:set et sw=2 sts=2 sws=2: *}