-function frost_item_photo_links(&$a, &$body_info) {
- require_once('include/Photo.php');
- $phototypes = Photo::supportedTypes();
-
- $occurence = 1;
- $p = bb_find_open_close($body_info['html'], "<a", ">");
+function frost_item_photo_links(App $a, &$body_info)
+{
+ $occurence = 0;
+ $p = Plaintext::getBoundariesPosition($body_info['html'], '<a', '>');