Timeline bugfixes

This commit is contained in:
daisuke 2021-03-27 12:06:08 -06:00
parent 5b558b6df6
commit 984549035d
7 changed files with 22 additions and 8 deletions

View File

@ -97,7 +97,7 @@ input[type="checkbox"]:checked+label {
background-color: rgba(255, 255, 255, 0.25);
}
.side_element a {
.side_element a, .rt * {
color: lightgray;
}

View File

@ -174,6 +174,10 @@ aside {
position: relative;
}
.fw .topbutton {
width: 80px;
}
.topicon {
text-decoration: none;
display: inline;

View File

@ -85,6 +85,10 @@ textarea {
position:fixed; top:0px; left:0px;
}
.fw {
float:right;
}
.wrapper {
width: 100%;
clear: both;

View File

@ -7,9 +7,10 @@ include "../include/init.php";
include "../include/functions.php";
$message = "";
$instance = (isset($setting['lockedto']) ? $setting['lockedto'] : (isset($_POST['user']) ? $_POST['user'] : null));
if (!empty($instance)){
if (isset($_POST['user']) || isset($_GET['instance'])){
$instance = strtolower((isset($_POST['user']) ? htmlentities($_POST['user']) : htmlentities($_GET['instance'])));
$instance = strtolower($instance);
$check = json_decode(file_get_contents("https://$instance/api/v1/instance"),true);
if(is_null($check['title'])){

View File

@ -1,4 +1,4 @@
<?php ini_set('display_errors', 1); ini_set("log_errors", 1);
include "../settings.php"; include "../include/init.php"; include "../include/functions.php";
<?phpini_set('display_errors', 1);ini_set("log_errors", 1);
include "../settings.php";include "../include/init.php";include "../include/functions.php";
$cdata = parse_url($setting['url']);
unset($_COOKIE['token']); setcookie('token','',-1,$cdata['path'],$cdata['host']); setcookie('user_settings','',-1,$cdata['path'],$cdata['host']); /* unset ($user_settings['pleroma']); unset ($user_settings['acct']); unset ($user_settings['username']); unset ($user_settings['avatar']); unset ($user_settings['uid']); setrawcookie("user_settings",base64_encode(json_encode($user_settings)),time()+60*60*24*30,'/'); */ header('Location: '.$setting['url']);
unset($_COOKIE['token']); setcookie('token','',-1,$cdata['path'],$cdata['host']); header('Location: '.$setting['url']);

View File

@ -261,6 +261,11 @@ input[type="submit"]:hover {
border-right: 6px solid #edf3fe;
box-shadow: 0 0 10px rgba(237,243,254,1) inset;
}
.element_pad > .post {
border-left:4px solid #ff6300;
}
/*
.postform,.searchmobile {
background-color: #eeaa88;

View File

@ -295,7 +295,7 @@ button,.postform input[type="submit"],.reply input[type="submit"] {
border-radius:0px !important;
}
.notif *{
.notif a, .notif span{
color:white;
}