X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=skins%2FModern.php;h=8d778cf6211e3179d83d8555645d064546987aed;hb=f10285fc18179208266d268d8bf0779329f9c4fb;hp=9dbefb11bd7e4085a1bf0c72c787890c49892477;hpb=4f741418fcb0a85f1ccfa3a72e5faa34259b8e53;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/Modern.php b/skins/Modern.php index 9dbefb11bd..8d778cf621 100644 --- a/skins/Modern.php +++ b/skins/Modern.php @@ -22,8 +22,9 @@ * @ingroup Skins */ -if( !defined( 'MEDIAWIKI' ) ) +if ( !defined( 'MEDIAWIKI' ) ) { die( -1 ); +} /** * Inherit main code from SkinTemplate, set the CSS and template filter. @@ -39,7 +40,7 @@ class SkinModern extends SkinTemplate { */ function setupSkinUserCss( OutputPage $out ) { parent::setupSkinUserCss( $out ); - $out->addModuleStyles ('skins.modern'); + $out->addModuleStyles( 'skins.modern' ); } } @@ -66,9 +67,9 @@ class ModernTemplate extends MonoBookTemplate {

html('title') ?>

+ $this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode(); + $this->text( 'pageLanguage' ); + ?>">html( 'title' ) ?>
@@ -82,30 +83,30 @@ class ModernTemplate extends MonoBookTemplate { for the margins -->
- -
msg('tagline') ?>
- data['newtalk'] ) { - ?>
html('newtalk') ?>
+ +
msg( 'tagline' ) ?>
+ data['newtalk'] ) { + ?>
html( 'newtalk' ) ?>
- data['sitenotice']) { - ?>
html('sitenotice') ?>
+ data['sitenotice'] ) { + ?>
html( 'sitenotice' ) ?>
-
html('userlangattributes') ?>>html('subtitle') ?>
+
html( 'userlangattributes' ) ?>>html( 'subtitle' ) ?>
- data['undelete']) { ?>
html('undelete') ?>
- data['showjumplinks']) { ?>
msg('jumpto') ?> msg('jumptonavigation') ?>msg( 'comma-separator' ) ?>msg('jumptosearch') ?>
+ data['undelete'] ) { ?>
html( 'undelete' ) ?>
+
msg( 'jumpto' ) ?> msg( 'jumptonavigation' ) ?>msg( 'comma-separator' ) ?>msg( 'jumptosearch' ) ?>
- html('bodytext') ?> + html( 'bodytext' ) ?>
- data['catlinks']) { $this->html('catlinks'); } ?> - html ('dataAfterContent') ?> + data['catlinks'] ) { $this->html( 'catlinks' ); } ?> + html( 'dataAfterContent' ) ?>
-
html("userlangattributes") ?>> +
html( "userlangattributes" ) ?>>

msg( 'navigation-heading' ) ?>

@@ -120,11 +121,11 @@ class ModernTemplate extends MonoBookTemplate {