Moved JavaScript dependant stuff out of noticeform.
This commit is contained in:
@@ -207,9 +207,9 @@ class NoticeForm extends Form
|
||||
$this->out->hidden('notice_data-location_id', empty($this->location_id) ? (empty($this->profile->location_id) ? null : $this->profile->location_id) : $this->location_id, 'location_id');
|
||||
$this->out->hidden('notice_data-location_ns', empty($this->location_ns) ? (empty($this->profile->location_ns) ? null : $this->profile->location_ns) : $this->location_ns, 'location_ns');
|
||||
|
||||
$this->out->elementStart('div',array('id' => 'notice_data-location_enabled_container', 'data-geocode-url' => common_local_url('geocode')));
|
||||
$this->out->elementStart('div', array('id' => 'notice_data-location_wrap',
|
||||
'title' => common_local_url('geocode')));
|
||||
$this->out->checkbox('notice_data-location_enabled', _('Share your location'), true);
|
||||
$this->out->element('a', array('id' => 'notice_data-location_name'), _('Finding your location...'));
|
||||
$this->out->elementEnd('div');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user