From cfinck@svn.reactos.org Wed Jul 25 23:52:10 2007 From: cfinck@svn.reactos.org To: ros-diffs@reactos.org Subject: [ros-diffs] [cfinck] 27814: - Disable the "E-Mail address" and "Real Name" boxes on the Preferences page. The Real name was already disabled in the code and the E-Mail address should be completely handled by RosCMS. - Add a "Permanent link" button to the left menu. frik85 please upload that to the Web server. Date: Wed, 25 Jul 2007 21:51:51 +0000 Message-ID: <20070725215151.659401126A3@mail.smartxx.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0237248244172177562==" --===============0237248244172177562== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: cfinck Date: Thu Jul 26 01:51:50 2007 New Revision: 27814 URL: http://svn.reactos.org/svn/reactos?rev=3D27814&view=3Drev Log: - Disable the "E-Mail address" and "Real Name" boxes on the Preferences page. The Real name was already disabled in the code and the E-Mail address shoul= d be completely handled by RosCMS. - Add a "Permanent link" button to the left menu. frik85 please upload that to the Web server. Modified: trunk/web/reactos.org/htdocs/wiki/includes/SpecialPreferences.php trunk/web/reactos.org/htdocs/wiki/skins/RosCMS.php Modified: trunk/web/reactos.org/htdocs/wiki/includes/SpecialPreferences.php URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/wiki/inc= ludes/SpecialPreferences.php?rev=3D27814&r1=3D27813&r2=3D27814&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/web/reactos.org/htdocs/wiki/includes/SpecialPreferences.php (origin= al) +++ trunk/web/reactos.org/htdocs/wiki/includes/SpecialPreferences.php Thu Jul= 26 01:51:50 2007 @@ -297,7 +297,7 @@ $wgUser->saveSettings(); =20 $error =3D false; - if( $wgEnableEmail ) { + /*if( $wgEnableEmail ) { $newadr =3D $this->mUserEmail; $oldadr =3D $wgUser->getEmail(); if( ($newadr !=3D '') && ($newadr !=3D $oldadr) ) { @@ -319,12 +319,12 @@ } else { $error =3D wfMsg( 'invalidemailaddress' ); } - } else { + } else {*/ $wgUser->setEmail( $this->mUserEmail ); $wgUser->setCookies(); $wgUser->saveSettings(); - } - } + /* } + }*/ =20 if( $needRedirect && $error =3D=3D=3D false ) { $title =3D& SpecialPage::getTitleFor( "Preferences" ); @@ -549,7 +549,7 @@ } =20 =20 - if ($wgAllowRealName) { + /*if ($wgAllowRealName) { $wgOut->addHTML( $this->addRow( '', @@ -557,6 +557,7 @@ ) ); } + =09 if ($wgEnableEmail) { $wgOut->addHTML( $this->addRow( @@ -564,7 +565,7 @@ "mUserEmail}\" size=3D'25' />" ) ); - } + }*/ =20 global $wgParser; if( !empty( $this->mToggles['fancysig'] ) && Modified: trunk/web/reactos.org/htdocs/wiki/skins/RosCMS.php URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/wiki/ski= ns/RosCMS.php?rev=3D27814&r1=3D27813&r2=3D27814&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/web/reactos.org/htdocs/wiki/skins/RosCMS.php (original) +++ trunk/web/reactos.org/htdocs/wiki/skins/RosCMS.php Thu Jul 26 01:51:50 20= 07 @@ -137,7 +137,7 @@ =09