projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix misdetection of already registered users during registration process.
[platal.git]
/
templates
/
skin
/
common.bandeau.tpl
diff --git
a/templates/skin/common.bandeau.tpl
b/templates/skin/common.bandeau.tpl
index
26e242b
..
25275c7
100644
(file)
--- a/
templates/skin/common.bandeau.tpl
+++ b/
templates/skin/common.bandeau.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-32,13
+32,17
@@
<!-- Don't copy this list of emails!!!
<!-- Don't copy this list of emails!!!
+{assign var="login" value="false"}
+{if !t($login)}
+ {if t($smarty.session.auth)}
+ {assign var="login" value="true"}
+ {/if}
+{/if}
+
{poison seed=$login}
-->
{poison seed=$login}
-->
-{if !$login && $smarty.session.auth}
- {assign var="login" value="true"}
-{/if}
<div id="bandeau-X">
<img src="bandeau/icone.png" alt=""/>
<div id="bandeau-X">
<img src="bandeau/icone.png" alt=""/>
@@
-49,9
+53,9
@@
<a href="http://www.polytechniciens.com/">AX</a>
˜˜
<a href="https://www.polytechnique.org">Polytechnique.org</a> ·
<a href="http://www.polytechniciens.com/">AX</a>
˜˜
<a href="https://www.polytechnique.org">Polytechnique.org</a> ·
- <a href="http://www.polytechnique.net{if
$login
}/login{/if}">Associations polytechniciennes</a> ·
+ <a href="http://www.polytechnique.net{if
t($login)
}/login{/if}">Associations polytechniciennes</a> ·
<a href="http://www.polytechnique.fr/eleves/">Élèves</a> ·
<a href="http://www.polytechnique.fr/eleves/">Élèves</a> ·
- <a href="http://www.manageurs.com/{if
$login
}anciens_accueil.php?asso=X.org{/if}">Manageurs</a>
+ <a href="http://www.manageurs.com/{if
t($login)
}anciens_accueil.php?asso=X.org{/if}">Manageurs</a>
</div>
{* vim:set et sw=2 sts=2 sws=2 enc=utf8: *}
</div>
{* vim:set et sw=2 sts=2 sws=2 enc=utf8: *}