X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.title.header.tpl;h=9f0bbc57a33bd1c8314505db0ae8791aa0362ffc;hb=16d2c88314364b5e79936f4262d453dff03abdad;hp=4edc86f4258a5016dd3316f671db5311de261883;hpb=aa84dc605a1d558f117396acca3e170c588028fc;p=platal.git
diff --git a/templates/skin/common.title.header.tpl b/templates/skin/common.title.header.tpl
index 4edc86f..9f0bbc5 100644
--- a/templates/skin/common.title.header.tpl
+++ b/templates/skin/common.title.header.tpl
@@ -1,41 +1,48 @@
-{**************************************************************************}
-{* *}
-{* Copyright (C) 2003-2006 Polytechnique.org *}
-{* http://opensource.polytechnique.org/ *}
-{* *}
-{* This program is free software; you can redistribute it and/or modify *}
-{* it under the terms of the GNU General Public License as published by *}
-{* the Free Software Foundation; either version 2 of the License, or *}
-{* (at your option) any later version. *}
-{* *}
-{* This program is distributed in the hope that it will be useful, *}
-{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
-{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
-{* GNU General Public License for more details. *}
-{* *}
-{* You should have received a copy of the GNU General Public License *}
-{* along with this program; if not, write to the Free Software *}
-{* Foundation, Inc., *}
-{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
-{* *}
-{**************************************************************************}
-
-
-
-
- |
-
- {insert name="getNbIns"} polytechniciens sur le web
-
- {insert name="getNbNotifs"}
- |
-
-
+{**************************************************************************}
+{* *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
+{* http://opensource.polytechnique.org/ *}
+{* *}
+{* This program is free software; you can redistribute it and/or modify *}
+{* it under the terms of the GNU General Public License as published by *}
+{* the Free Software Foundation; either version 2 of the License, or *}
+{* (at your option) any later version. *}
+{* *}
+{* This program is distributed in the hope that it will be useful, *}
+{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
+{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
+{* GNU General Public License for more details. *}
+{* *}
+{* You should have received a copy of the GNU General Public License *}
+{* along with this program; if not, write to the Free Software *}
+{* Foundation, Inc., *}
+{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
+{* *}
+{**************************************************************************}
+
+
+
+ |
+
+ {$globals->core->NbIns|number_format} polytechniciens sur le web
+ {if t($smarty.request.quick)}
+ {assign var=requestQuick value=$smarty.request.quick|smarty:nodefaults}
+ {else}
+ {assign var=requestQuick value='Recherche dans l\'annuaire'}
+ {/if}
+
+ {if $smarty.session.auth gt AUTH_PUBLIC && $smarty.session.notifs}
+ {$smarty.session.notifs} événement{if $smarty.session.notifs gt 1}s{/if}
+ {/if}
+ |
+
+
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}