[ Index ] |
|
Code source de LifeType 1.2.4 |
1 {include file="$admintemplatepath/header.template"} 2 {include file="$admintemplatepath/navigation.template" showOpt=userSettings title=$locale->tr("userSettings")} 3 4 <form name="userSettings" action="admin.php" method="post"> 5 <fieldset class="inputField"> 6 <legend>{$locale->tr("userSettings")}</legend> 7 {include file="$admintemplatepath/successmessage.template"} 8 {include file="$admintemplatepath/errormessage.template"} 9 <div style="float:left;width:73%;border-right:1px solid #DEDEDE;"> 10 <div class="field"> 11 <label for="userName">{$locale->tr("username")}</label> 12 <div class="formHelp">{$locale->tr("username_help")}</div> 13 <input type="text" class="readOnly" readonly="readonly" id="userName" value="{$user->getUsername()}" /> 14 </div> 15 16 <div class="field"> 17 <label for="userFullName">{$locale->tr("full_name")}</label> 18 <div class="formHelp">{$locale->tr("full_name_help")}</div> 19 <input type="text" name="userFullName" value="{$userFullName}" id="userFullName" /> 20 </div> 21 22 <div class="field"> 23 <label for="userSettingsPassword">{$locale->tr("password")}</label> 24 <div class="formHelp">{$locale->tr("password_help")}</div> 25 <input type="password" name="userSettingsPassword" value="{$userSettingsPassword}" id="userSettingsPassword" /> 26 {include file="$admintemplatepath/validate.template" field=userSettingsPassword message=$locale->tr("error_invalid_password")} 27 <br/> 28 <label for="confirmPassword">{$locale->tr("confirm_password")}</label><br/> 29 <input type="password" name="confirmPassword" value="" id="confirmPassword" /> 30 {include file="$admintemplatepath/validate.template" field=confirmPassword message=$locale->tr("error_passwords_dont_match")} 31 </div> 32 33 <div class="field"> 34 <label for="userEmail">{$locale->tr("email")}</label> 35 <span class="required">*</span> 36 <div class="formHelp">{$locale->tr("email_help")}</div> 37 <input type="text" name="userEmail" value="{$userEmail}" id="userEmail" /> 38 {include file="$admintemplatepath/validate.template" field=userEmail message=$locale->tr("error_incorrect_email_address")} 39 </div> 40 41 <div class="field"> 42 <label for="userAbout">{$locale->tr("bio")}</label> 43 <div class="formHelp">{$locale->tr("bio_help")}</div> 44 <textarea cols="60" rows="10" name="userAbout" id="userAbout">{$userAbout}</textarea> 45 </div> 46 </div> 47 48 <div style="width:20%;float:left;margin-left:18px;"> 49 <div class="field"> 50 <label for="userPictureId">{$locale->tr("picture")}</label> 51 <br/> 52 {if $user->hasPicture()} 53 {assign var=userPicture value=$user->getPicture()} 54 {assign var=imgInfo value=$userPicture->getMetadataReader()} 55 <img alt="Picture" src="{$userPicture->getPreviewLink()}" id="userPicture" style="display:block;margin-left:auto;margin-right:auto" /> 56 {else} 57 <img alt="Picture" src="imgs/no-user-picture.jpg" id="userPicture" style="display:block;margin-left:auto;margin-right:auto"/> 58 {/if} 59 <div class="formHelp">{$locale->tr("user_picture_help")}</div> 60 <a href="javascript:userPictureSelectWindow();">{$locale->tr("choose")}...</a> 61 | 62 <a href="javascript:resetUserPicture();">{$locale->tr("reset")}</a> 63 <input type="hidden" name="userPictureId" id="userPictureId" value="{$user->getPictureId()}" /> 64 </div> 65 </div> 66 </fieldset> 67 68 <div class="buttons"> 69 <input type="reset" name="reset" value="{$locale->tr("reset")}" /> 70 <input type="submit" name="Update" value="{$locale->tr("update")}"/> 71 <input type="hidden" name="op" value="updateUserSettings" /> 72 </div> 73 74 </form> 75 {include file="$admintemplatepath/footernavigation.template"} 76 {include file="$admintemplatepath/footer.template"}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |