aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-03-30 02:08:53 +0000
committerrvelices <rv-github@modusoptimus.com>2006-03-30 02:08:53 +0000
commit27cc75cade2d4be8c30699313ce684cb5d80b64e (patch)
treee6d57a58bd588261218cb31c1e3be09384c61274 /template/yoga/admin
parent4d322701de488c66916d15955099c3ed1ad061ab (diff)
NBM: check/uncheck all completely done by Javascript
NBM: add function make_index_absolute_url NBM: add function get_user_notifications and simplified code git-svn-id: http://piwigo.org/svn/trunk@1114 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/admin')
-rw-r--r--template/yoga/admin/notification_by_mail.tpl16
1 files changed, 5 insertions, 11 deletions
diff --git a/template/yoga/admin/notification_by_mail.tpl b/template/yoga/admin/notification_by_mail.tpl
index 07ddda54e..014dc3f87 100644
--- a/template/yoga/admin/notification_by_mail.tpl
+++ b/template/yoga/admin/notification_by_mail.tpl
@@ -7,15 +7,15 @@
<!-- BEGIN header_link -->
<h3>
<p style="text-align:center;">
- <a href="{header_link.PARAM_MODE}">{lang:nbm_param_mode}</a> |
- <a href="{header_link.SUBSCRIBE_MODE}">{lang:nbm_subscribe_mode}</a> |
+ <a href="{header_link.PARAM_MODE}">{lang:nbm_param_mode}</a> |
+ <a href="{header_link.SUBSCRIBE_MODE}">{lang:nbm_subscribe_mode}</a> |
<a href="{header_link.SEND_MODE}">{lang:nbm_send_mode}</a>
</p>
</h3>
<!-- END header_link -->
</div>
-<form method="post" name="notification_by_mail" action="{F_ACTION}">
+<form method="post" name="notification_by_mail" id="notification_by_mail" action="{F_ACTION}">
<!-- BEGIN param -->
<fieldset>
@@ -83,16 +83,10 @@
</tr>
<!-- END user_send_mail -->
</table>
- <!--
<p>
- <a href="{send.send_data.URL_CHECK_ALL}">{lang:nbm_send_check_all}</a>
- / <a href="{send.send_data.URL_UNCHECK_ALL}">{lang:nbm_send_uncheck_all}</a>
- </p>
- -->
- <p>
- <input type="submit" value="{lang:nbm_send_check_all}" name="send_check_all"/>
+ <input type="button" value="{lang:nbm_send_check_all}" onclick="SelectAll(document.getElementById('notification_by_mail'))"/>
/
- <input type="submit" value="{lang:nbm_send_uncheck_all}" name="send_uncheck_all"/>
+ <input type="button" value="{lang:nbm_send_uncheck_all}" onclick="DeselectAll(document.getElementById('notification_by_mail'))"/>
</p>
</fieldset>