Commit ced34840 authored by Jonny Bradley's avatar Jonny Bradley

[FIX] share: Better class for share module icons

parent 578c3873
......@@ -4,7 +4,7 @@
<div class="{if !$share_icons}site_report {/if}mod-share-item" id="site_report_{$share_mod_usage_counter}">
{if (!isset($module_params.report) or $module_params.report neq 'n') and $tiki_p_site_report eq 'y'}
{if $share_icons}
{icon name='comment' title="{tr}Report to Webmaster{/tr}" href="tiki-tell_a_friend.php?report=y&amp;url={$smarty.server.REQUEST_URI|escape:'url'}"}
{icon name='comment' title="{tr}Report to Webmaster{/tr}" href="tiki-tell_a_friend.php?report=y&amp;url={$smarty.server.REQUEST_URI|escape:'url'}" class='btn-link'}
{else}
<a href="tiki-tell_a_friend.php?report=y&amp;url={$smarty.server.REQUEST_URI|escape:'url'}">
{tr}Report to Webmaster{/tr}
......@@ -13,7 +13,7 @@
{/if}
{if (!isset($module_params.share) or $module_params.share neq 'n') and $tiki_p_share eq 'y'}
{if $share_icons}
{icon name='share-alt' title="{tr}Share this page{/tr}" href="tiki-share.php?url={$smarty.server.REQUEST_URI|escape:'url'}"}
{icon name='share-alt' title="{tr}Share this page{/tr}" href="tiki-share.php?url={$smarty.server.REQUEST_URI|escape:'url'}" class='btn-link'}
{else}
<a href="tiki-share.php?url={$smarty.server.REQUEST_URI|escape:'url'}">
{tr}Share this page{/tr}
......@@ -22,7 +22,7 @@
{/if}
{if (!isset($module_params.email) or $module_params.email neq 'n') and $tiki_p_tell_a_friend eq 'y'}
{if $share_icons}
{icon name='share' title="{tr}Send a link{/tr}" href="tiki-tell_a_friend.php?url={$smarty.server.REQUEST_URI|escape:'url'}"}
{icon name='share' title="{tr}Send a link{/tr}" href="tiki-tell_a_friend.php?url={$smarty.server.REQUEST_URI|escape:'url'}" class='btn-link'}
{else}
<a href="tiki-tell_a_friend.php?url={$smarty.server.REQUEST_URI|escape:'url'}">
{tr}Email this page{/tr}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment