More design work and bugfixes

This commit is contained in:
genuineparts 2025-06-17 21:55:44 +02:00
parent 3a10acd9d6
commit b6704ccee4
17 changed files with 244 additions and 143 deletions

View file

@ -251,7 +251,9 @@ class Core{
}
$tpl->assign('messagetitle', $title);
if($redirect && $url!=''){
$url = '//'.$config['domain'].$config['path'].$url;
if(substr( $url, 0, 4 ) != "http") {
$url = '//'.$config['domain'].$config['path'].$url;
}
$meta.='<meta http-equiv="refresh" content="'.$time.';URL='.$url.'" />';
}
$this->make_page($tpl->fetch('message.tpl'),$minimal);
@ -454,8 +456,7 @@ class Core{
$this->log->write('Modul '.$task.' not found!',2);
return $error->http_error('404');
}
}
$this->make_page($content);
}

View file

@ -1,141 +1,140 @@
#calendarDiv{
position:absolute;
width:205px;
line-height: 10px;
border:1px solid #317082;
padding:1px;
background-color: #FFF;
font-family:arial;
font-size:10px;
padding-bottom:20px;
visibility:hidden;
#calendarDiv {
position: absolute;
width: 205px;
line-height: 10px;
border: 1px solid #317082;
padding: 1px;
background-color: #0a2145;
font-family: arial;
font-size: 10px;
padding-bottom: 20px;
visibility: hidden;
}
#calendarDiv span,#calendarDiv img{
float:left;
#calendarDiv span,
#calendarDiv img {
float: left;
}
#calendarDiv table{
margin: 0;
#calendarDiv table {
margin: 0;
}
#calendarDiv .selectBox,#calendarDiv .selectBoxOver{
line-height:12px;
padding:1px;
cursor:pointer;
padding-left:2px;
#calendarDiv .selectBox,
#calendarDiv .selectBoxOver {
line-height: 12px;
padding: 1px;
cursor: pointer;
background-color: #fdac46;
padding-left: 2px;
}
#calendarDiv .selectBoxTime,#calendarDiv .selectBoxTimeOver{
line-height:12px;
padding:1px;
cursor:pointer;
padding-left:2px;
#calendarDiv .selectBoxTime,
#calendarDiv .selectBoxTimeOver {
line-height: 12px;
padding: 1px;
cursor: pointer;
padding-left: 2px;
}
#calendarDiv td{
padding:3px;
margin:0px;
font-size:10px;
#calendarDiv td {
padding: 3px;
margin: 0px;
font-size: 10px;
}
#calendarDiv .selectBox{
border:1px solid #E2EBED;
color: #E2EBED;
position:relative;
#calendarDiv .selectBox {
border: 1px solid #e2ebed;
color: #000;
position: relative;
}
#calendarDiv .selectBoxOver{
border:1px solid #FFF;
background-color: #317082;
color: #FFF;
position:relative;
#calendarDiv .selectBoxOver {
border: 1px solid #fff;
background-color: #fdac46;
color: #000;
position: relative;
}
#calendarDiv .selectBoxTime{
border:1px solid #317082;
color: #317082;
position:relative;
#calendarDiv .selectBoxTime {
border: 1px solid #317082;
color: #000;
position: relative;
}
#calendarDiv .selectBoxTimeOver{
border:1px solid #216072;
color: #216072;
position:relative;
#calendarDiv .selectBoxTimeOver {
border: 1px solid #216072;
color: #000;
position: relative;
}
#calendarDiv .topBar{
height:16px;
padding:2px;
background-color: #317082;
#calendarDiv .topBar {
height: 16px;
padding: 2px;
background-color: #fdac46;
}
#calendarDiv .activeDay{ /* Active day in the calendar */
color:#FF0000;
#calendarDiv .activeDay {
/* Active day in the calendar */
color: #ff0000;
}
#calendarDiv .todaysDate{
height:17px;
line-height:17px;
padding:2px;
background-color: #E2EBED;
text-align:center;
position:absolute;
bottom:0px;
width:201px;
#calendarDiv .todaysDate {
height: 17px;
line-height: 17px;
padding: 2px;
color: #000;
background-color: #fdac46;
text-align: center;
position: absolute;
bottom: 0px;
width: 201px;
}
#calendarDiv .todaysDate div{
float:left;
#calendarDiv .todaysDate div {
float: left;
}
#calendarDiv .timeBar{
height:17px;
line-height:17px;
background-color: #E2EBED;
width:72px;
color:#FFF;
position:absolute;
right:0px;
#calendarDiv .timeBar {
height: 17px;
line-height: 17px;
background-color: #e2ebed;
width: 72px;
color: #fff;
position: absolute;
right: 0px;
}
#calendarDiv .timeBar div{
float:left;
margin-right:1px;
#calendarDiv .timeBar div {
float: left;
margin-right: 1px;
}
#calendarDiv .monthYearPicker{
background-color: #E2EBED;
border:1px solid #AAAAAA;
position:absolute;
color: #317082;
left:0px;
top:15px;
z-index:1000;
display:none;
#calendarDiv .monthYearPicker {
background-color: #e2ebed;
border: 1px solid #aaaaaa;
position: absolute;
color: #317082;
left: 0px;
top: 15px;
z-index: 1000;
display: none;
}
#calendarDiv #monthSelect{
width:70px;
#calendarDiv #monthSelect {
width: 70px;
}
#calendarDiv .monthYearPicker div{
float:none;
clear:both;
padding:1px;
margin:1px;
cursor:pointer;
#calendarDiv .monthYearPicker div {
float: none;
clear: both;
padding: 1px;
margin: 1px;
cursor: pointer;
}
#calendarDiv .monthYearActive{
background-color:#317082;
color: #E2EBED;
#calendarDiv .monthYearActive {
background-color: #317082;
color: #e2ebed;
}
#calendarDiv td{
text-align:right;
cursor:pointer;
#calendarDiv td {
text-align: right;
cursor: pointer;
}
#calendarDiv .topBar img{
cursor:pointer;
#calendarDiv .topBar img {
cursor: pointer;
}
#calendarDiv .topBar div{
float:left;
margin-right:1px;
#calendarDiv .topBar div {
float: left;
margin-right: 1px;
}

