Unverified Commit ae83b44d authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #535 from ikedas/issue-408 by ikedas

WWSympa: Clicking "delete" button without selection introduces empty page.
parents 05e8ce85 ad082cc6
<!-- docindex.tt2 -->
<h2>[%|loc%]Listing of shared documents to moderate[%END%]</h2>
[% IF shared_doc.children %]
<form class="noborder toggleContainer" data-toggle-selector="input[name='id']"
action="[% path_cgi %]" method="POST" name="moderate_shared">
<fieldset>
<input type="hidden" name="list" value="[% list %]" />
<input class="MainMenuLinks" type="submit" name="action_d_install_shared" value="[%|loc%]Install[%END%]" />
<input class="MainMenuLinks" type="submit" name="action_d_reject_shared.quiet" value="[%|loc%]Reject[%END%]" />
<input class="MainMenuLinks" type="submit" name="action_d_reject_shared" value="[%|loc%]Notified reject[%END%]" />
<br />
<table class="responsive listOfItems">
<caption>[%|loc%]Listing of documents shared to moderate[%END%]</caption>
<tr>
<th><a href="#"
data-tooltip aria-haspopup="true"
title="[%|loc%]Toggle Selection[%END%]"
class="toggleButton"><i class="fa fa-check-square-o"></i></a></th>
<th>[%|loc%]Date[%END%]</th>
<th>[%|loc%]Author[%END%]</th>
<th>[%|loc%]Path[%END%]</th>
<th>[%|loc%]Size[%END%]</th>
</tr>
[% FOREACH f = shared_doc.children %]
<tr>
<td>
<input type="checkbox" name="id" value="[% f.paths.join("/") %]" />
</td>
<td>
[% IF f.date %]
[% f.date %]
[% ELSE %]
&nbsp;
[% END %]
</td>
<td>[% f.owner %]</td>
<td>
<a href="[% 'd_read' | url_rel([list,f.paths_d]) %]">[% f.paths.join("/") %]</a>
</td>
<td>[% f.size %] kb</td>
</tr>
[% END %]
</table>
<input class="MainMenuLinks toggleButton" type="button"
value="[%|loc%]Toggle Selection[%END%]" />
<br /><br />
<input class="MainMenuLinks" type="submit" name="action_d_install_shared" value="[%|loc%]Install[%END%]" />
<input class="MainMenuLinks" type="submit" name="action_d_reject_shared.quiet" value="[%|loc%]Reject[%END%]" />
<input class="MainMenuLinks" type="submit" name="action_d_reject_shared" value="[%|loc%]Notified reject[%END%]" />
[% IF shared_doc.children ~%]
<form id="docindex" name="docindex" action="[% path_cgi %]"
method="POST">
<fieldset class="toggleContainer" data-toggle-selector="input[name='id']"
role="table">
<input type="hidden" name="list" value="[% list %]" form="docindex" />
<div class="row" role="row">
<div class="small-2 medium-1 columns" role="columnheader">
<a href="#" data-tooltip aria-haspopup="true"
title="[%|loc%]Toggle Selection[%END%]"
class="toggleButton"><i class="fa fa-check-square-o"></i></a>&nbsp;&nbsp;
</div>
<div class="small-4 medium-4 columns" role="columnheader">
<label>[%|loc%]Author[%END%]</label>
</div>
<div class="small-6 medium-3 columns" role="columnheader">
<label>[%|loc%]Path[%END%]</label>
</div>
<div class="medium-2 columns show-for-medium" role="columnheader">
<label>[%|loc%]Date[%END%]</label>
</div>
<div class="medium-2 columns show-for-medium" role="columnheader">
<label>[%|loc%]Size[%END%]</label>
</div>
</div>
[% FOREACH f = shared_doc.children ~%]
<div class="row" role="row">
<div class="columns" role="separator"><hr /></div>
</div>
<div class="row" role="row">
<div class="small-2 medium-1 columns" role="cell">
<input type="checkbox" name="id" value="[% f.paths.join("/") %]"
form="docindex" />&nbsp;&nbsp;
</div>
<div class="small-4 medium-4 columns" role="cell">
[% f.owner %]
</div>
<div class="small-6 medium-3 columns" role="cell">
<a href="[% 'd_read' | url_rel([list,f.paths_d]) %]">
[% f.paths.join("/") %]
</a>
</div>
<div class="small-11 medium-2 columns" role="cell">
[% UNLESS f.date ~%]
<i>[%|loc%](unknown date)[%END%]</i>
[%~ ELSE ~%]
[% f.date %]
[%~ END %]
</div>
<div class="show-for-medium medium-2 columns" role="cell">
[% f.size %] [%|loc%]Kbytes[%END%]
</div>
</div>
[%~ END %]
<div class="row" role="row">
<div class="columns">
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='id']"
type="submit" name="action_d_install_shared"
value="[%|loc%]Install[%END%]" />
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='id']"
type="submit" name="action_d_reject_shared.quiet"
value="[%|loc%]Reject[%END%]" />
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='id']"
type="submit" name="action_d_reject_shared"
value="[%|loc%]Notified reject[%END%]" />
</div>
</div>
</fieldset>
</form>
[% ELSE %]
<p class="small-8 small-centered columns alert-box info text-center">[%|loc%]No documents to moderate[%END%]</p>
[% END %]
</form>
[%~ ELSE ~%]
<p class="small-8 small-centered columns alert-box info text-center">
[%|loc%]No documents to moderate[%END%]
</p>
[%~ END %]
<!-- end docindex.tt2 -->
......@@ -33,10 +33,12 @@
</tr>
[% END %]
</table>
<input class="MainMenuLinks toggleButton" type="button"
value="[%|loc%]Toggle Selection[%END%]" />
<input class="MainMenuLinks" type="submit" name="action_purge_list" value="[%|loc%]Purge selected lists[%END%]" />
<div>
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='selected_lists']"
type="submit" name="action_purge_list"
value="[%|loc%]Purge selected lists[%END%]" />
</div>
[% ELSE %]
<p class="small-12 medium-8 medium-centered columns alert-box info text-center">[%|loc%] No closed lists[%END%]</p>
[% END %]
......
......@@ -11,34 +11,35 @@
[% IF mod_message ~%]
<form id="moderate_mails" name="moderate_mails" action="[% path_cgi %]"
method="POST">
<fieldset class="toggleContainer" data-toggle-selector="input[name='id']">
<fieldset class="toggleContainer" data-toggle-selector="input[name='id']"
role="table">
<input type="hidden" name="list" value="[% list %]" form="moderate_mails" />
<div class="row">
<div class="small-2 medium-1 columns">
<div class="row" role="row">
<div class="small-2 medium-1 columns" role="columnheader">
<a href="#" data-tooltip aria-haspopup="true"
title="[%|loc%]Toggle Selection[%END%]"
class="toggleButton"><i class="fa fa-check-square-o"></i></a>&nbsp;&nbsp;
</div>
<div class="small-4 medium-4 columns">
<strong>[%|loc%]Author[%END%]</strong>
<div class="small-4 medium-4 columns" role="columnheader">
<label>[%|loc%]Author[%END%]</label>
</div>
<div class="small-6 medium-3 columns">
<strong>[%|loc%]Subject[%END%]</strong>
<div class="small-6 medium-3 columns" role="columnheader">
<label>[%|loc%]Subject[%END%]</label>
</div>
<div class="medium-2 columns show-for-medium">
<strong>[%|loc%]Date[%END%]</strong>
<div class="medium-2 columns show-for-medium" role="columnheader">
<label>[%|loc%]Date[%END%]</label>
</div>
<div class="medium-2 columns show-for-medium">
<strong>[%|loc%]Size[%END%]</strong>
<div class="medium-2 columns show-for-medium" role="columnheader">
<label>[%|loc%]Size[%END%]</label>
</div>
</div>
[% FOREACH msg = spool ~%]
<div class="row">
<div class="columns"><hr /></div>
<div class="row" role="row">
<div class="columns" role="separator"><hr /></div>
</div>
<div class="row">
<div class="small-2 medium-1 columns">
<div class="row" role="row">
<div class="small-2 medium-1 columns" role="cell">
<input type="checkbox" name="id" value="[% msg.key %]"
form="moderate_mails" />&nbsp;&nbsp;
......@@ -58,7 +59,7 @@
[%~ END %]
[%~ END %]
</div>
<div class="small-4 medium-4 columns">
<div class="small-4 medium-4 columns" role="cell">
[% IF msg.value.gecos ~%]
<span data-tooltip
title="[% msg.value.gecos %] &lt;[% msg.value.from %]&gt;">
......@@ -69,39 +70,38 @@
title="[% msg.value.from %]">[% msg.value.from %]</span>
[%~ END %]
</div>
<div class="small-6 medium-3 columns">
<div class="small-6 medium-3 columns" role="cell">
[% UNLESS msg.value.subject.length ~%]
<i>[%|loc%]No subject[%END%]</i>
[%~ ELSE ~%]
[% msg.value.subject %]
[%~ END %]
</div>
<div class="small-11 medium-2 columns">
<div class="small-11 medium-2 columns" role="cell">
[% UNLESS msg.value.date ~%]
<i>[%|loc%](unknown date)[%END%]</i>
[%~ ELSE ~%]
[% msg.value.date %]
[%~ END %]
</div>
<div class="show-for-medium medium-2 columns">
<div class="show-for-medium medium-2 columns" role="cell">
[% msg.value.size %] [%|loc%]Kbytes[%END%]
</div>
</div>
[% END %]
[%~ END %]
<h3>[%|loc%]Bulk moderation[%END%]</h3>
<p>
<input class="MainMenuLinks toggleButton" type="button"
value="[%|loc%]Toggle Selection[%END%]" form="moderate_mails" />
</p>
<p>
<input class="MainMenuLinks" type="submit"
form="moderate_mails" name="action_distribute"
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='id']"
type="submit" form="moderate_mails" name="action_distribute"
value="[%|loc%]Distribute selected emails[%END%]" />
</p>
<p>
<input class="MainMenuLinks" type="submit" form="moderate_mails"
name="action_reject" value="[%|loc%]Reject selected emails[%END%]" />
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='id']"
type="submit" form="moderate_mails" name="action_reject"
value="[%|loc%]Reject selected emails[%END%]" />
<input type="hidden" name="from_modindex" value="from_modindex"
form="moderate_mails" />
<select name="message_template" form="moderate_mails">
......
......@@ -140,12 +140,10 @@
[% IF total != 0 %]
[% IF is_owner %]
<div>
<input class="MainMenuLinks toggleButton" type="button"
value="[%|loc%]Toggle Selection[%END%]" />
</div>
<div>
<input class="MainMenuLinks" type="submit" name="action_del"
value="[%|loc%]Delete selected email addresses[%END%]" />
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='email']"
type="submit" name="action_del"
value="[%|loc%]Delete selected email addresses[%END%]" />
</div>
<div>
<input type="checkbox" id="quiet" name="quiet" />
......
......@@ -161,19 +161,20 @@
</div>
[% IF is_owner %]
<div>
<input class="MainMenuLinks" type="submit" name="action_del"
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='email']"
type="submit" name="action_del"
value="[%|loc%]Delete selected email addresses[%END%]" />
<input id="quiet" type="checkbox" name="quiet" />
<label for="quiet">[%|loc%]quiet[%END%] </label>
</div>
<div>
<input class="MainMenuLinks" type="submit" name="action_resetbounce"
value="[%|loc%]Reset errors for selected users[%END%]" />
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='email']"
type="submit" name="action_resetbounce"
value="[%|loc%]Reset errors for selected users[%END%]" />
</div>
[% END %]
<input class="MainMenuLinks toggleButton" type="button"
value="[%|loc%]Toggle Selection[%END%]" />
</fieldset>
</form>
[% ELSE %]
......
......@@ -42,12 +42,10 @@
'off', add cannot be performed. ~%]
[% IF list_status == 'open' || conf.allow_subscribe_if_pending == 'on' ~%]
<div>
<input class="MainMenuLinks toggleButton" type="button"
value="[%|loc%]Toggle Selection[%END%]" />
</div>
<div>
<input class="MainMenuLinks" type="submit" name="action_add"
value="[%|loc%]Restore selected email addresses[%END%]" />
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='email']"
type="submit" name="action_add"
value="[%|loc%]Restore selected email addresses[%END%]" />
<input id="quiet_exclusion" type="checkbox" name="quiet"/>
<label for="quiet_exclusion">[%|loc%]quiet[%END%] </label>
<input type="hidden" name="previous_action" value="[% action %]" />
......
<!-- sigindex.tt2 -->
<h2>[%|loc%]Listing unsubscription to moderate[%END%]</h2>
[% IF mod_signoff %]
<form class="noborder toggleContainer" data-toggle-selector="input[name='id']"
action="[% path_cgi %]" method="POST" name="myform">
<fieldset>
<input type="hidden" name="list" value="[% list %]" />
<table class="responsive listOfItems">
<caption>[%|loc%]Listing unsubscription to moderate[%END%]</caption>
<tr>
<th><a href="#"
data-tooltip aria-haspopup="true"
title="[%|loc%]Toggle Selection[%END%]"
class="toggleButton"><i class="fa fa-check-square-o"></i> </a></th>
<th colspan="2">[%|loc%]Email[%END%]</th>
<th>[%|loc%]Date[%END%]</th>
</tr>
[% IF signoffs %]
[% FOREACH sig = signoffs %]
[% IF dark == '1' %]
<tr>
[% ELSE %]
<tr class="color0">
[% END %]
<td>
<input type="checkbox" name="id" value="[% sig.key %]" />
</td>
<td colspan="2">
[% sig.value.email %]
</td>
<td>
[% sig.value.date %]
</td>
</tr>
[% IF dark == '1' %]
[% SET dark = 0 %]
[% ELSE %]
[% SET dark = 1 %]
[% END %]
[% END %]
[% IF mod_signoff && signoffs %]
<form id="sigindex" name="sigindex" action="[% path_cgi %]"
method="POST">
<fieldset class="toggleContainer" data-toggle-selector="input[name='id']"
role="table">
<input type="hidden" name="list" value="[% list %]" form="sigindex" />
<div class="row" role="row">
<div class="small-2 medium-1 columns" role="columnheader">
<a href="#" data-tooltip aria-haspopup="true"
title="[%|loc%]Toggle Selection[%END%]"
class="toggleButton"><i class="fa fa-check-square-o"></i></a>&nbsp;&nbsp;
</div>
<div class="small-10 medium-7 columns" role="columnheader">
<label>[%|loc%]Email[%END%]</label>
</div>
<div class="small-11 medium-4 columns" role="columnheader">
<label>[%|loc%]Date[%END%]</label>
</div>
</div>
[% ELSE %]
<tr colspan="4"><th>[%|loc%]No unsubscription requests[%END%]</th></tr>
[% END %]
</table>
<input type="hidden" name="previous_action" value="sigindex" />
<input type="hidden" name="previous_list" value="[% list %]" />
<div>
<input class="MainMenuLinks toggleButton" type="button"
value="[%|loc%]Toggle Selection[%END%]" />
[% FOREACH sig = signoffs ~%]
<div class="row" role="row">
<div class="columns" role="separator"><hr /></div>
</div>
<div>
<div class="row" role="row">
<div class="small-2 medium-1 columns" role="cell">
<input type="checkbox" name="id" value="[% sig.key %]"
form="sigindex" />&nbsp;&nbsp;
</div>
<div class="small-10 medium-7 columns" role="cell">
[% sig.value.email %]
</div>
<div class="small-11 medium-4 columns" role="cell">
[% sig.value.date %]
</div>
</div>
[%~ END %]
<input type="hidden" name="previous_action" value="sigindex" />
<input type="hidden" name="previous_list" value="[% list %]" />
<div class="row" role="row">
<div class="columns">
[%# If a list is not 'open' and allow_subscribe_if_pending has been set to
'off', del cannot be performed. ~%]
[% IF list_status == 'open' || conf.allow_subscribe_if_pending == 'on' ~%]
<input class="MainMenuLinks" type="submit" name="action_auth_del"
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='id']"
type="submit" form="sigindex" name="action_auth_del"
value="[%|loc%]Delete selected addresses[%END%]" />
[%~ END %]
<input class="MainMenuLinks" type="submit" name="action_decl_del"
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='id']"
type="submit" form="sigindex" name="action_decl_del"
value="[%|loc%]Reject selected addresses[%END%]" />
</div>
</div>
</fieldset>
</form>
[% ELSE %]
<p class="small-8 small-centered columns alert-box info text-center">[%|loc%]No unsubscription requests[%END%]</p>
[% END %]
</form>
[%~ ELSE ~%]
<p class="small-8 small-centered columns alert-box info text-center">
[%|loc%]No unsubscription requests[%END%]
</p>
[%~ END %]
<!-- end sigindex.tt2 -->
<!-- subindex.tt2 -->
<h2>[%|loc%]List of subscriptions to moderate[%END%]</h2>
[% IF mod_subscription %]
<form class="noborder toggleContainer" data-toggle-selector="input[name='id']"
action="[% path_cgi %]" method="POST" name="myform">
<fieldset>
<input type="hidden" name="list" value="[% list %]" />
<table class="responsive listOfItems">
<caption>[%|loc%]List of subscriptions to moderate[%END%]</caption>
<tr>
<th><a href="#"
data-tooltip aria-haspopup="true"
title="[%|loc%]Toggle Selection[%END%]"
class="toggleButton"><i class="fa fa-check-square-o"></i> </a></th>
<th colspan="2">[%|loc%]Email[%END%]</th>
<th>[%|loc%]Name[%END%]</th>
<th>[%|loc%]Date[%END%]</th>
<th>[%|loc%]Additional information[%END%]</th>
</tr>
[% IF subscriptions %]
[% FOREACH sub = subscriptions %]
[% IF dark == '1' %]
<tr>
[% ELSE %]
<tr class="color0">
[% END %]
<td>
<input type="checkbox" name="id" value="[% sub.key %]" />
</td>
<td colspan="2">
[% sub.value.email %]
</td>
<td>
[% sub.value.gecos %]&nbsp;
</td>
<td>
[% sub.value.date %]
</td>
<td class="text-left">
[% FOREACH ca_k IN list_conf.custom_attribute %]<b>[% ca_k.name %][%|loc%]:[%END%] </b>[% IF sub.value.custom_attribute.item(ca_k.id).value %][% sub.value.custom_attribute.item(ca_k.id).value %][% ELSE %]-[% END %]<br>[% END %]
</td>
</tr>
[% IF mod_subscription && subscriptions %]
<form id="subindex" name="subindex" action="[% path_cgi %]"
method="POST">
<fieldset class="toggleContainer" data-toggle-selector="input[name='id']"
role="table">
<input type="hidden" name="list" value="[% list %]" form="subindex" />
<div class="row" role="row">
<div class="small-2 medium-1 columns" role="columnheader">
<a href="#" data-tooltip aria-haspopup="true"
title="[%|loc%]Toggle Selection[%END%]"
class="toggleButton"><i class="fa fa-check-square-o"></i></a>&nbsp;&nbsp;
</div>
<div class="small-10 medium-7 columns" role="columnheader">
<label>[%|loc%]Email[%END%]</label>
</div>
<div class="small-11 medium-2 columns" role="columnheader">
<label>[%|loc%]Name[%END%]</label>
</div>
<div class="medium-2 columns show-for-medium" role="columnheader">
<label>[%|loc%]Date[%END%]</label>
</div>
[% IF listconf.custom_attribute && listconf.custom_attribute.size() ~%]
<div class="columns" role="columnheader">
<label>[%|loc%]Additional information[%END%]</label>
</div>
[%~ END %]
</div>
[% IF dark == '1' %]
[% SET dark = 0 %]
[% ELSE %]
[% SET dark = 1 %]
[% END %]
[% END %]
[% FOREACH sub = subscriptions ~%]
<div class="row" role="row">
<div class="columns" role="separator"><hr /></div>
</div>
<div class="row" role="row">
<div class="small-2 medium-1 columns" role="cell">
<input type="checkbox" name="id" value="[% sub.key %]"
form="subindex" />&nbsp;&nbsp;
</div>
<div class="small-10 medium-7 columns" role="cell">
[% sub.value.email %]
</div>
<div class="small-11 medium-2 columns" role="cell">
[% sub.value.gecos %]&nbsp;
</div>
<div class="medium-2 columns show-for-medium" role="cell">
[% sub.value.date %]
</div>
[% IF listconf.custom_attribute && listconf.custom_attribute.size() ~%]
<div class="columns" role="cell">
[% FOREACH ca_k IN listconf.custom_attribute ~%]
<p>
<b>[% ca_k.name %][%|loc%]:[%END%] </b>
[% IF sub.value.custom_attribute.item(ca_k.id).value ~%]
[% sub.value.custom_attribute.item(ca_k.id).value %]
[%~ ELSE ~%]
-
[%~ END %]
</p>
[%~ END %]
</div>
[%~ END %]
</div>
[%~ END %]
[% ELSE %]
<tr colspan="4"><th>[%|loc%]No subscription requests[%END%]</th></TR>
[% END %]
</table>
<input type="hidden" name="previous_action" value="subindex" />
<input type="hidden" name="previous_list" value="[% list %]" />
<input class="MainMenuLinks toggleButton" type="button"
value="[%|loc%]Toggle Selection[%END%]" />
<input type="hidden" name="previous_action" value="subindex" />
<input type="hidden" name="previous_list" value="[% list %]" />
<div class="row" role="row">
<div class="columns">
[%# If a list is not 'open' and allow_subscribe_if_pending has been set to
'off', add cannot be performed. ~%]
[% IF list_status == 'open' || conf.allow_subscribe_if_pending == 'on' ~%]
<input class="MainMenuLinks" type="submit" name="action_auth_add"
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='id']"
type="submit" form="subindex" name="action_auth_add"
value="[%|loc%]Add selected addresses[%END%]" />
[%~ END %]
<input class="MainMenuLinks" type="submit" name="action_decl_add"
<input class="MainMenuLinks disableUnlessChecked"
data-selector="input[name='id']"
type="submit" form="submindex" name="action_decl_add"
value="[%|loc%]Reject selected addresses[%END%]" />
</div>
</div>
</fieldset>
</form>
[% ELSE %]
<p class="small-8 small-centered columns alert-box info text-center">[%|loc%]No subscription requests[%END%]</p>
[% END %]
</form>
[%~ ELSE ~%]
<p class="small-8 small-centered columns alert-box info text-center">
[%|loc%]No subscription requests[%END%]
</p>
[%~ END %]
<!-- end subindex.tt2 -->
......@@ -72,7 +72,7 @@
[% SET colspan = colspan + 1 %]
<th>[% additional_fields %]</th>
[% END %]
[% FOREACH ca_k IN list_conf.custom_attribute %]
[% FOREACH ca_k IN listconf.custom_attribute %]
[% SET colspan = colspan + 1 %]
<th>[% ca_k.name %]</th>
[% END %]
......@@ -155,7 +155,7 @@
[% u.additional %]
</td>
[% END %]
[% FOREACH ca_k IN list_conf.custom_attribute %]<td>[% SET id = ca_k.id %][% u.custom_attribute.$id.value %]</td>[% END %]
[% FOREACH ca_k IN listconf.custom_attribute %]<td>[% SET id = ca_k.id %][% u.custom_attribute.$id.value %]</td>[% END %]
[% END %]
</tr>
......
......@@ -517,8 +517,8 @@ our %required_args = (
'arcsearch_form' => ['param.list'],
'arcsearch_id' => ['param.list'],
'auth' => ['id', 'heldaction', 'email'],
'auth_add' => ['param.list', 'param.user.email'],
'auth_del' => ['param.list', 'param.user.email'],
'auth_add' => ['param.list', 'param.user.email', 'id'],
'auth_del' => ['param.list', 'param.user.email', 'id'],
'auto_signoff' => ['param.list', 'email'],
'attach' => ['param.list'],
'blacklist' => ['param.list'],
......@@ -567,8 +567,8 @@ our %required_args = (
'get_latest_lists' => ['param.user.email'],
'get_biggest_lists' => ['param.user.email'],
'get_pending_lists' => ['param.user.email'],
'decl_del' => ['param.list', 'param.user.email'],
'decl_add' => ['param.list', 'param.user.email'],
'decl_del' => ['param.list', 'param.user.email', 'id'],
'decl_add' => ['param.list', 'param.user.email', 'id'],
'delete_account' => ['passwd', 'i_understand_the_consequences'],