aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-21 01:55:32 -0700
committerfriendica <info@friendica.com>2014-05-21 01:55:32 -0700
commit77ca117218382b57e2d0590466d9fc38dc016e80 (patch)
treec7e3621510f45f9bd4d09d2fc6d4b9cf45e549f9 /mod
parentc6de9096fabf913e5e8b4acbde75cd58bb8c9959 (diff)
downloadvolse-hubzilla-77ca117218382b57e2d0590466d9fc38dc016e80.tar.gz
volse-hubzilla-77ca117218382b57e2d0590466d9fc38dc016e80.tar.bz2
volse-hubzilla-77ca117218382b57e2d0590466d9fc38dc016e80.zip
make it possible to edit/delete apps via /apps/personal/edit
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(