View file

@ -73,6 +73,6 @@ if($_POST['username']!='' && $_POST['password']!=''){
}else{
$tpl->assign('config',$config);
$content=$tpl->fetch('login.tpl');
$core->make_page($content, true);
$core->make_page($content, FALSE);
}
?>

View file

@ -1,4 +1,5 @@
<h4>Raumliste</h4><a id="userlist" style="font-size:8px;">(schlie&szlig;en)</a><br />
<h4>Raumliste</h4><a id="userlist" style="font-size:8px;">(schlie&szlig;en)</a>
<div id="users" class="mousescroll" style="padding:5px; height: 250px;">
{if $users==""}
<p>
No users.
@ -7,16 +8,17 @@ No users.
<div style="padding:5px;">
{foreach from=$users key=key item=user}
{if $user.s == false}
<strong><a id="{$key}" class="room">{$key}</a></strong> <img src="/themes/austria/images/unlocked.png" style="border:none;" /><br />
<strong><a id="{$key}" class="room">{$key}</a></strong> <img src="/themes/funchat/images/unlocked.png" style="border:none;" /><br />
{else}
<strong><a>{$key}</a></strong> <img src="/themes/austria/images/locked.png" style="border:none;" /><br />
<strong><a>{$key}</a></strong> <img src="/themes/funchat/images/locked.png" style="border:none;" /><br />
{/if}
{foreach from=$user.u item=i}
<a id="{$i.n}" class="notice"><img src="/themes/austria/images/{$i.i}" style="border:none;" /></a>{$i.l}<a href="/np/{$i.n}" target="_blank" style="color:#{$i.c}; margin-left: 8px;">{$i.n}</a></span>&nbsp;<img src="/themes/archer/images/{$i.g}.png" style="border:none;" /><br />
<a id="{$i.n}" class="notice"><img src="/themes/funchat/images/{$i.i}" style="border:none;" /></a>{$i.l}<a href="/np/{$i.n}" target="_blank" style="color:#{$i.c}; margin-left: 8px;">{$i.n}</a></span>&nbsp;<img src="/themes/funchat/images/{$i.g}.png" style="border:none;" /><br />
{/foreach}
{/foreach}
{/if}
</div>
</div>
{if $js!=""}
<script type="text/javascript">
{$js}

