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) { diff --git a/view/tpl/apps.tpl b/view/tpl/apps.tpl index 4a5ddfbcb..02a6bd047 100755 --- a/view/tpl/apps.tpl +++ b/view/tpl/apps.tpl @@ -2,7 +2,7 @@ {{foreach $apps as $ap}}
- +
{{$ap.name}}