From: Vincent Zanotti Date: Sun, 24 Aug 2008 20:27:15 +0000 (+0200) Subject: Converts XnetList and the wiki to the new User/hruid model. X-Git-Tag: xorg/0.10.0~86^2~21 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2c141369432429dd14d641483b2ce6449b53a0fe;p=platal.git Converts XnetList and the wiki to the new User/hruid model. Signed-off-by: Vincent Zanotti --- diff --git a/include/wiki/farmconfig.php b/include/wiki/farmconfig.php index b867000..b15491a 100644 --- a/include/wiki/farmconfig.php +++ b/include/wiki/farmconfig.php @@ -53,7 +53,7 @@ $GUIButtons['table'] = array(600, '$GUIButtonDirUrlFmt/table.gif"$[Table]"'); // set default author -$Author = $_SESSION['forlife'].'|'.$_SESSION['prenom'].' '.$_SESSION['nom']; +$Author = $_SESSION['hruid'].'|'.$_SESSION['prenom'].' '.$_SESSION['nom']; $InputTags['e_form'] = array( ':html' => "
client->create_list( $liste, utf8_decode(Post::v('desc')), Post::v('advertise'), Post::v('modlevel'), Post::v('inslevel'), - array(S::v('forlife')), array(S::v('forlife'))); + array(S::user()->forlifeEmail()), array(S::user()->forlifeEmail())); $dom = strtolower($globals->asso("mail_domain")); $red = $dom.'_'.$liste;