Index: trunk/phase3/includes/ProtectionForm.php |
— | — | @@ -331,7 +331,7 @@ |
332 | 332 | } |
333 | 333 | |
334 | 334 | function buildRobotsInput() { |
335 | | - global $wgUser; |
| 335 | + global $wgUser, $wgContLang; |
336 | 336 | $robotsallowed = $wgUser->isAllowed( 'editrobots' ) ? array() : array( 'disabled' => 'disabled' ); |
337 | 337 | $noindexset = ( isset( $this->mRestrictions['robots'] ) && strstr( $this->mRestrictions['robots'], 'noindex' ) ) ? true : false; |
338 | 338 | $nofollowset = ( isset( $this->mRestrictions['robots'] ) && strstr( $this->mRestrictions['robots'], 'nofollow' ) ) ? true : false; |
— | — | @@ -339,6 +339,7 @@ |
340 | 340 | $ret .= Xml::label( wfMsg( 'protect-robotspolicy' ), 'mwProtect-robots-label' ); |
341 | 341 | $ret .= "</td> <td align=\"left\" width=\"60\">"; |
342 | 342 | $ret .= Xml::checkLabel( 'noindex', 'mwProtect-robots-noindex', 'mwProtect-robots-noindex', $noindexset, $robotsallowed ); |
| 343 | + $ret .= $wgContLang->getDirMark(); |
343 | 344 | $ret .= Xml::checkLabel( 'nofollow', 'mwProtect-robots-nofollow', 'mwProtect-robots-nofollow', $nofollowset, $robotsallowed ); |
344 | 345 | $ret .= "</td></tr>"; |
345 | 346 | return $ret; |