2018-06-09 16:29:25 +01: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 17:51:17 +01:00
|
|
|
<li class="item toots view"><?=_('General settings')?></li>
|
2018-06-09 16:29:25 +01:00
|
|
|
</ul>
|
|
|
|
</header>
|
|
|
|
<div class="timeline">
|
2018-08-04 14:52:34 +01:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
|
|
|
<h3><?=_('Language')?></h3>
|
|
|
|
</div>
|
|
|
|
<div class="language_wrap" style="float:left;width:50%">
|
|
|
|
<select name="language" class="selectbox">
|
|
|
|
<?php
|
|
|
|
$languages = scandir("locale");
|
|
|
|
for($i=0;$i<count($languages);$i++) {
|
|
|
|
if($languages[$i] != "." && $languages[$i] != "..") {
|
|
|
|
$selected = "";
|
|
|
|
if($languages[$i] == $locale) {
|
|
|
|
$selected = " selected";
|
|
|
|
}
|
|
|
|
echo "<option value='".$languages[$i]."'".$selected.">"._('Language_'.$languages[$i])."</option>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 17:51:17 +01:00
|
|
|
<h3><?=_('Default post privacy')?></h3>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
2018-08-04 14:52:34 +01:00
|
|
|
<div class="post_privacy_wrap" style="float:left;width:50%;margin-top:8px;margin-bottom:-8px">
|
2018-06-09 16:29:25 +01:00
|
|
|
<div class="radiobox">
|
|
|
|
<input id="privacy-1" name="post_privacy" type="radio" value="public">
|
2018-07-31 17:51:17 +01:00
|
|
|
<label for="privacy-1" class="radiotext"><?=_('Public')?></label>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
|
|
|
<div class="radiobox">
|
|
|
|
<input id="privacy-2" name="post_privacy" type="radio" value="unlisted">
|
2018-07-31 17:51:17 +01:00
|
|
|
<label for="privacy-2" class="radiotext"><?=_('Unlisted')?></label>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
|
|
|
<div class="radiobox">
|
|
|
|
<input id="privacy-3" name="post_privacy" type="radio" value="private">
|
2018-07-31 17:51:17 +01:00
|
|
|
<label for="privacy-3" class="radiotext"><?=_('Followers-only')?></label>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
|
|
|
<div class="radiobox">
|
|
|
|
<input id="privacy-4" name="post_privacy" type="radio" value="direct">
|
2018-07-31 17:51:17 +01:00
|
|
|
<label for="privacy-4" class="radiotext"><?=_('Direct')?></label>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-04 14:52:34 +01:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 17:51:17 +01:00
|
|
|
<h3><?=_('Mark as NSFW by default')?></h3>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
2018-08-04 14:52:34 +01:00
|
|
|
<div class="post_sensitive_wrap" style="float:left;width:50%">
|
2018-06-09 16:29:25 +01:00
|
|
|
<div class="switch">
|
|
|
|
<input type="checkbox" id="setting_post_sensitive">
|
|
|
|
<div class="switch-btn">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-04 14:52:34 +01:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 17:51:17 +01:00
|
|
|
<h3><?=_('Local instance')?></h3>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
2018-08-04 14:52:34 +01:00
|
|
|
<div class="local_instance_wrap" style="float:left;width:50%">
|
2018-06-09 16:29:25 +01:00
|
|
|
<input name="local_instance" placeholder="default" type="text" class="disallow_enter textfield" id="setting_local_instance">
|
|
|
|
</div>
|
2018-08-04 14:52:34 +01:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 17:51:17 +01:00
|
|
|
<h3><?=_('Hashtag search filter')?></h3>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
2018-08-04 14:52:34 +01:00
|
|
|
<div class="search_filter_wrap" style="float:left;width:50%;margin-top:8px;margin-bottom:-8px">
|
2018-06-09 16:29:25 +01:00
|
|
|
<div class="radiobox">
|
|
|
|
<input id="locinstance-1" name="search_filter" type="radio" value="all">
|
2018-07-31 17:51:17 +01:00
|
|
|
<label for="locinstance-1" class="radiotext"><?=_('All instances')?></label>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
|
|
|
<div class="radiobox">
|
|
|
|
<input id="locinstance-2" name="search_filter" type="radio" value="local">
|
2018-07-31 17:51:17 +01:00
|
|
|
<label for="locinstance-2" class="radiotext"><?=_('Local only')?></label>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-04 14:52:34 +01:00
|
|
|
<div style="float:left;width:50%;text-align:right;margin-top:16px">
|
2018-07-31 17:51:17 +01:00
|
|
|
<h3><?=_('Who to follow')?></h3>
|
2018-06-09 16:29:25 +01:00
|
|
|
</div>
|
2018-08-04 14:52:34 +01:00
|
|
|
<div class="who_to_follow_wrap" style="float:left;width:50%">
|
2018-06-09 16:29:25 +01:00
|
|
|
<div class="switch">
|
|
|
|
<input type="checkbox" id="setting_who_to_follow">
|
|
|
|
<div class="switch-btn">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span style="visibility:hidden">-</span>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<script src="/assets/js/halcyon/halcyonSettings.js"></script>
|
|
|
|
<?php include ('footer.php'); ?>
|