From: Jens Frank Date: Wed, 25 Aug 2004 19:18:34 +0000 (+0000) Subject: Make ot=html default, as most user will probably use that view. ENH#185 X-Git-Tag: 1.5.0alpha1~2230 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=5edddf8238e6b02ac7eafab09d56bf0323a8bc92;p=lhc%2Fweb%2Fwiklou.git Make ot=html default, as most user will probably use that view. ENH#185 --- diff --git a/includes/SpecialAllmessages.php b/includes/SpecialAllmessages.php index dd059028eb..1a787bc6ab 100644 --- a/includes/SpecialAllmessages.php +++ b/includes/SpecialAllmessages.php @@ -25,13 +25,13 @@ wfProfileOut( "$fname-setup" ); wfProfileIn( "$fname-output" ); - if ($ot == 'html') { + if ($ot == 'php') { + $navText .= makePhp($messages); + $wgOut->addHTML('PHP | HTML
'.htmlspecialchars($navText).'
'); + } else { $wgOut->addHTML( 'PHP | HTML' ); $wgOut->addWikiText( $navText ); $wgOut->addHTML( makeHTMLText( $messages ) ); - } else { - $navText .= makePhp($messages); - $wgOut->addHTML('PHP | HTML
'.htmlspecialchars($navText).'
'); } wfProfileOut( "$fname-output" );