2024-08-24 18:23:27 +00:00
|
|
|
{{*
|
|
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*}}
|
2023-08-10 22:46:27 +00:00
|
|
|
<script>
|
|
|
|
$(document).ready(function () {
|
|
|
|
//$('.toggle-section-content + .toggle-section-content').hide();
|
|
|
|
$('.js-section-toggler').click(function () {
|
|
|
|
$('.toggle-section-content').hide();
|
|
|
|
$(this).parents('.toggle-section').find('.toggle-section-content').toggle();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2013-04-23 11:47:57 +00:00
|
|
|
|
2023-08-10 22:46:27 +00:00
|
|
|
<h1>{{$l10n.banner}}</h1>
|
2019-10-27 14:08:14 +00:00
|
|
|
|
2013-04-23 11:47:57 +00:00
|
|
|
<div id="profile-edit-links">
|
2020-01-14 03:22:50 +00:00
|
|
|
<ul>
|
2023-08-10 22:46:27 +00:00
|
|
|
<li><a class="btn" href="profile/{{$nickname}}/profile" id="profile-edit-view-link">{{$l10n.viewprof}}</a></li>
|
2020-01-14 03:22:50 +00:00
|
|
|
</ul>
|
2013-04-23 11:47:57 +00:00
|
|
|
</div>
|
|
|
|
<div id="profile-edit-links-end"></div>
|
|
|
|
|
2020-01-14 03:22:50 +00:00
|
|
|
<div id="profile-edit-wrapper">
|
2023-08-10 22:46:27 +00:00
|
|
|
<form enctype="multipart/form-data" action="settings/profile/photo" method="post">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token_photo}}">
|
2020-01-14 03:22:50 +00:00
|
|
|
|
2023-08-10 22:46:27 +00:00
|
|
|
<!-- Profile picture -->
|
|
|
|
<div class="toggle-section js-toggle-section">
|
|
|
|
<h2><a class="section-caption js-section-toggler" href="javascript:;">{{$l10n.picture_section}} »</a></h2>
|
|
|
|
<div class="js-section toggle-section-content hidden">
|
|
|
|
|
|
|
|
<div id="profile-photo-upload-wrapper">
|
|
|
|
<label id="profile-photo-upload-label" for="profile-photo-upload">{{$l10n.profile_photo}}:</label>
|
|
|
|
<input name="userfile" type="file" id="profile-photo-upload" size="48"/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="profile-edit-submit-wrapper">
|
|
|
|
<button type="submit" name="submit" class="profile-edit-submit-button">{{$l10n.submit}}</button>
|
|
|
|
</div>
|
|
|
|
<div class="profile-edit-submit-end"></div>
|
|
|
|
|
|
|
|
</div>
|
2020-01-14 03:22:50 +00:00
|
|
|
</div>
|
2023-08-10 22:46:27 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<form id="profile-edit-form" name="form1" action="" method="post">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
|
|
|
|
|
|
<!-- Basic information -->
|
|
|
|
<div class="toggle-section js-toggle-section">
|
|
|
|
<h2><a class="section-caption js-section-toggler" href="javascript:;">{{$l10n.personal_section}} »</a></h2>
|
|
|
|
<div class="js-section toggle-section-content hidden">
|
|
|
|
|
2023-08-10 23:05:02 +00:00
|
|
|
{{include file="field_input.tpl" field=$username}}
|
2023-08-10 22:46:27 +00:00
|
|
|
|
|
|
|
{{include file="field_textarea.tpl" field=$about}}
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$xmpp}}
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$matrix}}
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$homepage}}
|
|
|
|
|
|
|
|
<div id="profile-edit-dob-wrapper">
|
|
|
|
{{$dob nofilter}}
|
|
|
|
</div>
|
|
|
|
<div id="profile-edit-dob-end"></div>
|
|
|
|
|
|
|
|
{{$hide_friends nofilter}}
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$pub_keywords}}
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$prv_keywords}}
|
|
|
|
|
|
|
|
<div class="profile-edit-submit-wrapper">
|
|
|
|
<button type="submit" name="submit" class="profile-edit-submit-button">{{$l10n.submit}}</button>
|
|
|
|
</div>
|
|
|
|
<div class="profile-edit-submit-end"></div>
|
|
|
|
|
|
|
|
</div>
|
2020-01-18 15:43:28 +00:00
|
|
|
</div>
|
2023-08-10 22:46:27 +00:00
|
|
|
<!-- About you -->
|
|
|
|
<div class="toggle-section js-toggle-section">
|
|
|
|
<h2><a class="section-caption js-section-toggler" href="javascript:;">{{$l10n.location_section}} »</a></h2>
|
|
|
|
<div class="js-section toggle-section-content hidden">
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$address}}
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$locality}}
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$postal_code}}
|
|
|
|
|
|
|
|
<div id="profile-edit-country-name-wrapper">
|
|
|
|
<label id="profile-edit-country-name-label" for="profile-edit-country-name">{{$country_name.1}} </label>
|
|
|
|
<select name="country_name" id="profile-edit-country-name" onChange="Fill_States('{{$region.2}}');">
|
|
|
|
<option selected="selected">{{$country_name.2}}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div id="profile-edit-country-name-end"></div>
|
|
|
|
|
|
|
|
<div id="profile-edit-region-wrapper">
|
|
|
|
<label id="profile-edit-region-label" for="profile-edit-region">{{$region.1}} </label>
|
|
|
|
<select name="region" id="profile-edit-region" onChange="Update_Globals();">
|
|
|
|
<option selected="selected">{{$region.2}}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div id="profile-edit-region-end"></div>
|
|
|
|
|
|
|
|
<div class="profile-edit-submit-wrapper">
|
|
|
|
<button type="submit" name="submit" class="profile-edit-submit-button">{{$l10n.submit}}</button>
|
|
|
|
</div>
|
|
|
|
<div class="profile-edit-submit-end"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Interests -->
|
|
|
|
<div class="toggle-section js-toggle-section">
|
|
|
|
<h2><a class="section-caption js-section-toggler" href="javascript:;">{{$l10n.custom_fields_section}} »</a></h2>
|
|
|
|
<div class="js-section toggle-section-content hidden">
|
|
|
|
{{$custom_fields_description nofilter}}
|
|
|
|
<div id="profile-custom-fields">
|
|
|
|
{{foreach $custom_fields as $custom_field}}
|
|
|
|
{{include file="settings/profile/field/edit.tpl" profile_field=$custom_field}}
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
2020-01-14 03:22:50 +00:00
|
|
|
|
2023-08-10 22:46:27 +00:00
|
|
|
<div class="profile-edit-submit-wrapper">
|
|
|
|
<button type="submit" name="submit" class="profile-edit-submit-button">{{$l10n.submit}}</button>
|
|
|
|
</div>
|
|
|
|
<div class="profile-edit-submit-end"></div>
|
|
|
|
</div>
|
2020-01-14 03:22:50 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
Fill_Country('{{$country_name.2}}');
|
|
|
|
Fill_States('{{$region.2}}');
|
|
|
|
</script>
|