r109492 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109491‎ | r109492 | r109493 >
Date:04:47, 19 January 2012
Author:preilly
Status:ok
Tags:
Comment:
1.18wmf: MFT r109490
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/SopaNoticeTemplate.php (added) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/SopaNoticeTemplate.php
@@ -0,0 +1,22 @@
 2+<?php
 3+
 4+if ( !defined( 'MEDIAWIKI' ) ) {
 5+ die( -1 );
 6+}
 7+
 8+class SopaNoticeTemplate extends MobileFrontendTemplate {
 9+
 10+ public function getHTML() {
 11+
 12+ $sopaNotice = $this->data['messages']['mobile-frontend-sopa-notice'];
 13+
 14+ $noticeHtml = <<<HTML
 15+ <div class='mwm-message mwm-notice'>
 16+ {$sopaNotice}
 17+ <br/>
 18+ <br/>
 19+ </div>
 20+HTML;
 21+ return $noticeHtml;
 22+ }
 23+}
Property changes on: branches/wmf/1.18wmf1/extensions/MobileFrontend/SopaNoticeTemplate.php
___________________________________________________________________
Added: svn:eol-style
124 + native

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r109490add new sopa bannerpreilly04:44, 19 January 2012

Status & tagging log