forked from GNUsocial/gnu-social
Initial UI for geo location share option in notice form
This commit is contained in:
@@ -208,6 +208,7 @@ class NoticeForm extends Form
|
||||
$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_wrap',
|
||||
'class' => 'success',
|
||||
'title' => common_local_url('geocode')));
|
||||
$this->out->checkbox('notice_data-location_enabled', _('Share your location'), true);
|
||||
$this->out->elementEnd('div');
|
||||
|
Reference in New Issue
Block a user