diff options
author | Evan Prodromou <evan@status.net> | 2010-12-13 16:32:39 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-12-13 16:32:39 -0500 |
commit | 5089d3065c5b2944e468d821a0afdc0881830445 (patch) | |
tree | ba45c052eb5a69020b3763838386466444eada31 /actions/profilesettings.php | |
parent | 75aaa9846263cb25d0047200e9eec678ca725ffe (diff) |
add an action to backup the current account in ActivityStreams format
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r-- | actions/profilesettings.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php index 28b1d20f3..17ffdf811 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -452,4 +452,13 @@ class ProfilesettingsAction extends AccountSettingsAction return $other->id != $user->id; } } + + function showAside() { + $this->elementStart('div', array('id' => 'aside_primary', + 'class' => 'aside')); + $this->element('a', + array('href' => common_local_url('backupaccount')), + _('Backup account')); + $this->elementEnd('div'); + } } |