1
0
Fork 0

template escapes

This commit is contained in:
Friendika 2011-09-19 19:51:14 -07:00
parent 63277b57fc
commit c2ccb78869

View file

@ -214,18 +214,18 @@ function conversation(&$a, $items, $mode, $update) {
'$linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])), '$linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
'$profile_url' => $profile_link, '$profile_url' => $profile_link,
'$item_photo_menu' => item_photo_menu($item), '$item_photo_menu' => item_photo_menu($item),
'$name' => $profile_name, '$name' => template_escape($profile_name),
'$sparkle' => $sparkle, '$sparkle' => $sparkle,
'$lock' => $lock, '$lock' => $lock,
'$thumb' => $profile_avatar, '$thumb' => $profile_avatar,
'$title' => $item['title'], '$title' => template_escape($item['title']),
'$body' => $body, '$body' => template_escape($body),
'$ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])), '$ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
'$location' => $location, '$location' => template_escape($location),
'$indent' => '', '$indent' => '',
'$owner_url' => $owner_url, '$owner_url' => $owner_url,
'$owner_photo' => $owner_photo, '$owner_photo' => $owner_photo,
'$owner_name' => $owner_name, '$owner_name' => template_escape($owner_name),
'$star' => $star, '$star' => $star,
'$drop' => $drop, '$drop' => $drop,
'$conv' => '<a href="' . $a->get_baseurl() . '/display/' . $nickname . '/' . $item['id'] . '">' . t('View in context') . '</a>' '$conv' => '<a href="' . $a->get_baseurl() . '/display/' . $nickname . '/' . $item['id'] . '">' . t('View in context') . '</a>'