| Line | |
|---|
| 1 | <{if $xoops_notification.show}> |
|---|
| 2 | <form name="notification_select" action="<{$xoops_notification.target_page}>" method="post"> |
|---|
| 3 | <h4 style="text-align:center;"><{$lang_activenotifications}></h4> |
|---|
| 4 | <input type="hidden" name="not_redirect" value="<{$xoops_notification.redirect_script}>" /> |
|---|
| 5 | <table class="outer"> |
|---|
| 6 | <tr><th colspan="3"><{$lang_notificationoptions}></th></tr> |
|---|
| 7 | <tr> |
|---|
| 8 | <td class="head"><{$lang_category}></td> |
|---|
| 9 | <td class="head"><input name="allbox" id="allbox" onclick="xoopsCheckAll('notification_select','allbox');" type="checkbox" value="<{$lang_checkall}>" /></td> |
|---|
| 10 | <td class="head"><{$lang_events}></td> |
|---|
| 11 | </tr> |
|---|
| 12 | <{foreach name=outer item=category from=$xoops_notification.categories}> |
|---|
| 13 | <{foreach name=inner item=event from=$category.events}> |
|---|
| 14 | <tr> |
|---|
| 15 | <{if $smarty.foreach.inner.first}> |
|---|
| 16 | <td class="even" rowspan="<{$smarty.foreach.inner.total}>"><{$category.title}></td> |
|---|
| 17 | <{/if}> |
|---|
| 18 | <td class="odd"> |
|---|
| 19 | <{counter assign=index}> |
|---|
| 20 | <input type="hidden" name="not_list[<{$index}>][params]" value="<{$category.name}>,<{$category.itemid}>,<{$event.name}>" /> |
|---|
| 21 | <input type="checkbox" id="not_list[]" name="not_list[<{$index}>][status]" value="1" <{if $event.subscribed}>checked="checked"<{/if}> /> |
|---|
| 22 | </td> |
|---|
| 23 | <td class="odd"><{$event.caption}></td> |
|---|
| 24 | </tr> |
|---|
| 25 | <{/foreach}> |
|---|
| 26 | <{/foreach}> |
|---|
| 27 | <tr> |
|---|
| 28 | <td class="foot" colspan="3" align="center"><input type="submit" name="not_submit" value="<{$lang_updatenow}>" /></td> |
|---|
| 29 | </tr> |
|---|
| 30 | </table> |
|---|
| 31 | <div align="center"> |
|---|
| 32 | <{$lang_notificationmethodis}>: <{$user_method}> [<a href="<{$editprofile_url}>"><{$lang_change}></a>] |
|---|
| 33 | </div> |
|---|
| 34 | </form> |
|---|
| 35 | <{/if}> |
|---|
Note: See
TracBrowser
for help on using the repository browser.