aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subsilver2
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-03 11:50:19 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-01 17:26:14 +0100
commitc9541e07952eec73099701082bc1317ef2bd4c56 (patch)
treef33638a991c3a3f28729affbab2a437492e0abc6 /phpBB/styles/subsilver2
parentf3c2c497d8443d7cb77eaaf9c8031db1cb3434d9 (diff)
downloadforums-c9541e07952eec73099701082bc1317ef2bd4c56.tar
forums-c9541e07952eec73099701082bc1317ef2bd4c56.tar.gz
forums-c9541e07952eec73099701082bc1317ef2bd4c56.tar.bz2
forums-c9541e07952eec73099701082bc1317ef2bd4c56.tar.xz
forums-c9541e07952eec73099701082bc1317ef2bd4c56.zip
[ticket/14272] Use input type number instead of text in avatars
PHPBB3-14272
Diffstat (limited to 'phpBB/styles/subsilver2')
-rw-r--r--phpBB/styles/subsilver2/template/ucp_avatar_options_gravatar.html4
-rw-r--r--phpBB/styles/subsilver2/template/ucp_avatar_options_remote.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/styles/subsilver2/template/ucp_avatar_options_gravatar.html b/phpBB/styles/subsilver2/template/ucp_avatar_options_gravatar.html
index b8840e0aab..9fb3f0e754 100644
--- a/phpBB/styles/subsilver2/template/ucp_avatar_options_gravatar.html
+++ b/phpBB/styles/subsilver2/template/ucp_avatar_options_gravatar.html
@@ -6,8 +6,8 @@
<tr>
<td class="row1" width="35%"><b class="genmed">{L_GRAVATAR_AVATAR_SIZE}{L_COLON}</b><br /><span class="gensmall">{L_GRAVATAR_AVATAR_SIZE_EXPLAIN}</span></td>
<td class="row2">
- <input type="text" name="avatar_gravatar_width" id="avatar_gravatar_width" size="3" value="{AVATAR_GRAVATAR_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} &times;&nbsp;
- <input type="text" name="avatar_gravatar_height" id="avatar_gravatar_height" size="3" value="{AVATAR_GRAVATAR_HEIGHT}" class="inputbox autowidth" /> {L_PIXEL}
+ <input type="number" name="avatar_gravatar_width" id="avatar_gravatar_width" min="{AVATAR_MIN_WIDTH}" max="{AVATAR_MAX_WIDTH}" value="{AVATAR_GRAVATAR_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} &times;&nbsp;
+ <input type="number" name="avatar_gravatar_height" id="avatar_gravatar_height" min="{AVATAR_MIN_HEIGHT}" max="{AVATAR_MAX_HEIGHT}" value="{AVATAR_GRAVATAR_HEIGHT}" class="inputbox autowidth" /> {L_PIXEL}
</td>
</tr>
</table>
diff --git a/phpBB/styles/subsilver2/template/ucp_avatar_options_remote.html b/phpBB/styles/subsilver2/template/ucp_avatar_options_remote.html
index 50ebb9b93d..309b3f9836 100644
--- a/phpBB/styles/subsilver2/template/ucp_avatar_options_remote.html
+++ b/phpBB/styles/subsilver2/template/ucp_avatar_options_remote.html
@@ -5,6 +5,6 @@
</tr>
<tr>
<td class="row1" width="35%"><b class="genmed">{L_LINK_REMOTE_SIZE}{L_COLON} </b><br /><span class="gensmall">{L_LINK_REMOTE_SIZE_EXPLAIN}</span></td>
- <td class="row2"><input class="post" type="text" name="avatar_remote_width" size="3" value="{AVATAR_REMOTE_WIDTH}" /> <span class="gen">{L_PIXEL} &times; </span> <input class="post" type="text" name="avatar_remote_height" size="3" value="{AVATAR_REMOTE_HEIGHT}" /> <span class="gen">{L_PIXEL}</span></td>
+ <td class="row2"><input class="post" type="number" name="avatar_remote_width" min="{AVATAR_MIN_WIDTH}" max="{AVATAR_MAX_WIDTH}" value="{AVATAR_REMOTE_WIDTH}" /> <span class="gen">{L_PIXEL} &times; </span> <input class="post" type="number" name="avatar_remote_height" min="{AVATAR_MIN_HEIGHT}" max="{AVATAR_MAX_HEIGHT}" value="{AVATAR_REMOTE_HEIGHT}" /> <span class="gen">{L_PIXEL}</span></td>
</tr>
</table>