X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.title.header.tpl;h=64e6bfda3eda2edc1570c7f6161536b9a5169b6d;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=ad75c91b3d1c76ed1480215d54e16a5b470df8d0;hpb=4f494e74bb1310de55ce335324a966e31b6c72cb;p=platal.git diff --git a/templates/skin/common.title.header.tpl b/templates/skin/common.title.header.tpl index ad75c91..64e6bfd 100644 --- a/templates/skin/common.title.header.tpl +++ b/templates/skin/common.title.header.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -30,13 +30,23 @@ {$globals->core->NbIns|number_format} polytechniciens sur le web + {if t($smarty.request.quick)} + {assign var=requestQuick value=$smarty.request.quick} + {else} + {assign var=requestQuick value="Recherche dans l'annuaire"} + {/if}
+ - + value="{$requestQuick}" + onfocus="if (this.value === 'Recherche dans l\'annuaire') this.value=''; + $('#quick_button').show()" + onblur="if (this.value === '') this.value='{$requestQuick|escape:javascript}'" + />
{if $smarty.session.auth gt AUTH_PUBLIC && $smarty.session.notifs}