View file

@ -1,7 +1,7 @@
{$header}
<div class="wrapper col4">
<div id="container">
<div id="content">
<div id="content" style="height: 80vh;">
<div class="topbar"><a id="notchan">Ding</a> | <a href="//funch.at/forum/help-8.html" target="_blank" onclick="return popup('//funch.at/forum/help-8.html','width=800, height=800, resizeable,scrollbars=yes');">Hilfe</a> | <a href="//funch.at/forum/misc.php?action=smilies&amp;popup=true" target="_blank" onclick="return popup('//funch.at/forum/misc.php?action=smilies&amp;popup=true','width=600, height=600, resizeable,scrollbars=yes');">Smilies</a> | <a id="notsw">Benachrichtigung: An</a> | <a id="scrolling">Scrolling: An</a> | <a id="whwindow">{$whtext}</a> | <a id="submit">{$submit}</a> | <a id="logout">Logout</a></div>
<div id="chatlog" style="z-index:1; position:relative;"></div>
</div>
@ -13,12 +13,11 @@
{$rightnav}
</div>
<br class="clear">
<textarea id="text" autocomplete="off" spellcheck="true" style="z-index:2; float: left; position: relative; background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #000000; width: 100%; max-width: 870px; height:20px; color: #{$col};" ></textarea>
</div>
</div>
<br class="clear">
<div class="wrapper col5">
<textarea id="text" autocomplete="off" spellcheck="true" style="z-index:2; float: left; position: relative; background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #000000; width: 100%; max-width: 870px; height:20px; color: #{$col};" ></textarea>
</div>
<div id="whispers" style="display:none;">
</div>
<div id="repwindow" style="display:none;">

View file

@ -7,7 +7,7 @@ No users.
</p>
{else}
{foreach from=$users item=user}
<a id="{$user.nick}" class="notice"><img src="/themes/austria/images/{$user.notice}" title="Toggle notice for {$user.nick}" style="border:none;" /></a><a href="/np/{$user.nick}" target="_blank" style="color:#{$user.color}; margin-left: 8px;">{$user.nick}</a>{if $user.typing=="true"}<i class="fa fa-comment" style="color:#{$user.color}" aria-hidden="true"></i>{/if}</span>&nbsp;<img src="/themes/austria/images/{$user.gender}.png" style="border:none;" /><br />
<a id="{$user.nick}" class="notice"><img src="/themes/funchat/images/{$user.notice}" title="Toggle notice for {$user.nick}" style="border:none;" /></a><a href="/np/{$user.nick}" target="_blank" style="color:#{$user.color}; margin-left: 8px;">{$user.nick}</a>{if $user.typing=="true"}<i class="fa fa-comment" style="color:#{$user.color}" aria-hidden="true"></i>{/if}</span>&nbsp;<img src="/themes/funchat/images/{$user.gender}.png" style="border:none;" /><br />
{/foreach}
{/if}
&nbsp;

View file

@ -6,7 +6,7 @@ class module_mybbnews extends admin_module{
$info["name"]="MYBB News";
$info["file"]="mybbnews";
$info["author"]="genuineparts";
$info["version"]="1.0.0";
$info["version"]="1.0.1";
$info["url"]="http://www.becast.ar";
return $info;
}

View file

