52 lines
2.1 KiB
Smarty
52 lines
2.1 KiB
Smarty
|
|
{include file='header.tpl'}
|
||
|
|
{* $Id: user_editprofile_photo.tpl 130 2009-03-21 23:36:57Z john $ *}
|
||
|
|
|
||
|
|
<table class='tabs' cellpadding='0' cellspacing='0'>
|
||
|
|
<tr>
|
||
|
|
<td class='tab0'> </td>
|
||
|
|
{section name=cat_loop loop=$cats}
|
||
|
|
<td class='tab2' NOWRAP><a href='user_editprofile.php?cat_id={$cats[cat_loop].subcat_id}'>{lang_print id=$cats[cat_loop].subcat_title}</a></td><td class='tab'> </td>
|
||
|
|
{/section}
|
||
|
|
{if $user->level_info.level_photo_allow != 0}<td class='tab1' NOWRAP><a href='user_editprofile_photo.php'>{lang_print id=762}</a></td><td class='tab'> </td>{/if}
|
||
|
|
{if $user->level_info.level_profile_style != 0 || $user->level_info.level_profile_style_sample != 0}<td class='tab2' NOWRAP><a href='user_editprofile_style.php'>{lang_print id=763}</a></td>{/if}
|
||
|
|
<td class='tab3'> </td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
|
||
|
|
<!--<img src='./images/icons/editprofile48.gif' border='0' class='icon_big' />-->
|
||
|
|
<div class='page_header'><span style="font-size:20pt; font-weight:bold;text-transform:uppercase;">Edit Profile Photo</span></div>
|
||
|
|
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
|
||
|
|
|
||
|
|
{* SHOW ERROR MESSAGE *}
|
||
|
|
{if $is_error != 0}
|
||
|
|
<div class='center'>
|
||
|
|
<table cellpadding='0' cellspacing='0'>
|
||
|
|
<tr>
|
||
|
|
<td class='result'>
|
||
|
|
<div class='error'>
|
||
|
|
<img src='./images/error.gif' class='icon' border='0' />
|
||
|
|
{lang_print id=$is_error}
|
||
|
|
</div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<br />
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
|
||
|
|
{* SHOW PHOTO ON LEFT AND UPLOAD FIELD ON RIGHT *}
|
||
|
|
<div class="center"><img id="userEditPhotoImg" src='{$user->user_photo("./images/nophoto.png")}' border='0' />
|
||
|
|
|
||
|
|
{* SHOW REMOVE PHOTO LINK IF NECESSARY *}
|
||
|
|
{if $user->user_photo() != ""}
|
||
|
|
<div id="userEditRemovePhotoLink">[ <a href='javascript:void(0);' onclick='SocialEngine.Viewer.userPhotoRemove(); return false;'>{lang_print id=771}</a> ]</div>
|
||
|
|
{/if}<br />
|
||
|
|
{include file='user_upload.tpl' action='user_editprofile_photo.php?task=upload' session_id=$session_id upload_token=$upload_token show_uploader=$show_uploader inputs=$inputs file_result=$file_result max_files=1 }
|
||
|
|
|
||
|
|
<div>{lang_print id=715} {$user->level_info.level_photo_exts}</div>
|
||
|
|
</div>
|
||
|
|
{include file='footer.tpl'}
|