summaryrefslogtreecommitdiff
path: root/actions/profilesettings.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-28 14:21:07 -0800
committerEvan Prodromou <evan@status.net>2009-12-28 14:21:07 -0800
commitbb93d6b1c7c697891baca7082261ee694727f161 (patch)
tree03cdb939a0a04d9ef6ef315c306d3dd212f1bb73 /actions/profilesettings.php
parentbbf516b96594770c5dc0dea7f9b15937d7c9a237 (diff)
remove namespace setting from location; it's unused
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r--actions/profilesettings.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php
index 359664096..58bf838d7 100644
--- a/actions/profilesettings.php
+++ b/actions/profilesettings.php
@@ -133,6 +133,11 @@ class ProfilesettingsAction extends AccountSettingsAction
($this->arg('location')) ? $this->arg('location') : $profile->location,
_('Where you are, like "City, State (or Region), Country"'));
$this->elementEnd('li');
+ $this->elementStart('li');
+ $this->checkbox('sharelocation', _('Share my current location when posting notices'),
+ ($this->arg('sharelocation')) ?
+ $this->arg('sharelocation') : $user->shareLocation());
+ $this->elementEnd('li');
Event::handle('EndProfileFormData', array($this));
$this->elementStart('li');
$this->input('tags', _('Tags'),