[ticket/12922] Posts per page in MCP should have a min value of zero

In order to allow displaying the whole topic in MCP=>Main=>View topic,
the min value in the html input field must be 0.

PHPBB3-12922
This commit is contained in:
n-aleha 2014-08-07 17:08:33 +03:00
parent ef26a6fd64
commit 98155a945f

View file

@ -34,7 +34,7 @@
<fieldset id="display-panel" class="fields2" role="tabpanel">
<dl>
<dt><label for="posts_per_page">{L_POSTS_PER_PAGE}{L_COLON}</label><br /><span>{L_POSTS_PER_PAGE_EXPLAIN}</span></dt>
<dd><input class="inputbox autowidth" type="number" min="1" name="posts_per_page" id="posts_per_page" size="6" value="{POSTS_PER_PAGE}" /></dd>
<dd><input class="inputbox autowidth" type="number" min="0" name="posts_per_page" id="posts_per_page" size="6" value="{POSTS_PER_PAGE}" /></dd>
</dl>
<dl>
<dt><label>{L_DISPLAY_POSTS}{L_COLON}</label></dt>