projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a648e8
)
Adds password edition link in xnet menu for xnet accounts.
author
Stéphane Jacob
<sj@m4x.org>
Sun, 8 Aug 2010 11:10:49 +0000
(13:10 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sun, 8 Aug 2010 11:10:49 +0000
(13:10 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/xnetpage.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/xnetpage.php
b/classes/xnetpage.php
index
a50e1d7
..
4729c82
100644
(file)
--- a/
classes/xnetpage.php
+++ b/
classes/xnetpage.php
@@
-83,6
+83,9
@@
class XnetPage extends PlPage
$sub = array();
$sub['tous les groupes'] = 'plan';
$sub['documentation'] = 'Xnet';
+ if (S::user()->type == 'xnet') {
+ $sub['mot de passe'] = 'https://www.polytechnique.org/password';
+ }
$sub['signaler un bug'] = array('href' => 'send_bug/'.$_SERVER['REQUEST_URI'], 'class' => 'popup_840x600');
$menu["no_title"] = $sub;