You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
4.1 KiB
Smarty

10 years ago
<!-- IMPORT partials/account_menu.tpl -->
<div class="account">
<div class="row">
<div class="col-md-2">
10 years ago
<div class="account-picture-block text-center">
<img id="user-current-picture" class="user-profile-picture" src="{picture}" /><br /><br />
<a id="changePictureBtn" href="#" class="btn btn-default">[[user:change_picture]]</a>
10 years ago
<br/><br/>
<!-- IF !username:disableEdit -->
<a href="{config.relative_path}/user/{userslug}/edit/username" class="btn btn-default">[[user:change_username]]</a><br/><br/>
<!-- ENDIF !username:disableEdit -->
<a href="{config.relative_path}/user/{userslug}/edit/email" class="btn btn-default">[[user:change_email]]</a><br/><br/>
<a href="{config.relative_path}/user/{userslug}/edit/password" class="btn btn-default">[[user:change_password]]</a><br/><br/>
10 years ago
<!-- IF config.requireEmailConfirmation -->
<!-- IF email -->
<!-- IF isSelf -->
<a id="confirm-email" href="#" class="btn btn-warning <!-- IF email:confirmed -->hide<!-- ENDIF email:confirmed -->">[[user:confirm_email]]</a><br/><br/>
10 years ago
<!-- ENDIF isSelf -->
<!-- ENDIF email -->
<!-- ENDIF config.requireEmailConfirmation -->
<!-- IF config.allowAccountDelete -->
<!-- IF isSelf -->
<a id="deleteAccountBtn" href="#" class="btn btn-danger">[[user:delete_account]]</a><br/><br/>
<!-- ENDIF isSelf -->
<!-- ENDIF config.allowAccountDelete -->
10 years ago
</div>
</div>
<div class="col-md-5">
<div>
<form class='form-horizontal'>
<div class="control-group">
<label class="control-label" for="inputFullname">[[user:fullname]]</label>
<div class="controls">
<input class="form-control" type="text" id="inputFullname" placeholder="[[user:fullname]]" value="{fullname}">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputWebsite">[[user:website]]</label>
<div class="controls">
<input class="form-control" type="text" id="inputWebsite" placeholder="http://..." value="{website}">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputLocation">[[user:location]]</label>
<div class="controls">
<input class="form-control" type="text" id="inputLocation" placeholder="[[user:location]]" value="{location}">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputBirthday">[[user:birthday]]</label>
<div class="controls">
<input class="form-control" id="inputBirthday" value="{birthday}" placeholder="yyyy-mm-dd">
</div>
</div>
10 years ago
<div class="control-group">
<label class="control-label" for="inputAboutMe">[[user:aboutme]]</label> <small><label id="aboutMeCharCountLeft"></label></small>
<div class="controls">
<textarea class="form-control" id="inputAboutMe" rows="5">{aboutme}</textarea>
</div>
</div>
10 years ago
<!-- IF !disableSignatures -->
<div class="control-group">
<label class="control-label" for="inputSignature">[[user:signature]]</label> <small><label id="signatureCharCountLeft"></label></small>
<div class="controls">
<textarea class="form-control" id="inputSignature" rows="5">{signature}</textarea>
</div>
</div>
<!-- ENDIF !disableSignatures -->
<input type="hidden" id="inputUID" value="{uid}"><br />
<div class="form-actions">
<a id="submitBtn" href="#" class="btn btn-primary">[[global:save_changes]]</a>
</div>
</form>
</div>
<hr class="visible-xs visible-sm"/>
</div>
<div class="col-md-5">
<!-- IF sso.length -->
<label class="control-label">[[user:sso.title]]</label>
<div class="list-group">
<!-- BEGIN sso -->
<a class="list-group-item" href="{../url}" target="<!-- IF ../associated -->_blank<!-- ELSE -->_top<!-- ENDIF ../associated -->">
<!-- IF ../icon --><i class="fa {../icon}"></i><!-- ENDIF ../icon -->
<!-- IF ../associated -->[[user:sso.associated]]<!-- ELSE -->[[user:sso.not-associated]]<!-- ENDIF ../associated -->
{../name}
</a>
<!-- END sso -->
</div>
<!-- ENDIF sso.length -->
10 years ago
</div>
</div>
</div>