Index: trunk/extensions/SemanticForms/specials/SF_UploadWindow2.php |
— | — | @@ -203,7 +203,7 @@ |
204 | 204 | global $wgOut; |
205 | 205 | |
206 | 206 | # Initialize form |
207 | | - $form = new UploadForm( array( |
| 207 | + $form = new SFUploadForm( array( |
208 | 208 | 'watch' => $this->watchCheck(), |
209 | 209 | 'forreupload' => $this->mForReUpload, |
210 | 210 | 'sessionkey' => $sessionKey, |
— | — | @@ -691,7 +691,7 @@ |
692 | 692 | /** |
693 | 693 | * Sub class of HTMLForm that provides the form section of SpecialUpload |
694 | 694 | */ |
695 | | -class UploadForm extends HTMLForm { |
| 695 | +class SFUploadForm extends HTMLForm { |
696 | 696 | protected $mWatch; |
697 | 697 | protected $mForReUpload; |
698 | 698 | protected $mSessionKey; |
— | — | @@ -762,7 +762,7 @@ |
763 | 763 | |
764 | 764 | $descriptor = array(); |
765 | 765 | $descriptor['UploadFile'] = array( |
766 | | - 'class' => 'UploadSourceField', |
| 766 | + 'class' => 'SFUploadSourceField', |
767 | 767 | 'section' => 'source', |
768 | 768 | 'type' => 'file', |
769 | 769 | 'id' => 'wpUploadFile', |
— | — | @@ -780,7 +780,7 @@ |
781 | 781 | if ( $canUploadByUrl ) { |
782 | 782 | global $wgMaxUploadSize; |
783 | 783 | $descriptor['UploadFileURL'] = array( |
784 | | - 'class' => 'UploadSourceField', |
| 784 | + 'class' => 'SFUploadSourceField', |
785 | 785 | 'section' => 'source', |
786 | 786 | 'id' => 'wpUploadFileURL', |
787 | 787 | 'label-message' => 'sourceurl', |
— | — | @@ -1047,7 +1047,7 @@ |
1048 | 1048 | /** |
1049 | 1049 | * A form field that contains a radio box in the label |
1050 | 1050 | */ |
1051 | | -class UploadSourceField extends HTMLTextField { |
| 1051 | +class SFUploadSourceField extends HTMLTextField { |
1052 | 1052 | function getLabelHtml() { |
1053 | 1053 | $id = "wpSourceType{$this->mParams['upload-type']}"; |
1054 | 1054 | $label = Html::rawElement( 'label', array( 'for' => $id ), $this->mLabel ); |