Initial UI for geo location share option in notice form

This commit is contained in:
Sarven Capadisli
2009-12-31 18:41:10 +00:00
parent 9496f2735e
commit 01dbee2ba5
4 changed files with 21 additions and 1 deletions

View File

@@ -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');