 <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
    <p class="contentboxh"><img src="{$branchimage}" align="right" alt="[F]">{t}Releases{/t}</p>
   </div>
   <div class="contentboxb">
        <table summary="" style="width:100%;border-bottom:1px solid #B0B0B0;">
     <tr>
      <td>
    {t}Current release{/t}&nbsp;
    <select name="fai_release" onChange="document.mainform.submit();">
        {html_options output=$fai_releases values=$fai_releases selected=$fai_release}
    </select>
      </td>
     </tr>
        </table>
        <table summary="" style="width:100%;">
     <tr>
      <td>
    {if $allow_create}
        <input class="center" type="image" name="branch_branch" src="plugins/fai/images/branch_small.png">
        <a href="?plug={$plug_id}&act=branch_branch">{t}Create release{/t}</a>
        <br>
        <input class="center" type="image" name="freeze_branch" src="plugins/fai/images/freeze.png">
		<a href="?plug={$plug_id}&act=freeze_branch">{t}Create read-only release{/t}</a>
    {else}
        <img src="plugins/fai/images/branch_small_grey.png" alt='{t}Release{/t}' class='center'>
        {t}Create release{/t}
        <br>
        <img src="plugins/fai/images/freeze_grey.png" alt='{t}Freeze{/t}' class='center'>
		{t}Create read-only release{/t}
    {/if}

    {if $fai_release != $fai_base && $allow_remove}
    <br>
        <input class="center" type="image" name="remove_branch" src="images/lists/trash.png">
	    <a href="?plug={$plug_id}&act=remove_branch">{t}Delete current release{/t}</a>
    {/if}
      </td>
     </tr>
   </table>
   </div>
<br>

