Commit 578c3873 authored by Jonny Bradley's avatar Jonny Bradley

[FIX] share: Iconify share module (part 1)

parent fa81dcb1
......@@ -3,31 +3,31 @@
{tikimodule error=$module_params.error title=$tpl_module_title name=$tpl_module_name flip=$module_params.flip decorations=$module_params.decorations nobox=$module_params.nobox notitle=$module_params.notitle}
<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'}
<a href="tiki-tell_a_friend.php?report=y&amp;url={$smarty.server.REQUEST_URI|escape:'url'}">
{if $share_icons}
{icon _id='user_comment' alt="{tr}Report to Webmaster{/tr}"}
{else}
{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'}"}
{else}
<a href="tiki-tell_a_friend.php?report=y&amp;url={$smarty.server.REQUEST_URI|escape:'url'}">
{tr}Report to Webmaster{/tr}
{/if}
</a>
</a>
{/if}
{/if}
{if (!isset($module_params.share) or $module_params.share neq 'n') and $tiki_p_tell_a_friend eq 'y'}
<a href="tiki-share.php?url={$smarty.server.REQUEST_URI|escape:'url'}">
{if $share_icons}
{icon _id='share_link' alt="{tr}Share this page{/tr}"}
{else}
{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'}"}
{else}
<a href="tiki-share.php?url={$smarty.server.REQUEST_URI|escape:'url'}">
{tr}Share this page{/tr}
{/if}
</a>
</a>
{/if}
{/if}
{if (!isset($module_params.email) or $module_params.email neq 'n') and $tiki_p_tell_a_friend eq 'y'}
<a href="tiki-tell_a_friend.php?url={$smarty.server.REQUEST_URI|escape:'url'}">
{if $share_icons}
{icon _id='email_link' alt="{tr}Send a link{/tr}"}
{else}
{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'}"}
{else}
<a href="tiki-tell_a_friend.php?url={$smarty.server.REQUEST_URI|escape:'url'}">
{tr}Email this page{/tr}
{/if}
</a>
</a>
{/if}
{/if}
</div>
{if (isset($module_params.facebook) and $module_params.facebook neq 'n')}
......
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