diff options
author | Sarven Capadisli <csarven@status.net> | 2009-12-31 14:34:07 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-12-31 14:34:07 +0000 |
commit | c986f59143b1969dc4ae324409295728b1d06e82 (patch) | |
tree | 13fb2d0617d4f3324f5fc717dbb8a43450252c0f /lib/noticeform.php | |
parent | 4efa841ba330cedd4ad71349a8196f18d5546cb8 (diff) |
If user is sharing their location (based on profile setting), then
enable it for form notice by default. This can be overriden by the
cookie to preserve states.
Diffstat (limited to 'lib/noticeform.php')
-rw-r--r-- | lib/noticeform.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/noticeform.php b/lib/noticeform.php index 50b2e6893..f45e6629b 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -208,7 +208,7 @@ class NoticeForm extends Form $this->out->hidden('notice_data-location_ns', empty($this->profile->location_ns) ? null : $this->profile->location_ns, 'location_ns'); $this->out->elementStart('div',array('id' => 'notice_data-location_enabled_container', 'data-geocode-url' => common_local_url('geocode'))); - $this->out->checkbox('notice_data-location_enabled',_('Share your location')); + $this->out->checkbox('notice_data-location_enabled', _('Share your location'), true); $this->out->element('a', array('style' => 'display: none', 'target' => '_blank', 'id' => 'notice_data-location_name'), _('Finding your location...')); $this->out->elementEnd('div'); } |