projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update core
[platal.git]
/
classes
/
xnetpage.php
diff --git
a/classes/xnetpage.php
b/classes/xnetpage.php
index
f4d8e00
..
0a3af26
100644
(file)
--- a/
classes/xnetpage.php
+++ b/
classes/xnetpage.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
0
Polytechnique.org *
+ * Copyright (C) 2003-201
1
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 *
@@
-41,9
+41,9
@@
class XnetPage extends PlPage
$this->assign('is_admin', may_update());
$this->assign('is_member', is_member());
}
$this->assign('is_admin', may_update());
$this->assign('is_member', is_member());
}
- $this->addJsLink('jquery.js');
+ $this->addJsLink('jquery.
xorg.
js');
$this->addJsLink('overlib.js');
$this->addJsLink('overlib.js');
- $this->addJsLink('
wiki
.js');
+ $this->addJsLink('
core
.js');
$this->addJsLink('xorg.js');
$this->setTitle('Les associations polytechniciennes');
}
$this->addJsLink('xorg.js');
$this->setTitle('Les associations polytechniciennes');
}
@@
-55,6
+55,8
@@
class XnetPage extends PlPage
{
if (!$this->nomenu) {
$this->useMenu();
{
if (!$this->nomenu) {
$this->useMenu();
+ } else {
+ $this->assign('menu', false);
}
$this->_run('xnet/skin.tpl');
}
}
$this->_run('xnet/skin.tpl');
}
@@
-98,6
+100,9
@@
class XnetPage extends PlPage
if ($globals->asso('mail_domain')) {
$sub['listes de diffusion'] = "$dim/lists";
}
if ($globals->asso('mail_domain')) {
$sub['listes de diffusion'] = "$dim/lists";
}
+ if ($globals->asso('has_nl')) {
+ $sub['newsletter'] = "$dim/nl";
+ }
}
$sub['événement'] = "$dim/events";
if ($perms->hasFlag('groupmember')) {
}
$sub['événement'] = "$dim/events";
if ($perms->hasFlag('groupmember')) {