优化,新旧上传头像方式的切换

This commit is contained in:
Comsenz 2017-11-05 10:13:26 +08:00
parent 1dd7f105c9
commit 7b24341ec7
2 changed files with 5 additions and 1 deletions

View File

@ -954,6 +954,7 @@ $lang = array (
'setting_avatar_message' => '如果您还没有设置自己的头像,系统会显示为默认头像,您需要自己上传一张新照片来作为自己的个人头像 ',
'setting_my_new_avatar' => '设置我的新头像',
'setting_my_new_avatar_message' => '请选择一个新照片进行上传编辑。<br />头像保存后,您可能需要刷新一下本页面(按F5键),才能查看最新的头像效果 ',
'setting_my_new_avatar_old' => '如无法正常上传头像,请点此处切换为 Flash 方式上传',
'auto_keyword' => '自动获取',
'cancel_stick_blog' => '取消置顶日志',
'change_default_settings' => '更改默认配置',

View File

@ -34,10 +34,13 @@
<script type="text/javascript">document.write(AC_FL_RunContent('<!--{echo implode("','", $uc_avatarflash);}-->'));</script>
<!--{else}-->
<!--{template home/spacecp_avatar_body}-->
<!--{/if}-->
<!--{/if}-->
</td>
</tr>
</table>
<!--{if empty($_GET['old'])}-->
<a href="home.php?mod=spacecp&ac=avatar&old=1" class="xg1">{lang setting_my_new_avatar_old}</a>
<!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
</form>
<!--{hook/spacecp_avatar_bottom}-->