Index: trunk/extensions/CentralNotice/SpecialNoticeTemplate.php |
— | — | @@ -88,12 +88,14 @@ |
89 | 89 | if ( $sub == 'view' && $wgRequest->getVal( 'wpUserLanguage' ) == 'all' ) { |
90 | 90 | $template = $wgRequest->getVal( 'template' ); |
91 | 91 | $this->showViewAvailable( $template ); |
| 92 | + $wgOut->addHTML( Xml::closeElement( 'div' ) ); |
92 | 93 | return; |
93 | 94 | } |
94 | 95 | |
95 | 96 | // Handle viewing a specific template |
96 | 97 | if ( $sub == 'view' && $wgRequest->getText( 'template' ) != '' ) { |
97 | 98 | $this->showView(); |
| 99 | + $wgOut->addHTML( Xml::closeElement( 'div' ) ); |
98 | 100 | return; |
99 | 101 | } |
100 | 102 | |
— | — | @@ -101,6 +103,7 @@ |
102 | 104 | // Handle "Add a banner" link |
103 | 105 | if ( $sub == 'add' ) { |
104 | 106 | $this->showAdd(); |
| 107 | + $wgOut->addHTML( Xml::closeElement( 'div' ) ); |
105 | 108 | return; |
106 | 109 | } |
107 | 110 | |