Minahito
minah****@users*****
2006年 7月 26日 (水) 19:55:37 JST
Index: xoops2jp/html/modules/base/templates/legacy_notification_select.html diff -u xoops2jp/html/modules/base/templates/legacy_notification_select.html:1.1.2.1 xoops2jp/html/modules/base/templates/legacy_notification_select.html:1.1.2.2 --- xoops2jp/html/modules/base/templates/legacy_notification_select.html:1.1.2.1 Sun Apr 9 10:24:04 2006 +++ xoops2jp/html/modules/base/templates/legacy_notification_select.html Wed Jul 26 19:55:37 2006 @@ -1,3 +1,5 @@ +<{legacy_notifications_select}> + <{if $xoops_notification.show}> <form name="notification_select" action="<{$xoops_notification.target_page}>" method="post"> <h4 style="text-align:center;"><{$lang_activenotifications}></h4> Index: xoops2jp/html/modules/base/templates/legacy_notification_list.html diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_notification_list.html:1.1.2.1 --- /dev/null Wed Jul 26 19:55:37 2006 +++ xoops2jp/html/modules/base/templates/legacy_notification_list.html Wed Jul 26 19:55:37 2006 @@ -0,0 +1,40 @@ +<h4><{$smarty.const._NOT_ACTIVENOTIFICATIONS}></h4> +<form name="notificationlist" action="notifications.php" method="post"> + <{xoops_token form=$actionForm}> + <table class="outer"> + <tr> + <th><input name="allbox" id="allbox" onclick="xoopsCheckAll('notificationlist', 'allbox');" type="checkbox" value="<{$smarty.const._NOT_CHECKALL}>" /></th> + <th><{$smarty.const._NOT_EVENT}></th> + <th><{$smarty.const._NOT_CATEGORY}></th> + <th><{$smarty.const._NOT_ITEMID}></th> + <th><{$smarty.const._NOT_ITEMNAME}></th> + </tr> + <{foreach item=module from=$modules}> + <tr> + <td class="head"><input name="del_mod[<{$module.id}>]" id="del_mod[<{$module.id}>]" onclick="xoopsCheckGroup('notificationlist', 'del_mod[<{$module.id}>]', 'del_not[<{$module.id}>][]');" type="checkbox" value="<{$module.id}>" /></td> + <td class="head" colspan="4"><{$smarty.const._NOT_MODULE}>: <{$module.name}></td> + </tr> + <{foreach item=category from=$module.categories}> + <{foreach item=item from=$category.items}> + <{foreach item=notification from=$item.notifications}> + <tr> + <{cycle values=odd,even assign=class}> + <td class="<{$class}>"><input type="checkbox" name="del_not[<{$module.id}>][]" id="del_not[<{$module.id}>][]" value="<{$notification.id}>" /></td> + <td class="<{$class}>"><{$notification.event_title}></td> + <td class="<{$class}>"><{$notification.category_title}></td> + <td class="<{$class}>"><{if $item.id != 0}><{$item.id}><{/if}></td> + <td class="<{$class}>"><{if $item.id != 0}><{if $item.url != ''}><a href="<{$item.url}>"><{/if}><{$item.name}><{if $item.url != ''}></a><{/if}><{/if}></td> + </tr> + <{/foreach}> + <{/foreach}> + <{/foreach}> + <{/foreach}> + <tr> + <td class="foot" colspan="5"> + <input type="submit" name="delete_cancel" value="<{$smarty.const._CANCEL}>" /> + <input type="reset" name="delete_reset" value="<{$smarty.const._NOT_CLEAR}>" /> + <input type="submit" name="delete" value="<{$smarty.const._DELETE}>" /> + </td> + </tr> + </table> +</form> Index: xoops2jp/html/modules/base/templates/legacy_notification_select_form.html diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_notification_select_form.html:1.1.2.1 --- /dev/null Wed Jul 26 19:55:37 2006 +++ xoops2jp/html/modules/base/templates/legacy_notification_select_form.html Wed Jul 26 19:55:37 2006 @@ -0,0 +1,35 @@ +<{if $xoops_notification.show}> +<form name="notification_select" action="<{$xoops_notification.target_page}>" method="post"> +<h4 style="text-align:center;"><{$smarty.const._NOT_ACTIVENOTIFICATIONS}></h4> +<input type="hidden" name="not_redirect" value="<{$xoops_notification.redirect_script}>" /> +<table class="outer"> + <tr><th colspan="3"><{$smarty.const._NOT_NOTIFICATIONOPTIONS}></th></tr> + <tr> + <td class="head"><{$smarty.const._NOT_CATEGORY}></td> + <td class="head"><input name="allbox" id="allbox" onclick="xoopsCheckAll('notification_select','allbox');" type="checkbox" value="<{$smarty.const._NOT_CHECKALL}>" /></td> + <td class="head"><{$smarty.const._NOT_EVENT}></td> + </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="checked"<{/if}> /> + </td> + <td class="odd"><{$event.caption}></td> + </tr> + <{/foreach}> + <{/foreach}> + <tr> + <td class="foot" colspan="3" align="center"><input type="submit" name="not_submit" value="<{$smarty.const._NOT_UPDATENOW}>" /></td> + </tr> +</table> +<div align="center"> +<{$smarty.const._NOT_NOTIFICATIONMETHODIS}>: <{$user_method}> [<a href="<{$editprofile_url}>"><{$smarty.const._NOT_CHANGE}></a>] +</div> +</form> +<{/if}> \ No newline at end of file Index: xoops2jp/html/modules/base/templates/legacy_notification_delete.html diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_notification_delete.html:1.1.2.1 --- /dev/null Wed Jul 26 19:55:37 2006 +++ xoops2jp/html/modules/base/templates/legacy_notification_delete.html Wed Jul 26 19:55:37 2006 @@ -0,0 +1,9 @@ +<h4><{$smarty.const._NOT_DELETINGNOTIFICATIONS}></h4> +<form action="notifications.php" method="post"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=delete value=1}> + <{foreach item=ids from=$actionForm->mNotifiyIds}> + <input type="hidden" name="del_not[<{$ids.modid|escape}>][]" value="<{$ids.id|escape}>" /> + <{/foreach}> + <input type="submit" name="delete" value="<{$smarty.const._DELETE}>" /> +</form>