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
|
|
|
|
*}}
|
2016-06-13 08:57:42 +00:00
|
|
|
<div class="generic-page-wrapper">
|
2020-04-01 22:39:40 +00:00
|
|
|
<h1>{{$ptitle}}</h1>
|
2021-05-19 21:47:15 +00:00
|
|
|
<form action="settings/display" id="settings-form" method="post" autocomplete="off">
|
2020-04-01 22:39:40 +00:00
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
2016-06-13 08:57:42 +00:00
|
|
|
|
|
|
|
<div class="panel-group panel-group-settings" id="settings" role="tablist" aria-multiselectable="true">
|
|
|
|
<div class="panel">
|
2020-04-01 22:39:40 +00:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="theme-settings-title">
|
|
|
|
<h2>
|
2021-11-20 07:16:30 +00:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#theme-settings-content" aria-expanded="true" aria-controls="theme-settings-content">
|
2016-06-13 08:57:42 +00:00
|
|
|
{{$d_tset}}
|
2021-11-20 07:16:30 +00:00
|
|
|
</button>
|
2020-04-01 22:39:40 +00:00
|
|
|
</h2>
|
2016-06-13 08:57:42 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="theme-settings-content" class="panel-collapse collapse" role="tabpanel" aria-labelledby="theme-settings">
|
2020-04-01 22:39:40 +00:00
|
|
|
<div class="panel-body">
|
2016-06-13 08:57:42 +00:00
|
|
|
{{include file="field_themeselect.tpl" field=$theme}}
|
|
|
|
|
2017-01-05 01:52:39 +00:00
|
|
|
{{* Show the mobile theme selection only if mobile themes are available *}}
|
|
|
|
{{if count($mobile_theme.4) > 1}}
|
2016-06-13 08:57:42 +00:00
|
|
|
{{include file="field_themeselect.tpl" field=$mobile_theme}}
|
2017-01-05 01:52:39 +00:00
|
|
|
{{/if}}
|
2020-04-01 22:39:40 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
|
|
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
2016-06-13 08:57:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel">
|
2020-04-01 22:39:40 +00:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="custom-settings-title">
|
|
|
|
<h2>
|
2021-11-20 07:16:30 +00:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#custom-settings-content" aria-expanded="false" aria-controls="custom-settings-content">
|
2016-06-13 08:57:42 +00:00
|
|
|
{{$d_ctset}}
|
2021-11-20 07:16:30 +00:00
|
|
|
</button>
|
2020-04-01 22:39:40 +00:00
|
|
|
</h2>
|
2016-06-13 08:57:42 +00:00
|
|
|
</div>
|
|
|
|
<div id="custom-settings-content" class="panel-collapse collapse{{if !$theme && !$mobile_theme}} in{{/if}}" role="tabpanel" aria-labelledby="custom-settings">
|
2020-04-01 22:39:40 +00:00
|
|
|
<div class="panel-body">
|
2016-06-13 08:57:42 +00:00
|
|
|
|
2018-12-14 03:35:51 +00:00
|
|
|
{{if $theme_config}}
|
|
|
|
{{$theme_config nofilter}}
|
|
|
|
{{/if}}
|
2016-06-13 08:57:42 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel">
|
2020-04-01 22:39:40 +00:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="content-settings-title">
|
|
|
|
<h2>
|
2021-11-20 07:16:30 +00:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#content-settings-content" aria-expanded="false" aria-controls="content-settings-content">
|
2016-06-13 08:57:42 +00:00
|
|
|
{{$d_cset}}
|
2021-11-20 07:16:30 +00:00
|
|
|
</button>
|
2020-04-01 22:39:40 +00:00
|
|
|
</h2>
|
2016-06-13 08:57:42 +00:00
|
|
|
</div>
|
|
|
|
<div id="content-settings-content" class="panel-collapse collapse{{if !$theme && !$mobile_theme && !$theme_config}} in{{/if}}" role="tabpanel" aria-labelledby="content-settings">
|
2020-04-01 22:39:40 +00:00
|
|
|
<div class="panel-body">
|
2016-06-13 08:57:42 +00:00
|
|
|
{{include file="field_input.tpl" field=$itemspage_network}}
|
|
|
|
{{include file="field_input.tpl" field=$itemspage_mobile_network}}
|
|
|
|
{{include file="field_input.tpl" field=$ajaxint}}
|
2021-09-01 18:29:45 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$enable_smile}}
|
2016-06-13 08:57:42 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$infinite_scroll}}
|
2021-09-01 18:29:45 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$enable_smart_threading}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$enable_dislike}}
|
2020-08-26 12:33:17 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$display_resharer}}
|
2020-09-30 17:30:26 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$stay_local}}
|
2023-11-15 21:55:54 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$show_page_drop}}
|
2023-11-25 14:57:24 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$display_eventlist}}
|
2022-12-07 07:02:04 +00:00
|
|
|
{{include file="field_select.tpl" field=$preview_mode}}
|
2024-10-18 19:00:13 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$hide_empty_descriptions}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$hide_custom_emojis}}
|
2020-04-01 22:39:40 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
|
|
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
2023-09-03 12:54:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-09-09 17:38:09 +00:00
|
|
|
<div class="panel">
|
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="timeline-settings-title">
|
|
|
|
<h2>
|
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#timeline-settings-content" aria-expanded="false" aria-controls="timeline-settings-content">
|
|
|
|
{{$timeline_title}}
|
|
|
|
</button>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div id="timeline-settings-content" class="panel-collapse collapse{{if !$theme && !$mobile_theme && !$theme_config}} in{{/if}}" role="tabpanel" aria-labelledby="timeline-settings">
|
|
|
|
<div class="panel-body">
|
2023-09-21 20:43:14 +00:00
|
|
|
{{$timeline_explanation}}
|
|
|
|
<table class="table table-condensed table-striped table-bordered">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{$timeline_label}}</th>
|
|
|
|
<th>{{$timeline_descriptiom}}</th>
|
|
|
|
<th>{{$timeline_enable}}</th>
|
|
|
|
<th>{{$timeline_bookmark}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{foreach $timelines as $t}}
|
|
|
|
<tr>
|
|
|
|
<td>{{$t.label}}</td>
|
|
|
|
<td>{{$t.description}}</td>
|
|
|
|
<td>{{include file="field_checkbox.tpl" field=$t.enable}}</td>
|
|
|
|
<td>{{include file="field_checkbox.tpl" field=$t.bookmark}}</td>
|
|
|
|
</tr>
|
|
|
|
{{/foreach}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2023-09-09 17:38:09 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
|
|
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-09-03 12:54:25 +00:00
|
|
|
<div class="panel">
|
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="channel-settings-title">
|
|
|
|
<h2>
|
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#channel-settings-content" aria-expanded="false" aria-controls="channel-settings-content">
|
|
|
|
{{$channel_title}}
|
|
|
|
</button>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div id="channel-settings-content" class="panel-collapse collapse{{if !$theme && !$mobile_theme && !$theme_config}} in{{/if}}" role="tabpanel" aria-labelledby="channel-settings">
|
|
|
|
<div class="panel-body">
|
|
|
|
{{include file="field_select.tpl" field=$channel_languages}}
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
|
|
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
2016-06-13 08:57:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel">
|
2020-04-01 22:39:40 +00:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="calendar-settings-title">
|
|
|
|
<h2>
|
2021-11-20 07:16:30 +00:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#calendar-settings-content" aria-expanded="false" aria-controls="calendar-settings-content">
|
2018-12-14 03:28:12 +00:00
|
|
|
{{$calendar_title}}
|
2021-11-20 07:16:30 +00:00
|
|
|
</button>
|
2020-04-01 22:39:40 +00:00
|
|
|
</h2>
|
2016-06-13 08:57:42 +00:00
|
|
|
</div>
|
|
|
|
<div id="calendar-settings-content" class="panel-collapse collapse{{if !$theme && !$mobile_theme && !$theme_config}} in{{/if}}" role="tabpanel" aria-labelledby="calendar-settings">
|
2020-04-01 22:39:40 +00:00
|
|
|
<div class="panel-body">
|
2016-06-13 08:57:42 +00:00
|
|
|
{{include file="field_select.tpl" field=$first_day_of_week}}
|
2022-12-17 07:13:33 +00:00
|
|
|
{{include file="field_select.tpl" field=$calendar_default_view}}
|
2020-04-01 22:39:40 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
|
|
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
2016-06-13 08:57:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|