add hover tips - except we need a way to translate the things

This commit is contained in:
friendica
2014-05-15 20:58:26 -07:00
parent 07fbf0d5de
commit 659714956c
2 changed files with 6 additions and 1 deletions

View File

@@ -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) {