From 693e26e2ad074f8cc9d37098a0568cd93ae30f52 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 12 May 2008 02:52:50 +0000 Subject: commit of the patches from codeoverload to implement tagging, will not work without manual modification of database, yes.. this commit breaks things cope --- templates/show_song.inc.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'templates/show_song.inc.php') diff --git a/templates/show_song.inc.php b/templates/show_song.inc.php index 260a37b4..d1c5dbe3 100644 --- a/templates/show_song.inc.php +++ b/templates/show_song.inc.php @@ -53,7 +53,17 @@ $rowparity = flip_class(); echo "
" . _($key) . "
" . $value . "
"; } - }?> + } + echo '
Tags
'; + $tags = TagCloud::get_tags('song', array($song->id)); + foreach($tags as $i) + echo $i['name'] . ' '; + ?>
+ id . "&val='+document.getElementById('tagname').value+'", _("Add tag"), 'tag_artist'); + ?> +
+
-- cgit