|
|
@ -61,7 +61,7 @@ function fedora_repository_image_tagging_form($form_state, $pid) { |
|
|
|
$tagset = new TagSet($obj); |
|
|
|
$tagset = new TagSet($obj); |
|
|
|
$tags = array(); |
|
|
|
$tags = array(); |
|
|
|
foreach ($tagset->tags as $tag) { |
|
|
|
foreach ($tagset->tags as $tag) { |
|
|
|
$form_tag =& $form['tags-wrapper']['tags'][$tag['name']] = array( |
|
|
|
$form_tag = $form['tags-wrapper']['tags'][$tag['name']] = array( |
|
|
|
'#prefix' => '<li>', |
|
|
|
'#prefix' => '<li>', |
|
|
|
'#suffix' => '</li>', |
|
|
|
'#suffix' => '</li>', |
|
|
|
); |
|
|
|
); |
|
|
@ -69,7 +69,7 @@ function fedora_repository_image_tagging_form($form_state, $pid) { |
|
|
|
$tag_title_text = t('Added by @creator.', array( |
|
|
|
$tag_title_text = t('Added by @creator.', array( |
|
|
|
'@creator' => $tag['creator'], |
|
|
|
'@creator' => $tag['creator'], |
|
|
|
)); |
|
|
|
)); |
|
|
|
$tag_mnpl_search_path = "fedora/repository/mnpl_advanced_search/tag:{$tag['name']}" |
|
|
|
$tag_mnpl_search_path = "fedora/repository/mnpl_advanced_search/tag:{$tag['name']}"; |
|
|
|
$form_tag['tag'] = array( |
|
|
|
$form_tag['tag'] = array( |
|
|
|
'#value' => l($tag['name'], $tag_mnpl_search_path, array('attributes' => array( |
|
|
|
'#value' => l($tag['name'], $tag_mnpl_search_path, array('attributes' => array( |
|
|
|
'title' => $tag_title_text |
|
|
|
'title' => $tag_title_text |
|
|
|