{** * linkActionButton.tpl * * Copyright (c) 2014-2019 Simon Fraser University * Copyright (c) 2000-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Template that renders a button for a link action. * * Parameter: * action: The LinkAction we create a button for. * buttonId: The id of the link. * hoverTitle: Whether to show the title as hover text only. * anyhtml: True iff the link action text permits all HTML (i.e. escaping handled elsewhere). *} {if $anyhtml}{$action->getTitle()}{else}{$action->getTitle()|strip_unsafe_html}{/if}