From: Stéphane Jacob Date: Mon, 26 Sep 2011 12:33:26 +0000 (+0200) Subject: 2a40c0bb529576c75ab756fc3dc62171d31cfebf was a mistake. X-Git-Tag: xorg/1.1.4~129 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=79d0b9af2cbd1d1a0683666cab99dafda15a313c;p=platal.git 2a40c0bb529576c75ab756fc3dc62171d31cfebf was a mistake. Signed-off-by: Stéphane Jacob --- diff --git a/modules/profile/general.inc.php b/modules/profile/general.inc.php index cafddee..8ba8f9a 100644 --- a/modules/profile/general.inc.php +++ b/modules/profile/general.inc.php @@ -630,6 +630,7 @@ class ProfilePageGeneral extends ProfilePage $this->settings['edus'] = new ProfileSettingEdu(); $this->settings['main_edus'] = new ProfileSettingMainEdu(); $this->settings['promo'] = new ProfileSettingPromo(); + $this->settings['networking'] = new ProfileSettingNetworking(); $this->settings['hobbies'] = new ProfileSettingHobby(); $this->watched = array('tels' => true, 'networking' => true, 'edus' => true, @@ -647,7 +648,6 @@ class ProfilePageGeneral extends ProfilePage } if (S::user()->checkPerms('directory_private') || S::user()->isMyProfile($this->owner)) { - $this->settings['networking'] = new ProfileSettingNetworking(); $this->settings['freetext'] = null; $this->settings['freetext_pub'] = $this->settings['photo_pub'] = new ProfileSettingPub(); diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 316ef39..22fb653 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -342,7 +342,6 @@ {if t($email_error)} {include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory_error error=$email_error i="0"} {else}{include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory error=false i="0"}{/if} - {if $viewPrivate || $isMe} Messageries, networking et sites web @@ -383,6 +382,7 @@ + {if $viewPrivate || $isMe}