2013-04-23 13:47:57 +02:00
|
|
|
<h1>{{$ptitle}}</h1>
|
|
|
|
|
2022-04-24 07:21:15 +02:00
|
|
|
<div id="settings-nick-wrapper">
|
|
|
|
<div id="settings-nickname-desc" class="info-message">{{$desc nofilter}}</div>
|
|
|
|
</div>
|
|
|
|
<div id="settings-nick-end"></div>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
2022-04-24 07:21:15 +02:00
|
|
|
<div id="settings-form">
|
2020-04-01 03:38:56 +02:00
|
|
|
<h2 class="settings-heading"><a href="javascript:;">{{$h_pass}}</a></h2>
|
2022-04-24 07:21:15 +02:00
|
|
|
<form class="settings-content-block" action="settings" method="post" autocomplete="off" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
2020-04-01 03:38:56 +02:00
|
|
|
{{include file="field_password.tpl" field=$password1}}
|
|
|
|
{{include file="field_password.tpl" field=$password2}}
|
|
|
|
{{include file="field_password.tpl" field=$password3}}
|
|
|
|
|
|
|
|
<div class="settings-submit-wrapper">
|
2022-04-24 07:21:15 +02:00
|
|
|
<input type="submit" name="password-submit" class="settings-submit" value="{{$submit}}"/>
|
2020-04-01 03:38:56 +02:00
|
|
|
</div>
|
2022-04-24 07:21:15 +02:00
|
|
|
</form>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<h2 class="settings-heading"><a href="javascript:;">{{$h_basic}}</a></h2>
|
2022-04-24 07:21:15 +02:00
|
|
|
<form class="settings-content-block" action="settings" method="post" autocomplete="off" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
2020-04-01 03:38:56 +02:00
|
|
|
{{include file="field_input.tpl" field=$username}}
|
|
|
|
{{include file="field_input.tpl" field=$email}}
|
|
|
|
{{include file="field_password.tpl" field=$password4}}
|
2022-04-24 07:21:15 +02:00
|
|
|
|
|
|
|
{{if $oid_enable}}
|
|
|
|
{{include file="field_input.tpl" field=$openid}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$delete_openid}}
|
|
|
|
{{/if}}
|
|
|
|
|
2020-04-01 03:38:56 +02:00
|
|
|
{{include file="field_custom.tpl" field=$timezone}}
|
|
|
|
{{include file="field_select.tpl" field=$language}}
|
2022-04-24 07:21:15 +02:00
|
|
|
{{include file="field_input.tpl" field=$default_location}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$allow_location}}
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<div class="settings-submit-wrapper">
|
2022-04-24 07:21:15 +02:00
|
|
|
<input type="submit" name="basic-submit" class="settings-submit" value="{{$submit}}"/>
|
2020-04-01 03:38:56 +02:00
|
|
|
</div>
|
2022-04-24 07:21:15 +02:00
|
|
|
</form>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<h2 class="settings-heading"><a href="javascript:;">{{$h_prv}}</a></h2>
|
2022-04-24 07:21:15 +02:00
|
|
|
<form class="settings-content-block" action="settings" method="post" autocomplete="off" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
2020-04-01 03:38:56 +02:00
|
|
|
{{include file="field_input.tpl" field=$maxreq}}
|
|
|
|
|
|
|
|
{{$profile_in_dir nofilter}}
|
|
|
|
|
|
|
|
{{include file="field_checkbox.tpl" field=$profile_in_net_dir}}
|
2022-02-16 23:56:55 +01:00
|
|
|
{{if not $is_community}}{{include file="field_checkbox.tpl" field=$hide_friends}}{{/if}}
|
2020-04-01 03:38:56 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$hide_wall}}
|
2022-02-16 23:56:55 +01:00
|
|
|
{{if not $is_community}}{{include file="field_checkbox.tpl" field=$unlisted}}{{/if}}
|
2020-04-01 03:38:56 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$accessiblephotos}}
|
2022-02-16 23:56:55 +01:00
|
|
|
{{if not $is_community}}
|
2020-04-01 03:38:56 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$blockwall}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$blocktags}}
|
2022-02-16 23:56:55 +01:00
|
|
|
{{/if}}
|
2020-04-01 03:38:56 +02:00
|
|
|
|
2023-05-14 01:54:35 +02:00
|
|
|
{{$circle_select nofilter}}
|
2023-06-25 22:37:11 +02:00
|
|
|
{{$circle_select_group nofilter}}
|
2022-02-16 23:56:55 +01:00
|
|
|
{{if not $is_community}}
|
2020-04-01 03:38:56 +02:00
|
|
|
<h3>{{$permissions}}</h3>
|
|
|
|
|
|
|
|
{{$aclselect nofilter}}
|
2022-02-16 23:56:55 +01:00
|
|
|
{{/if}}
|
2020-04-01 03:38:56 +02:00
|
|
|
<div class="settings-submit-wrapper">
|
2022-04-24 07:21:15 +02:00
|
|
|
<input type="submit" name="privacy-submit" class="settings-submit" value="{{$submit}}"/>
|
2020-04-01 03:38:56 +02:00
|
|
|
</div>
|
2022-04-24 07:21:15 +02:00
|
|
|
</form>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<h2 class="settings-heading"><a href="javascript:;">{{$expire.label}}</a></h2>
|
2022-04-24 07:21:15 +02:00
|
|
|
<form class="settings-content-block" action="settings" method="post" autocomplete="off" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
2020-04-01 03:38:56 +02:00
|
|
|
<div id="settings-expiry">
|
|
|
|
{{include file="field_input.tpl" field=$expire.days}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$expire.items}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$expire.notes}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$expire.starred}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$expire.network_only}}
|
|
|
|
|
|
|
|
<div class="settings-submit-wrapper">
|
2022-04-24 07:21:15 +02:00
|
|
|
<input type="submit" name="expire-submit" class="settings-submit" value="{{$submit}}"/>
|
2020-04-01 03:38:56 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-24 07:21:15 +02:00
|
|
|
</form>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<h2 class="settings-heading"><a href="javascript:;">{{$h_not}}</a></h2>
|
2022-04-24 07:21:15 +02:00
|
|
|
<form class="settings-content-block" action="settings" method="post" autocomplete="off" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
2020-04-01 03:38:56 +02:00
|
|
|
<div id="settings-notifications">
|
|
|
|
|
|
|
|
<div id="settings-notification-desc">{{$lbl_not}}</div>
|
|
|
|
|
|
|
|
<div class="group">
|
|
|
|
{{include file="field_intcheckbox.tpl" field=$notify1}}
|
|
|
|
{{include file="field_intcheckbox.tpl" field=$notify2}}
|
|
|
|
{{include file="field_intcheckbox.tpl" field=$notify3}}
|
|
|
|
{{include file="field_intcheckbox.tpl" field=$notify4}}
|
|
|
|
{{include file="field_intcheckbox.tpl" field=$notify5}}
|
|
|
|
{{include file="field_intcheckbox.tpl" field=$notify6}}
|
|
|
|
{{include file="field_intcheckbox.tpl" field=$notify7}}
|
|
|
|
</div>
|
|
|
|
|
2021-08-21 22:35:04 +02:00
|
|
|
<div id="settings-notify-desc">{{$lbl_notify}}</div>
|
|
|
|
|
|
|
|
<div class="group">
|
2022-06-05 13:41:08 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$notify_tagged}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$notify_direct_comment}}
|
2022-06-05 23:19:21 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$notify_like}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$notify_announce}}
|
2022-06-05 13:41:08 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$notify_thread_comment}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$notify_comment_participation}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$notify_activity_participation}}
|
2021-08-21 22:35:04 +02:00
|
|
|
</div>
|
|
|
|
|
2020-04-01 03:38:56 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$email_textonly}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$detailed_notif}}
|
|
|
|
|
2021-01-24 12:40:09 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$notify_ignored}}
|
|
|
|
|
2020-04-01 03:38:56 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$desktop_notifications}}
|
|
|
|
<script>
|
|
|
|
(function () {
|
|
|
|
let $notificationField = $("#div_id_{{$desktop_notifications.0}}");
|
|
|
|
let $notificationCheckbox = $("#id_{{$desktop_notifications.0}}");
|
|
|
|
|
|
|
|
if (getNotificationPermission() === 'granted') {
|
|
|
|
$notificationCheckbox.prop('checked', true);
|
|
|
|
}
|
|
|
|
if (getNotificationPermission() === null) {
|
|
|
|
$notificationField.hide();
|
|
|
|
}
|
|
|
|
|
|
|
|
$notificationCheckbox.on('change', function (e) {
|
|
|
|
if (Notification.permission === 'granted') {
|
|
|
|
localStorage.setItem('notification-permissions', $notificationCheckbox.prop('checked') ? 'granted' : 'denied');
|
|
|
|
} else if (Notification.permission === 'denied') {
|
|
|
|
localStorage.setItem('notification-permissions', 'denied');
|
|
|
|
|
|
|
|
$notificationCheckbox.prop('checked', false);
|
|
|
|
} else if (Notification.permission === 'default') {
|
|
|
|
Notification.requestPermission(function (choice) {
|
|
|
|
if (choice === 'granted') {
|
|
|
|
localStorage.setItem('notification-permissions', $notificationCheckbox.prop('checked') ? 'granted' : 'denied');
|
|
|
|
} else {
|
|
|
|
localStorage.setItem('notification-permissions', 'denied');
|
|
|
|
$notificationCheckbox.prop('checked', false);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="settings-submit-wrapper">
|
2022-04-24 07:21:15 +02:00
|
|
|
<input type="submit" name="notification-submit" class="settings-submit" value="{{$submit}}"/>
|
2020-04-01 03:38:56 +02:00
|
|
|
</div>
|
2022-04-24 07:21:15 +02:00
|
|
|
</form>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<h2 class="settings-heading"><a href="javascript:;">{{$h_advn}}</a></h2>
|
2022-04-24 07:21:15 +02:00
|
|
|
<form class="settings-content-block" action="settings" method="post" autocomplete="off" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
|
|
<p id="settings-advanced-desc">{{$h_descadvn}}</p>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
{{$pagetype nofilter}}
|
|
|
|
|
|
|
|
<div class="settings-submit-wrapper">
|
2022-04-24 07:21:15 +02:00
|
|
|
<input type="submit" name="advanced-submit" class="settings-submit" value="{{$submit}}"/>
|
2020-04-01 03:38:56 +02:00
|
|
|
</div>
|
2022-04-24 07:21:15 +02:00
|
|
|
</form>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<h2 class="settings-heading"><a href="javascript:;">{{$importcontact}}</a></h2>
|
2022-04-24 07:21:15 +02:00
|
|
|
<form class="settings-content-block" action="settings" method="post" autocomplete="off" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
2020-04-01 03:38:56 +02:00
|
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="{{$importcontact_maxsize}}"/>
|
2022-04-24 07:21:15 +02:00
|
|
|
<p id="settings-pagetype-desc">{{$importcontact_text}}</p>
|
|
|
|
<p><input type="file" name="importcontact-filename"/></p>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<div class="settings-submit-wrapper">
|
|
|
|
<input type="submit" name="importcontact-submit" class="importcontact-submit" value="{{$importcontact_button}}"/>
|
|
|
|
</div>
|
2022-04-24 07:21:15 +02:00
|
|
|
</form>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<h2 class="settings-heading"><a href="javascript:;">{{$relocate}}</a></h2>
|
2022-04-24 07:21:15 +02:00
|
|
|
<form class="settings-content-block" action="settings" method="post" autocomplete="off" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
|
|
<p id="settings-pagetype-desc">{{$relocate_text}}</p>
|
2020-04-01 03:38:56 +02:00
|
|
|
|
|
|
|
<div class="settings-submit-wrapper">
|
2022-04-24 07:21:15 +02:00
|
|
|
<input type="submit" name="relocate-submit" class="settings-submit" value="{{$relocate_button}}"/>
|
2020-04-01 03:38:56 +02:00
|
|
|
</div>
|
2022-04-24 07:21:15 +02:00
|
|
|
</form>
|
2023-05-14 01:54:35 +02:00
|
|
|
</div>
|