aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-21 16:31:46 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-21 16:31:46 -0700
commit024f2019e6a3f23bec88d3c1100d67456e34adc9 (patch)
treeb034ccdfff5af50d6f77496cbdd178b27427b270 /mod/profile.php
parent709c86b2daec32ae0d5d6d0e7f88b8607e02edba (diff)
downloadvolse-hubzilla-024f2019e6a3f23bec88d3c1100d67456e34adc9.tar.gz
volse-hubzilla-024f2019e6a3f23bec88d3c1100d67456e34adc9.tar.bz2
volse-hubzilla-024f2019e6a3f23bec88d3c1100d67456e34adc9.zip
store default location
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 44f718102..c5047d615 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -149,6 +149,7 @@ function profile_content(&$a, $update = false) {
$lockstate = 'unlock';
$o .= replace_macros($tpl,array(
'$baseurl' => $a->get_baseurl(),
+ '$defloc' => (($_SESSION['uid'] == $a->profile['profile_uid']) ? $a->user['default-location'] : ''),
'$return_path' => $a->cmd,
'$visitor' => (($_SESSION['uid'] == $a->profile['profile_uid']) ? 'block' : 'none'),
'$lockstate' => $lockstate,