aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/apps.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/apps.php b/mod/apps.php
index aeedb5cda..34bbc7142 100644
--- a/mod/apps.php
+++ b/mod/apps.php
@@ -27,8 +27,11 @@ function apps_content(&$a) {
$apps = array();
$list = app_list(local_user());
if($list) {
- foreach($list as $app)
+ foreach($list as $app) {
+ if($mode == 'edit')
+ $app['alt_url'] = z_root() . '/appman/?f=&appid=' . $app['app_id'];
$apps[] = app_render(app_encode($app),$mode);
+ }
}
return replace_macros(get_markup_template('myapps.tpl'), array(