From: Niklas Laxström Date: Wed, 17 Jan 2007 18:42:04 +0000 (+0000) Subject: * plaintext X-Git-Tag: 1.31.0-rc.0~54338 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=d18b005a6d77ceb7beae9af0e200c70766a5e1f6;p=lhc%2Fweb%2Fwiklou.git * plaintext --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 226bf26a2b..d948217b1c 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -80,7 +80,7 @@ class ImagePage extends Article { global $wgStylePath, $wgStyleVersion; $expand = htmlspecialchars( wfEscapeJsString( wfMsg( 'metadata-expand' ) ) ); $collapse = htmlspecialchars( wfEscapeJsString( wfMsg( 'metadata-collapse' ) ) ); - $wgOut->addHTML( "

" . wfMsgHtml( 'metadata' ) . "

\n" ); + $wgOut->addHTML( Xml::element( 'h2', array( 'id' => 'metadata' ), wfMsg( 'metadata' ) ). "\n" ); $wgOut->addWikiText( $this->makeMetadataTable( $exif ) ); $wgOut->addHTML( "\n" . @@ -396,7 +396,7 @@ END } # External editing link - $elink = $sk->makeKnownLinkObj( $this->mTitle, wfMsg( 'edit-externally' ), 'action=edit&externaledit=true&mode=file' ); + $elink = $sk->makeKnownLinkObj( $this->mTitle, wfMsgHtml( 'edit-externally' ), 'action=edit&externaledit=true&mode=file' ); $wgOut->addHtml( '
  • ' . $elink . '
    ' . wfMsgWikiHtml( 'edit-externally-help' ) . '
  • ' ); $wgOut->addHtml( '' ); @@ -452,7 +452,7 @@ END { global $wgUser, $wgOut; - $wgOut->addHTML( '\n" ); + $wgOut->addHTML( Xml::element( 'h2', array( 'id' => 'filelinks' ), wfMsg( 'imagelinks' ) ) . "\n" ); $dbr =& wfGetDB( DB_SLAVE ); $page = $dbr->tableName( 'page' ); @@ -702,8 +702,9 @@ class ImageHistoryList { } function beginImageHistoryList() { - $s = "\n

    " . wfMsg( 'imghistory' ) . "

    \n" . - "

    " . wfMsg( 'imghistlegend' ) . "

    \n".'