Fix some easy phutil_render_tag()

Summary:
  - Grepped for phutil_render_tag().
  - Fixed some easy ones.

Test Plan:
  - Browsed around; site didn't seem more broken than it was before.

Reviewers: vrana

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D4638
This commit is contained in:
epriestley
2013-01-25 05:50:50 -08:00
parent 9670f0c636
commit 3e147dd61c
15 changed files with 82 additions and 75 deletions

View File

@@ -69,50 +69,48 @@ final class ConpherenceListController extends
private function renderEmptyMainPane() {
$this->initJavelinBehaviors();
return phutil_render_tag(
return phutil_tag(
'div',
array(
'id' => 'conpherence-main-pane'
),
phutil_render_tag(
'div',
array(
'class' => 'conpherence-header-pane',
'id' => 'conpherence-header-pane',
),
''
).
phutil_render_tag(
'div',
array(
'class' => 'conpherence-widget-pane',
'id' => 'conpherence-widget-pane'
),
''
).
javelin_render_tag(
'div',
array(
'class' => 'conpherence-message-pane',
'id' => 'conpherence-message-pane'
),
phutil_render_tag(
array(
phutil_tag(
'div',
array(
'class' => 'conpherence-messages',
'id' => 'conpherence-messages'
'class' => 'conpherence-header-pane',
'id' => 'conpherence-header-pane',
),
''
).
phutil_render_tag(
''),
phutil_tag(
'div',
array(
'id' => 'conpherence-form'
'class' => 'conpherence-widget-pane',
'id' => 'conpherence-widget-pane'
),
''
)
)
);
''),
phutil_tag(
'div',
array(
'class' => 'conpherence-message-pane',
'id' => 'conpherence-message-pane'
),
array(
phutil_tag(
'div',
array(
'class' => 'conpherence-messages',
'id' => 'conpherence-messages'
),
''),
phutil_tag(
'div',
array(
'id' => 'conpherence-form'
),
''),
)),
));
}