This repository has been archived on 2024-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
nixtape-theme-lastnixtape/templates/artist-tag.tpl

46 lines
1.3 KiB
Smarty

{include file='header.tpl' subheader='artist-header.tpl'}
<div about="{$id}" typeof="mo:MusicArtist">
{if !empty($tagcloud)}
<h3 style='text-align: center; clear: left;'>{t}Popular tags other people used to describe this artist{/t}</h3>
<ul class="tagcloud">
{section name=i loop=$tagcloud}
<li style='font-size:{$tagcloud[i].size}'><a href='{$tagcloud[i].pageurl}' title='{t uses=$tagcloud[i].count}This tag was used %1 times{/t}' rel='tag'>{$tagcloud[i].name}</a></li>
{/section}
</ul>
{/if}
{if !empty($mytags)}
<h3 style='text-align: center; clear: left;'>{t}Tags you've used for this artist{/t}</h3>
<ul class="tagcloud">
{section name=i loop=$mytags}
<li>{$mytags[i].tag}</li>
{/section}
</ul>
{/if}
<br />
<div class="row">
<div class="col-sm-8">
<form action='' method='post'>
<div class="form-group">
<label for='tags'>{t}Add tags:{/t}</label>
<div class="input-group">
<input class="form-control" type='text' name='tags' id='tags'
placeholder="guitar, violin, female vocals, piano" />
<span class="input-group-btn">
<button class="btn btn-default" type='submit' name='tag' id='tag' value='tag'>
{t}Tag{/t}
</button>
</span>
</div>
</div>
</form>
</div>
</div>
</div>
{include file='footer.tpl'}