From: Ævar Arnfjörð Bjarmason Date: Fri, 30 Sep 2005 15:54:35 +0000 (+0000) Subject: * Moved the 'Watch this page' checkbox below the license selector/copyright X-Git-Tag: 1.6.0~1559 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=297d2031f88bad26a54145d3cb95a1111110c354;p=lhc%2Fweb%2Fwiklou.git * Moved the 'Watch this page' checkbox below the license selector/copyright status forms. * Fixed tabindexes on the upload form --- diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index 8273924eec..475273ce88 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -580,20 +580,6 @@ class UploadForm { $action = $titleObj->escapeLocalURL(); $encDestFile = htmlspecialchars( $this->mDestFile ); - $source = null; - - if ( $wgUseCopyrightUpload ) - { - $source = " - " . wfMsg ( 'filestatus' ) . ": - mUploadCopyStatus). "\" size='40' /> - - ". wfMsg ( 'filesource' ) . ": - mUploadSource). "\" size='40' /> - " ; - } $watchChecked = $wgUser->getOption( 'watchdefault' ) ? 'checked="checked"' @@ -608,35 +594,58 @@ class UploadForm { {$destfilename}: - + {$summary} - - - - - - " ); if ( $licenseshtml != '' ) { $wgOut->addHTML( " - $license: - - - + $license: + + + + + "); + } + + if ( $wgUseCopyrightUpload ) { + $filestatus = wfMsgHtml ( 'filestatus' ); + $copystatus = htmlspecialchars( $this->mUploadCopyStatus ); + $filesource = wfMsgHtml ( 'filesource' ); + $uploadsource = htmlspecialchars( $this->mUploadSource ); + + $wgOut->addHTML( " + $filestatus: + + + + + $filesource: + + + + "); } - $wgOut->addHtml( "{$source} + + + $wgOut->addHtml( " + + + + + - + \n" ); }