2018-06-09 17:29:25 +02:00
|
|
|
<?php include ('header.php'); ?>
|
|
|
|
<main id="main">
|
|
|
|
<?php include dirname(__FILE__).('/widgets/settings_header.php'); ?>
|
|
|
|
<div class="article_wrap">
|
|
|
|
<aside class="left_column">
|
|
|
|
<?php include dirname(__FILE__).('/widgets/side_current_user.php'); ?>
|
|
|
|
<?php include dirname(__FILE__).('/widgets/side_footer.php'); ?>
|
|
|
|
</aside>
|
|
|
|
<article class="center_column">
|
|
|
|
<header class="timeline_header">
|
|
|
|
<ul class="header_items">
|
2018-07-31 18:51:17 +02:00
|
|
|
<li class="item toots view"><?=_('Appearance settings')?></li>
|
2018-06-09 17:29:25 +02:00
|
|
|
</ul>
|
|
|
|
</header>
|
|
|
|
<div class="timeline">
|
2018-08-04 15:52:34 +02:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 18:51:17 +02:00
|
|
|
<h3><?=_('New posts streaming')?></h3>
|
2018-06-09 17:29:25 +02:00
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div class="post_streaming_wrap" style="float:left;width:50%;margin-top:8px;margin-bottom:-8px">
|
2018-06-09 17:29:25 +02:00
|
|
|
<div class="radiobox">
|
|
|
|
<input id="streaming-1" name="post_streaming" type="radio" value="auto">
|
2018-07-31 18:51:17 +02:00
|
|
|
<label for="streaming-1" class="radiotext"><?=_('Auto update')?></label>
|
2018-06-09 17:29:25 +02:00
|
|
|
</div>
|
|
|
|
<div class="radiobox">
|
|
|
|
<input id="streaming-2" name="post_streaming" type="radio" value="manual">
|
2018-07-31 18:51:17 +02:00
|
|
|
<label for="streaming-2" class="radiotext"><?=_('Manual update')?></label>
|
2018-06-09 17:29:25 +02:00
|
|
|
</div>
|
2018-09-03 17:04:14 +02:00
|
|
|
<div class="radiobox">
|
|
|
|
<input id="streaming-3" name="post_streaming" type="radio" value="ontop">
|
|
|
|
<label for="streaming-3" class="radiotext"><?=_('Only on top')?></label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
|
|
|
<h3><?=_('Enable dark theme')?></h3>
|
|
|
|
</div>
|
|
|
|
<div class="dark_theme_wrap" style="float:left;width:50%">
|
|
|
|
<div class="switch">
|
|
|
|
<input type="checkbox" id="setting_dark_theme" <?php if($_COOKIE['darktheme'] == "true") echo "checked='checked'" ?>>
|
|
|
|
<div class="switch-btn">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-06-09 17:29:25 +02:00
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 18:51:17 +02:00
|
|
|
<h3><?=_('Enable link previews')?></h3>
|
2018-06-09 17:29:25 +02:00
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div class="link_previews_wrap" style="float:left;width:50%">
|
2018-06-09 17:29:25 +02:00
|
|
|
<div class="switch">
|
|
|
|
<input type="checkbox" id="setting_link_previews">
|
|
|
|
<div class="switch-btn">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 18:51:17 +02:00
|
|
|
<h3><?=_('Desktop notifications')?></h3>
|
2018-06-09 17:29:25 +02:00
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div class="desktop_notifications_wrap" style="float:left;width:50%">
|
2018-06-09 17:29:25 +02:00
|
|
|
<div class="switch">
|
|
|
|
<input type="checkbox" id="setting_desktop_notifications">
|
|
|
|
<div class="switch-btn">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-14 15:37:55 +02:00
|
|
|
<!--<div id="service_worker_box" style="display:none">
|
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
|
|
|
<h3><?=_('Notifications when tab closed')?></h3>
|
|
|
|
</div>
|
|
|
|
<div class="service_worker_wrap" style="float:left;width:50%">
|
|
|
|
<div class="switch">
|
|
|
|
<input type="checkbox" id="setting_service_worker">
|
|
|
|
<div class="switch-btn">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>-->
|
2018-08-04 15:52:34 +02:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 18:51:17 +02:00
|
|
|
<h3><?=_('Show replies')?></h3>
|
2018-06-09 17:29:25 +02:00
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div class="show_replies_wrap" style="float:left;width:50%">
|
2018-06-09 17:29:25 +02:00
|
|
|
<div class="switch">
|
|
|
|
<input type="checkbox" id="setting_show_replies">
|
|
|
|
<div class="switch-btn">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 18:51:17 +02:00
|
|
|
<h3><?=_('Show all CW content')?></h3>
|
2018-07-25 17:31:54 +02:00
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div class="show_content_warning_wrap" style="float:left;width:50%">
|
2018-07-25 17:31:54 +02:00
|
|
|
<div class="switch">
|
|
|
|
<input type="checkbox" id="setting_show_content_warning">
|
|
|
|
<div class="switch-btn">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 18:51:17 +02:00
|
|
|
<h3><?=_('Show all NSFW content')?></h3>
|
2018-07-25 17:31:54 +02:00
|
|
|
</div>
|
2018-08-04 15:52:34 +02:00
|
|
|
<div class="show_nsfw_wrap" style="float:left;width:50%">
|
2018-07-25 17:31:54 +02:00
|
|
|
<div class="switch">
|
|
|
|
<input type="checkbox" id="setting_show_nsfw">
|
|
|
|
<div class="switch-btn">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-06-09 17:29:25 +02:00
|
|
|
<span style="visibility:hidden">-</span>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<script src="/assets/js/halcyon/halcyonSettings.js"></script>
|
|
|
|
<?php include ('footer.php'); ?>
|