mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7068 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2716e9f7ff
commit
5a720f7fa1
2 changed files with 6 additions and 4 deletions
|
@ -490,7 +490,7 @@ class ucp_profile
|
|||
|
||||
case 'avatar':
|
||||
|
||||
$display_gallery = (isset($_POST['display_gallery'])) ? true : false;
|
||||
$display_gallery = request_var('display_gallery', '0');
|
||||
$avatar_select = basename(request_var('avatar_select', ''));
|
||||
$category = basename(request_var('category', ''));
|
||||
|
||||
|
@ -533,7 +533,9 @@ class ucp_profile
|
|||
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
|
||||
'AVATAR' => $avatar_img,
|
||||
'AVATAR_SIZE' => $config['avatar_filesize'],
|
||||
|
||||
|
||||
'U_GALLERY' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=profile&mode=avatar&display_gallery=1'),
|
||||
|
||||
'S_FORM_ENCTYPE' => ($can_upload) ? ' enctype="multipart/form-data"' : '',
|
||||
|
||||
'L_AVATAR_EXPLAIN' => sprintf($user->lang['AVATAR_EXPLAIN'], $config['avatar_max_width'], $config['avatar_max_height'], round($config['avatar_filesize'] / 1024)),)
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<!-- IF S_GALLERY_AVATAR -->
|
||||
<tr>
|
||||
<td class="row1" width="35%"><b class="genmed">{L_AVATAR_GALLERY}: </b></td>
|
||||
<td class="row2"><input class="btnlite" type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" /></td>
|
||||
<td class="row2"><strong><a href="{U_GALLERY}">{L_DISPLAY_GALLERY}</a></strong></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
|||
<th colspan="2">{L_AVATAR_GALLERY}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cat" colspan="2" align="center" valign="middle"><span class="genmed">{L_AVATAR_CATEGORY}: </span><select name="category">{S_CAT_OPTIONS}</select> <input class="btnlite" type="submit" value="{L_GO}" name="display_gallery" /></td>
|
||||
<td class="cat" colspan="2" align="center" valign="middle"><span class="genmed">{L_AVATAR_CATEGORY}: </span><select name="category">{S_CAT_OPTIONS}</select> <input class="btnlite" tabindex="0" type="submit" value="{L_GO}" name="display_gallery" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1" colspan="2" align="center">
|
||||
|
|
Loading…
Add table
Reference in a new issue