Index: trunk/extensions/MobileFrontend/ApplicationTemplate.php |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | if( !defined( 'MEDIAWIKI' ) ) { |
5 | | - die( -1 ); |
| 5 | + die( -1 ); |
6 | 6 | } |
7 | 7 | |
8 | 8 | class ApplicationTemplate extends MobileFrontendTemplate { |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | |
18 | 18 | $betaPrefix = ( $this->data['isBetaGroupMember'] ) ? 'beta_' : ''; |
19 | 19 | |
20 | | - $noticeHtml = ( isset( $this->data['noticeHtml'] ) ) ? $this->data['noticeHtml'] : ''; |
| 20 | + $noticeHtml = empty( $this->data['noticeHtml'] ) ? '' : $this->data['noticeHtml']; |
21 | 21 | |
22 | 22 | $cssFileName = ( isset( $this->data['device']['css_file_name'] ) ) ? $this->data['device']['css_file_name'] : 'default'; |
23 | 23 | |
— | — | @@ -61,7 +61,7 @@ |
62 | 62 | {$this->data['contentHtml']} |
63 | 63 | </div> |
64 | 64 | {$this->data['footerHtml']} |
65 | | - {$startScriptTag}{$javaScriptPath}{$betaPrefix}application.js?version=12012011120915{$endScriptTag} |
| 65 | + {$startScriptTag}{$javaScriptPath}{$betaPrefix}application.js?version=01052011120915{$endScriptTag} |
66 | 66 | {$openSearchScript} |
67 | 67 | {$filePageScript} |
68 | 68 | </body> |