includes/specials/SpecialProtectedtitles.php 1 location
|
@@ 178-181 (lines=4) @@
|
| 175 |
|
return ''; |
| 176 |
|
} |
| 177 |
|
// Third pass generates sorted XHTML content |
| 178 |
|
foreach ( $m as $text => $type ) { |
| 179 |
|
$selected = ( $type == $pr_level ); |
| 180 |
|
$options[] = Xml::option( $text, $type, $selected ); |
| 181 |
|
} |
| 182 |
|
|
| 183 |
|
return Xml::label( $this->msg( 'restriction-level' )->text(), $this->IdLevel ) . ' ' . |
| 184 |
|
Xml::tags( 'select', |
includes/specials/SpecialProtectedpages.php 1 location
|
@@ 260-263 (lines=4) @@
|
| 257 |
|
} |
| 258 |
|
|
| 259 |
|
// Third pass generates sorted XHTML content |
| 260 |
|
foreach ( $m as $text => $type ) { |
| 261 |
|
$selected = ( $type == $pr_level ); |
| 262 |
|
$options[] = Xml::option( $text, $type, $selected ); |
| 263 |
|
} |
| 264 |
|
|
| 265 |
|
return '<span class="mw-input-with-label">' . |
| 266 |
|
Xml::label( $this->msg( 'restriction-level' )->text(), $this->IdLevel ) . ' ' . |