tagtip.tpl 455 B

123456789101112131415161718192021222324
  1. {*
  2. * Tagtip
  3. *
  4. * Tag tooltip template
  5. *
  6. * @author Christopher Han <xiphux@gmail.com>
  7. * @copyright Copyright (c) 2010 Christopher Han
  8. * @package GitPHP
  9. * @subpackage Template
  10. *}
  11. <div>
  12. {t}tag{/t}: {$tag->GetName()}
  13. <br />
  14. {foreach from=$tag->GetComment() item=line}
  15. {if strncasecmp(trim($line),'-----BEGIN PGP',14) == 0}
  16. <span class="pgpSig">
  17. {/if}
  18. <br />{$line}
  19. {if strncasecmp(trim($line),'-----END PGP',12) == 0}
  20. </span>
  21. {/if}
  22. {/foreach}
  23. </div>