From 659714956ccce13b7055d5bf265be07cf4b79cfa Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 15 May 2014 20:58:26 -0700 Subject: add hover tips - except we need a way to translate the things --- include/apps.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/apps.php') diff --git a/include/apps.php b/include/apps.php index 733cb30cf..1896b938b 100644 --- a/include/apps.php +++ b/include/apps.php @@ -58,6 +58,8 @@ function parse_app_description($f) { } } + + if(! $ret['photo']) $ret['photo'] = $baseurl . '/' . get_default_profile_photo(80); @@ -67,6 +69,9 @@ function parse_app_description($f) { $ret[$k] = zid($v); } + if(array_key_exists('hover',$ret)) + $ret['hover'] = str_replace(array('\'','"'),array(''','&dquot;'),$ret['hover']); + if(array_key_exists('requires',$ret)) { $require = trim(strtolower($ret['requires'])); switch($require) { -- cgit v1.2.3