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 |
1 | 24 | + native |