<h4><{$lang_activenotifications}></h4>
<form name="notificationlist" action="notifications.php" method="post">
<div class="table-responsive">
<table class="table table-hover">
<thead>
<tr class="table-primary">
<th><input name="allbox" id="allbox" onclick="xoopsCheckAll('notificationlist', 'allbox');" type="checkbox" value="<{$lang_checkall}>"/>
</th>
<th><{$lang_event}></th>
<th><{$lang_category}></th>
<th class="d-none d-sm-table-cell"><{$lang_itemid}></th>
<th><{$lang_itemname}></th>
</tr>
</thead>
<tbody>
<{foreach item=module from=$modules|default:null}>
<tr class="table-warning">
<th class="head"><input name="del_mod[<{$module.id}>]" id="del_mod[]"
onclick="xoopsCheckGroup('notificationlist', 'del_mod[<{$module.id}>]', 'del_not[<{$module.id}>][]');"
type="checkbox" value="<{$module.id}>"/></th>
<th class="head" colspan="4"><{$lang_module}>: <{$module.name}></th>
</tr>
<{foreach item=category from=$module.categories|default:null}>
<{foreach item=item from=$category.items|default:null}>
<{foreach item=notification from=$item.notifications|default:null}>
<tr>
<td><input type="checkbox" name="del_not[<{$module.id}>][]" id="del_not[<{$module.id}>]" value="<{$notification.id}>"/>
</td>
<td><{$notification.event_title}></td>
<td><{$notification.category_title}></td>
<td class="d-none d-sm-table-cell"><{if $item.id != 0}><{$item.id}><{/if}></td>
<td><{if $item.id != 0}><{if !empty($item.url)}><a href="<{$item.url}>" title="<{$item.name}>"><{/if}><{$item.name}><{if
$item.url != ''}></a><{/if}><{/if}>
</td>
</tr>
<{/foreach}>
<{/foreach}>
<{/foreach}>
<{/foreach}>
</tbody>
</table>
</div>
<input class="btn btn-secondary" type="submit" name="delete_cancel" value="<{$lang_cancel}>"/>
<input class="btn btn-secondary" type="reset" name="delete_reset" value="<{$lang_clear}>"/>
<input class="btn btn-secondary" type="submit" name="delete" value="<{$lang_delete}>"/>
<input type="hidden" name="XOOPS_TOKEN_REQUEST" value="<{$notification_token}>"/>
</form>
|