getPhotoTags(); // defining json text as "" makes sure the tagging javascript code doesn't throw errors if no tags $photo_tags_json = "\"\""; if ($tag_info) { $photo_tags_json = $tag_info['json']; } if ($tag_info) { ?>

"; $content .= ""; $content .= ""; $content .= ""; $content .= ""; $content .= "
"; $content .= "
"; echo elgg_view('input/form', array('internalid' => 'quicksearch', 'internalname' => 'tidypics_phototag_form', 'class' => 'quicksearch', 'action' => "{$vars['url']}action/tidypics/addtag", 'method' => 'post', 'body' => $content)); } ?>

guid}' />"; foreach ($tag_info['links'] as $id => $link) { $text = htmlentities($link['text'], ENT_QUOTES, 'UTF-8'); $content .= "
"; } $content .= ""; $content .= ""; echo elgg_view('input/form', array('internalname' => 'phototag_deletetag_form', 'action' => "{$vars['url']}action/tidypics/deletetag", 'method' => 'post', 'body' => $content)); } ?>
$photo_tags_json,) );