| 35 | | Tags: |
| 36 | | <?php |
| 37 | | $tags = Tag::get_object_tags('artist', $artist->id); |
| 38 | | foreach($tags as $i) |
| 39 | | echo ($i['name']) . ' '; |
| 40 | | ?> |
| 41 | | <br/> |
| 42 | | <form type=POST action=coin> |
| 43 | | <?php |
| 44 | | echo Ajax::text('?page=tag&action=add&type=artist&id=' . $artist->id . "&val='+document.getElementById('tagname').value+'", _("Add tag"), 'tag_artist'); |
| 45 | | ?> |
| 46 | | <input type="text" size="10" maxlength="10" id="tagname"></input></form> |
| 47 | | |
| 48 | | <a href="<?php echo $web_path; ?>/artists.php?action=show_all_songs&artist=<?php echo $artist->id; ?>"><?php echo _("Show All Songs By") . " " . $artist->f_name; ?></a><br /> |
| 49 | | <?php echo Ajax::text('?action=basket&type=artist&id=' . $artist->id,_('Add All Songs By') . ' ' . $artist->f_name,'play_full_artist'); ?><br /> |
| 50 | | <?php echo Ajax::text('?action=basket&type=artist_random&id=' . $artist->id,_('Add Random Songs By') . ' ' . $artist->f_name,'play_random_artist'); ?><br /> |
| 51 | | <?php if ($GLOBALS['user']->has_access('50')) { ?> |
| 52 | | <a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&artist=<?php echo $artist->id; ?>"><?php echo _("Update from tags"); ?></a><br /> |
| | 34 | <ul> |
| | 35 | <li><a href="<?php echo $web_path; ?>/artists.php?action=show_all_songs&artist=<?php echo $artist->id; ?>"><?php echo get_user_icon('view'); ?></a> <?php echo _("Show All Songs By") . " " . $artist->f_name; ?></li> |
| | 36 | <li><?php echo Ajax::button('?action=basket&type=artist&id=' . $artist->id,'add',_('Add'),'add_' . $artist->id); ?><?php echo _('Add All songs By') . ' ' . $artist->f_name; ?></li> |
| | 37 | <li><?php echo Ajax::button('?action=basket&type=artist_random&id=' . $artist->id,'random',_('Random'),'random_' . $artist->id); ?><?php echo _('Add Random Songs By') . ' ' . $artist->f_name; ?></li> |
| | 38 | <?php if (Access::check('interface','50')) { ?> |
| | 39 | <li><a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&artist=<?php echo $artist->id; ?>"><?php echo get_user_icon('cog'); ?></a> <?php echo _('Update from tags'); ?></li> |