Commit 44e793ec authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Likewise sigindex and subindex pages.

parent 0e39381b
......@@ -51,18 +51,18 @@
</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%]" />
</div>
<div>
[%# 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" 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" name="action_decl_del"
value="[%|loc%]Reject selected addresses[%END%]" />
</div>
</fieldset>
......
......@@ -53,22 +53,26 @@
[% END %]
[% ELSE %]
<tr colspan="4"><th>[%|loc%]No subscription requests[%END%]</th></TR>
[% 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%]" />
<div>
[%# 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" 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" name="action_decl_add"
value="[%|loc%]Reject selected addresses[%END%]" />
</div>
</fieldset>
</form>
[% ELSE %]
......
......@@ -516,8 +516,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'],
......@@ -566,8 +566,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'],
'including_lists' => ['param.list', 'param.user.email'],
'info' => ['param.list'],
'install_pending_list' => ['param.user.email'],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment