From e77c06999a1ab676cfff73b45419454c84478ea5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 26 Sep 2011 10:22:56 +0200 Subject: [PATCH] Alignement. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/profile/general.inc.php | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/modules/profile/general.inc.php b/modules/profile/general.inc.php index 7bc415d..4bae6dd 100644 --- a/modules/profile/general.inc.php +++ b/modules/profile/general.inc.php @@ -546,25 +546,21 @@ class ProfilePageGeneral extends ProfilePage public function __construct(PlWizard $wiz) { parent::__construct($wiz); - $this->settings['search_names'] - = new ProfileSettingSearchNames(); - $this->settings['nationality1'] - = $this->settings['nationality2'] - = $this->settings['nationality3'] - = $this->settings['promo_display'] - = null; - $this->settings['email_directory'] - = new ProfileSettingEmail(); - $this->settings['email_directory_new'] - = new ProfileSettingEmailDirectory(); - $this->settings['tels'] = new ProfileSettingPhones(); - $this->settings['edus'] = new ProfileSettingEdu(); + $this->settings['search_names'] = new ProfileSettingSearchNames(); + $this->settings['nationality1'] = $this->settings['nationality2'] + = $this->settings['nationality3'] + = $this->settings['promo_display'] + = null; + $this->settings['email_directory'] = new ProfileSettingEmail(); + $this->settings['email_directory_new'] = new ProfileSettingEmailDirectory(); + $this->settings['tels'] = new ProfileSettingPhones(); + $this->settings['edus'] = new ProfileSettingEdu(); $this->settings['main_edus'] = new ProfileSettingMainEdu(); $this->settings['promo'] = new ProfileSettingPromo(); - $this->watched= array('tels' => true, - 'networking' => true, 'edus' => true, - 'nationality1' => true, 'nationality2' => true, - 'nationality3' => true, 'search_names' => true); + $this->watched = array('tels' => true, + 'networking' => true, 'edus' => true, + 'nationality1' => true, 'nationality2' => true, + 'nationality3' => true, 'search_names' => true); /* Some fields editable under condition */ if (!S::user()->isMe($this->owner)) { @@ -579,9 +575,8 @@ class ProfilePageGeneral extends ProfilePage || S::user()->isMyProfile($this->owner)) { $this->settings['networking'] = new ProfileSettingNetworking(); $this->settings['freetext'] = null; - $this->settings['freetext_pub'] - = $this->settings['photo_pub'] - = new ProfileSettingPub(); + $this->settings['freetext_pub'] = $this->settings['photo_pub'] + = new ProfileSettingPub(); $this->watched['freetext'] = true; } -- 2.1.4