| @@ 108-117 (lines=10) @@ | ||
| 105 | $buttons .= Xml::submitButton( $this->getSubmitText(), $attribs ) . "\n"; |
|
| 106 | } |
|
| 107 | ||
| 108 | if ( $this->mShowReset ) { |
|
| 109 | $buttons .= Html::element( |
|
| 110 | 'input', |
|
| 111 | [ |
|
| 112 | 'type' => 'reset', |
|
| 113 | 'value' => $this->msg( 'htmlform-reset' )->text(), |
|
| 114 | 'class' => 'mw-ui-button mw-ui-big mw-ui-block', |
|
| 115 | ] |
|
| 116 | ) . "\n"; |
|
| 117 | } |
|
| 118 | ||
| 119 | if ( $this->mShowCancel ) { |
|
| 120 | $target = $this->mCancelTarget ?: Title::newMainPage(); |
|
| @@ 1151-1160 (lines=10) @@ | ||
| 1148 | $buttons .= Xml::submitButton( $this->getSubmitText(), $attribs ) . "\n"; |
|
| 1149 | } |
|
| 1150 | ||
| 1151 | if ( $this->mShowReset ) { |
|
| 1152 | $buttons .= Html::element( |
|
| 1153 | 'input', |
|
| 1154 | [ |
|
| 1155 | 'type' => 'reset', |
|
| 1156 | 'value' => $this->msg( 'htmlform-reset' )->text(), |
|
| 1157 | 'class' => $useMediaWikiUIEverywhere ? 'mw-ui-button' : null, |
|
| 1158 | ] |
|
| 1159 | ) . "\n"; |
|
| 1160 | } |
|
| 1161 | ||
| 1162 | if ( $this->mShowCancel ) { |
|
| 1163 | $target = $this->mCancelTarget ?: Title::newMainPage(); |
|