Differential D16543 Diff 39816 src/applications/conpherence/controller/ConpherenceWidgetController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/controller/ConpherenceWidgetController.php
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | private function renderWidgetPaneContent() { | ||||
$widgets[] = phutil_tag( | $widgets[] = phutil_tag( | ||||
'div', | 'div', | ||||
array( | array( | ||||
'class' => 'widgets-body', | 'class' => 'widgets-body', | ||||
'id' => 'widgets-settings', | 'id' => 'widgets-settings', | ||||
'style' => 'display: none', | 'style' => 'display: none', | ||||
), | ), | ||||
$this->renderSettingsWidgetPaneContent()); | $this->renderSettingsWidgetPaneContent()); | ||||
$widgets[] = phutil_tag( | |||||
'div', | |||||
array( | |||||
'class' => 'widgets-body', | |||||
'id' => 'widgets-edit', | |||||
'style' => 'display: none', | |||||
)); | |||||
// without this implosion we get "," between each element in our widgets | // without this implosion we get "," between each element in our widgets | ||||
// array | // array | ||||
return array('widgets' => phutil_implode_html('', $widgets)); | return array('widgets' => phutil_implode_html('', $widgets)); | ||||
} | } | ||||
private function renderPeopleWidgetPaneContent() { | private function renderPeopleWidgetPaneContent() { | ||||
return id(new ConpherencePeopleWidgetView()) | return id(new ConpherencePeopleWidgetView()) | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |