Files
Testing/templates/user_editprofile_photo.tpl
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

66 lines
3.5 KiB
Smarty

{include file='header.tpl'}
{* $Id: user_editprofile_photo.tpl 130 2009-03-21 23:36:57Z john $ *}
<ul class="nav nav-tabs hidden-xs hidden-sm visible-md visible-lg form-tabs" style="border-bottom:2px solid black;">
{section name=cat_loop loop=$cats}
<li role="presentation" class="jquerycss"><a href='user_editprofile.php?cat_id={$cats[cat_loop].subcat_id}' class="jquerycss">{lang_print id=$cats[cat_loop].subcat_title}</a></li>
<!--<td class='tab{if $cats[cat_loop].subcat_id == $cat_id}1{else}2{/if}' NOWRAP><a href='user_editprofile.php?cat_id={$cats[cat_loop].subcat_id}'>{lang_print id=$cats[cat_loop].subcat_title}</a></td>-->
{if $cats[cat_loop].subcat_id == $cat_id}{capture assign='pagename'}{lang_print id=$cats[cat_loop].subcat_title}{/capture}{/if}
{/section}
{if $user->level_info.level_photo_allow != 0}<li role="presentation" " class="jquerycss active"><a href='user_editprofile_photo.php' class="jquerycss">{lang_print id=762}</a></li>{/if}
{if $user->level_info.level_profile_style != 0 || $user->level_info.level_profile_style_sample != 0}<li role="presentation" " class="jquerycss"><a href='user_editprofile_style.php' class="jquerycss">{lang_print id=763}</a></li>{/if}
</ul>
<div class="visible-xs visible-sm hidden-md hidden-lg">Select Tab:<br>
<select class="mb10 form-control form-custom visible-xs visible-sm hidden-md hidden-lg tabdropdown" id="tab_selector" onchange="window.location.href=this.value">
{section name=cat_loop loop=$cats}
<option value="user_group_edit.php?group_id=2022" >Group Details</option>
{/section}
{if $user->level_info.level_photo_allow != 0}<option value="user_editprofile_photo.php" selected="selected">{lang_print id=762}</option>{/if}
{if $user->level_info.level_profile_style != 0 || $user->level_info.level_profile_style_sample != 0}<option value="user_editprofile_style.php">{lang_print id=763}</option>{/if}
</select>
</div>
<br>
<br>
<!--<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")}' class="img-responsive center-block" 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>To add a profile photo please upload it to an album and select it as your profile photo.</div>
</div>
{include file='footer.tpl'}