@ -37,6 +37,7 @@ class plugins_mybbnews{
$row["date"]=date("d.m.Y",$row["dateline"]);
$row["text"]=$parser->parse(nl2br($row["message"]));
$row["title"]=$parser->parse(nl2br($row["subject"]));
$row["fuid"]=$row["uid"];
$row["comments"]=$row["count"];
$news[]=$row;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

View file

@ -8,25 +8,125 @@ Licence URI: http://www.os-templates.com/template-terms
File: Forms CSS
*/
form, fieldset, legend{margin:0; padding:0; border:none;}
legend{display:none;}
input, textarea, select{font-size:12px; font-family:Georgia, "Times New Roman", Times, serif;}
form,
fieldset,
legend {
margin: 0;
padding: 0;
border: none;
}
legend {
display: none;
}
input,
textarea,
select {
font-size: 12px;
font-family: Inter;
}
/* ----------------------------------------------Search Form------------------------------------- */
#topbar input{display:block; float:left; width:155px; margin:0 5px 0 0; padding:5px; color:#B6B6B6; background-color:#151515; border:1px solid #666666; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;}
#topbar input#go{width:68px; height:26px; margin:0; padding:4px 0; text-transform:uppercase; color:#BFE009; background-color:#2C2C2C; cursor:pointer; font-weight:bold;}
#topbar input {
display: block;
float: left;
width: 155px;
margin: 0 5px 0 0;
padding: 5px;
color: #b6b6b6;
background-color: #151515;
border: 1px solid #666666;
font-family: Inter;
font-size: 12px;
}
#topbar input#go {
width: 68px;
height: 26px;
margin: 0;
padding: 4px 0;
text-transform: uppercase;
color: #bfe009;
background-color: #2c2c2c;
cursor: pointer;
font-weight: bold;
}
.subnav input#go {
width: 68px;
height: 26px;
margin: 0;
padding: 4px 0;
text-transform: uppercase;
color: #bfe009;
background-color: #2c2c2c;
cursor: pointer;
font-weight: bold;
}
/* ----------------------------------------------Forms in Content Area------------------------------------- */
#container #respond{display:block; width:100%;}
#container #respond input{width:170px; padding:2px; border:1px solid #CCCCCC; margin:5px 5px 0 0;}
#container #respond textarea{width:98%; border:1px solid #CCCCCC; padding:2px; overflow:auto;}
#container #respond p{margin:5px 0;}
#container #respond #submit, #container #respond #reset{margin:0; padding:5px; color:#666666; background-color:#F7F7F7; border:1px solid #CCCCCC; cursor:pointer;}
#container #respond {
display: block;
width: 100%;
}
#container #respond input {
width: 170px;
padding: 2px;
border: 1px solid #cccccc;
margin: 5px 5px 0 0;
}
#container #respond label {
width: 150px;
display: inline-block;
}
#container #respond textarea {
width: 98%;
border: 1px solid #cccccc;
padding: 2px;
overflow: auto;
}
#container #respond p {
margin: 5px 0;
}
#container #respond #submit,
#container #respond #reset {
margin: 0;
padding: 5px;
color: #666666;
background-color: #f7f7f7;
border: 1px solid #cccccc;
cursor: pointer;
}
/* ----------------------------------------------Newsletter------------------------------------- */
#socialise form{display:block; width:300px; margin:0; padding:10px 0 0 0; border:none;}
#socialise input{display:block; width:218px; margin:0 0 10px 0; padding:5px; color:#FFFFFF; background-color:#2684B7; border:1px solid #1C5E82; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;}
#socialise input#newsletter_go{width:58px; height:62px; margin:0; padding:0; font-weight:bold; text-transform:uppercase; font-family:Georgia, "Times New Roman", Times, serif; font-size:60px; cursor:pointer;}
#socialise form {
display: block;
width: 300px;
margin: 0;
padding: 10px 0 0 0;
border: none;
}
#socialise input {
display: block;
width: 218px;
margin: 0 0 10px 0;
padding: 5px;
color: #ffffff;
background-color: #2684b7;
border: 1px solid #1c5e82;
font-family: Inter;
font-size: 12px;
}
#socialise input#newsletter_go {
width: 58px;
height: 62px;
margin: 0;
padding: 0;
font-weight: bold;
text-transform: uppercase;
font-family: Inter;
cursor: pointer;
}

View file

@ -74,7 +74,6 @@ a {
}
img {
display: block;
margin: 0;
padding: 0;
border: none;