X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=skins%2FMonoBook.php;h=36c36e97982de65bcad533d377d953ea8401cb71;hb=600f5bb1fb029c7b7085c1e403ac3b72b5e289f5;hp=0bc8590fefe19917052170abe6503f5dbfa579a9;hpb=db47e816deabcddfd21e69a2f60928848629ef47;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/MonoBook.php b/skins/MonoBook.php index 0bc8590fef..36c36e9798 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -11,7 +11,7 @@ */ if( !defined( 'MEDIAWIKI' ) ) - die(); + die( -1 ); /** */ require_once('includes/SkinTemplate.php'); @@ -52,181 +52,232 @@ class MonoBookTemplate extends QuickTemplate { ?> - - - html('headlinks') ?> - <?php $this->text('pagetitle') ?> - - data['printable']) ) { ?>media="print" href="text('stylepath') ?>/common/commonPrint.css" /> - - - - - data['jsvarurl' ]) { ?> - - data['usercss' ]) { ?> - data['userjs' ]) { ?> - data['userjsprev']) { ?> - data['trackbackhtml']) print $this->data['trackbackhtml']; ?> - - data['body_ondblclick']) { ?>ondblclick="text('body_ondblclick') ?>" - data['body_onload' ]) { ?>onload="text('body_onload') ?>" - data['nsclass' ]) { ?>class="text('nsclass') ?>"> -
-
+ + + html('headlinks') ?> + <?php $this->text('pagetitle') ?> + + data['printable']) ) { ?>media="print" href="text('stylepath') ?>/common/commonPrint.css?" /> + + + + + + + data ); ?> + + +data['jsvarurl' ]) { ?> + + +data['pagecss' ]) { ?> + +data['usercss' ]) { ?> + +data['userjs' ]) { ?> + +data['userjsprev']) { ?> + +data['trackbackhtml']) print $this->data['trackbackhtml']; ?> + + html('headscripts') ?> + +data['body_ondblclick']) { ?>ondblclick="text('body_ondblclick') ?>" +data['body_onload' ]) { ?>onload="text('body_onload') ?>" + class="mediawiki text('nsclass') ?> text('dir') ?>"> +
+
- - data['sitenotice']) { ?>
html('sitenotice') ?>
-

text('title') ?>

-
-

msg('tagline') ?>

-
html('subtitle') ?>
- data['undelete']) { ?>
html('undelete') ?>
- data['newtalk'] ) { ?>
html('newtalk') ?>
- - html('bodytext') ?> - data['catlinks']) { ?> - -
-
+ + data['sitenotice']) { ?>
html('sitenotice') ?>
+

data['displaytitle']!=""?$this->html('title'):$this->text('title') ?>

+
+

msg('tagline') ?>

+
html('subtitle') ?>
+ data['undelete']) { ?>
html('undelete') ?>
+ data['newtalk'] ) { ?>
html('newtalk') ?>
+ data['showjumplinks']) { ?> + + html('bodytext') ?> + data['catlinks']) { ?> + +
+
-
-
+
+
-
msg('views') ?>
-
    - data['content_actions'] as $key => $action) { - ?>
  • class="" - >
  • -
+
msg('views') ?>
+
    +data['content_actions'] as $key => $tab) { ?> +
  • class="">
  • + +
-
msg('personaltools') ?>
-
-
    - data['personal_urls'] as $key => $item) { - ?>
  • class="">
  • -
-
+
msg('personaltools') ?>
+
+
    +data['personal_urls'] as $key => $item) { ?> +
  • class="active"> class="">
  • + +
+
data['sidebar'] as $bar => $cont) { ?> -
-
-
-
    - $val) { ?> -
  • - -
-
+
+
+
+
    + $val) { ?> +
  • class="active" >
  • + +
+
-
msg('toolbox') ?>
-
-
    - data['notspecialpage']) { foreach( array( 'whatlinkshere', 'recentchangeslinked' ) as $special ) { ?> -
  • msg($special) ?>
  • - - data['nav_urls']['trackbacklink'])) { ?> - - - data['feeds']) { ?> - - data['nav_urls'][$special]) {?>
  • msg($special) ?>
  • - - data['nav_urls']['print']['href'])) { ?> -
  • msg('printableversion') ?>
  • - - data['nav_urls']['permalink']['href'])) { ?> - - data['nav_urls']['permalink']['href'] === '') { ?> - - -
-
+
msg('toolbox') ?>
+
+ +
- data['language_urls'] ) { ?>
-
msg('otherlanguages') ?>
-
-
    - data['language_urls'] as $langlink) { ?> -
  • - -
  • - -
-
+data['language_urls'] ) { ?> +
+
msg('otherlanguages') ?>
+
+
    +data['language_urls'] as $langlink) { ?> +
  • + +
+
- -
-
- -
- html('reporttime') ?> - - + +
+
+ + + html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?> +
+html('reporttime') ?> +data['debug'] ): ?> + + +