This commit is contained in:
Daisuke 2020-04-15 16:53:16 -05:00
parent 299c58692e
commit ab519513de
2 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@ a, .link {
}
body {
background-color: #2b475d;
background-color: #001935;
}
select{
@ -44,7 +44,7 @@ input[type="checkbox"]:checked+label {
}
.topbar {
background-color: #14243D;
background-color: #00152d;
}
.gotop {
@ -98,8 +98,8 @@ input[type="checkbox"]:checked+label {
}
.side_element {
background-color: #455f78;
box-shadow: 1px 1px 1px black;
background-color: rgba(255, 255, 255, 0.1);
/* box-shadow: 1px 1px 1px black; */
color: lightgray;
}

View File

@ -333,12 +333,12 @@ if ((!isset($thread[0]['id']) && !empty($thread)) || !is_array($thread)) {
}
}
if ((empty($elem['media_attachments']) && $post['media'] == "") || (!(empty($elem['media_attachments']) && $post['media'] == "") && $user_settings['attach'] == "off")) {
$post['template'] = themes("get","templates/textpost.txt");
}
else {
//if ((empty($elem['media_attachments']) && $post['media'] == "") || (!(empty($elem['media_attachments']) && $post['media'] == "") && $user_settings['attach'] == "off")) {
//$post['template'] = themes("get","templates/textpost.txt");
//}
//else {
$post['template'] = themes("get","templates/post.txt");
}
//}
foreach ($post as $key => $value) {
$post['template'] = str_replace(":$key:", $value, $post['template']);