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