r78194 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78193‎ | r78194 | r78195 >
Date:15:33, 10 December 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
layout fix and removed unused code
Modified paths:
  • /trunk/extensions/Push/includes/Push_Tab.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Push/includes/Push_Tab.php
@@ -134,11 +134,6 @@
135135 self::displayPushList();
136136 }
137137
138 - if ( $wgUser->isAllowed( 'pushadmin' ) ) {
139 - // TODO
140 - //self::displayNewPushItem();
141 - }
142 -
143138 return false;
144139 }
145140
@@ -190,7 +185,7 @@
191186 ) .
192187 Html::element(
193188 'th',
194 - array(),
 189+ array( 'style' => 'min-width:400px;' ),
195190 wfMsg( 'push-remote-pages' )
196191 ) .
197192 Html::element(
@@ -296,27 +291,6 @@
297292 )
298293 )
299294 );
300 -
301 - // TODO: add edit and delete stuff
302295 }
303296
304 - /**
305 - * Displays a form via which a new push item can be added.
306 - *
307 - * @since 0.1
308 - */
309 - protected static function displayNewPushItem() {
310 - global $wgOut;
311 -
312 - $wgOut->addHtml(
313 - Html::element(
314 - 'h2',
315 - array(),
316 - wfMsg( 'push-add-target' )
317 - )
318 - );
319 -
320 - // TODO
321 - }
322 -
323297 }
\ No newline at end of file

Status & tagging log