From 2c141369432429dd14d641483b2ce6449b53a0fe Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sun, 24 Aug 2008 22:27:15 +0200 Subject: [PATCH] Converts XnetList and the wiki to the new User/hruid model. Signed-off-by: Vincent Zanotti --- include/wiki/farmconfig.php | 2 +- modules/xnetlists.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.1.4