PHP Classes

File: htdocs/themes/xbootstrap/modules/system/system_notification_select.tpl

Recommend this page to a friend!
  Classes of Michael Beck   Xoops 2.5   htdocs/themes/xbootstrap/modules/system/system_notification_select.tpl   Download  
File: htdocs/themes/xbootstrap/modules/system/system_notification_select.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change: fix Xbootstrap and xswatch notification display
Date: 6 years ago
Size: 2,460 bytes
 

Contents

Class file image Download
<{if $xoops_notification.show}> <form name="notification_select" action="<{$xoops_notification.target_page}>" method="post"> <h4 class="txtcenter"><{$lang_activenotifications}></h4> <input type="hidden" name="not_redirect" value="<{$xoops_notification.redirect_script}>"/> <input type="hidden" name="XOOPS_TOKEN_REQUEST" value="<{php}>echo $GLOBALS['xoopsSecurity']->createToken();<{/php}>"/> <table class="table table-condensed"> <tr> <th colspan="3"><{$lang_notificationoptions}></th> </tr> <tr> <th class="head"><{$lang_category}></th> <td class="head"><input name="allbox" id="allbox" onclick="xoopsCheckAll('notification_select','allbox');" type="checkbox" value="<{$lang_checkall}>"/></td> <th class="head"><{$lang_events}></th> </tr> <{foreach name=outer item=category from=$xoops_notification.categories}> <{foreach name=inner item=event from=$category.events}> <tr> <{if $smarty.foreach.inner.first}> <td class="even" rowspan="<{$smarty.foreach.inner.total}>"><{$category.title}></td> <{/if}> <td class="odd"> <{counter assign=index}> <input type="hidden" name="not_list[<{$index}>][params]" value="<{$category.name}>,<{$category.itemid}>,<{$event.name}>"/> <input type="checkbox" id="not_list[]" name="not_list[<{$index}>][status]" value="1" <{if $event.subscribed}>checked<{/if}> /> </td> <td class="odd"><{$event.caption}></td> </tr> <{/foreach}> <{/foreach}> <tr> <td class="foot txtcenter" colspan="3"><button class="btn btn-primary" type="submit" name="not_submit"><span class="glyphicon glyphicon-refresh"></span> <{$lang_updatenow}></button></td> </tr> </table> <div class="txtcenter"> <span style="font-weight: bold;"><{$lang_notificationmethodis}>:</span>&nbsp;<{$user_method}>&nbsp;&nbsp;<a class="btn btn-info btn-xs" href="<{$editprofile_url}>" title="<{$lang_change}>"><{$lang_change}></a> </div> </form> <{/if}>