Files
Testing/templates/notifications.tpl
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

35 lines
1.8 KiB
Smarty

{include file='header.tpl'}
<div id="contentlist">
Click the X next to the notification to remove it<br>
<br>
<ul class="notifys" style="list-style-type:none;">
{foreach from=$notifys.notifys item=notify_info}
<li class="notify" id="notify_{$notify_info.notifytype_id}_{$notify_info.notify_grouped}_2"><button type="button" class="main-bg-color alt-text-color orangebg xtoclose" onclick="SocialEngine.Viewer.userNotifyDelete('{$notify_info.notifytype_id}','{$notify_info.notify_grouped}'); jQuery('#notify_{$notify_info.notifytype_id}_{$notify_info.notify_grouped}_2').fadeOut('slow');"><i class="fa fa-times"></i></button>
<img src='./images/icons/{$notify_info.notify_icon}' border='0' class='icon' alt='' />
<a href="{$notify_info.notify_url}" class="notify_desc">{lang_sprintf id=$notify_info.notify_desc 1=$notify_info.notify_total 2=$notify_info.notify_text.0}</a>
</li>
{/foreach}
</ul>
{if SE_DEBUG1}
<ul class="notifys" style="list-style-type:none;">
{foreach from=$notifys_old.notifys item=notify_info}
<li class="notify" id="notify_{$notify_info.notifytype_id}_{$notify_info.notify_grouped}_2"><button type="button" class="main-bg-color alt-text-color orangebg xtoclose" onclick="SocialEngine.Viewer.userNotifyDelete('{$notify_info.notifytype_id}','{$notify_info.notify_grouped}'); jQuery('#notify_{$notify_info.notifytype_id}_{$notify_info.notify_grouped}_2').fadeOut('slow');"><i class="fa fa-times"></i></button>
<img src='./images/icons/{$notify_info.notify_icon}' border='0' class='icon' alt='' />
<a href="{$notify_info.notify_url}" class="notify_desc">{lang_sprintf id=$notify_info.notify_desc 1=$notify_info.notify_total 2=$notify_info.notify_text.0}</a>
</li>
{/foreach}
</ul>
{/if}
</div>
{include file='footer.tpl'}