store default location

This commit is contained in:
Mike Macgirvin
2010-08-21 16:31:46 -07:00
parent 709c86b2da
commit 024f2019e6
7 changed files with 27 additions and 6 deletions
+1
View File
@@ -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,