diff --git a/fcb.svg b/fcb.svg new file mode 100644 index 0000000..1c065bc --- /dev/null +++ b/fcb.svg @@ -0,0 +1 @@ +FunCh.at diff --git a/modules/mybbnews/mybbnews.module.php b/modules/mybbnews/mybbnews.module.php index a1f400e..4f373e5 100644 --- a/modules/mybbnews/mybbnews.module.php +++ b/modules/mybbnews/mybbnews.module.php @@ -6,7 +6,7 @@ class module_mybbnews extends admin_module{ $info["name"]="MYBB News"; $info["file"]="mybbnews"; $info["author"]="genuineparts"; - $info["version"]="1.0.1"; + $info["version"]="1.0.2"; $info["url"]="http://www.becast.ar"; return $info; } diff --git a/modules/mybbnews/mybbnews.plugins.php b/modules/mybbnews/mybbnews.plugins.php index e82ae36..716440a 100644 --- a/modules/mybbnews/mybbnews.plugins.php +++ b/modules/mybbnews/mybbnews.plugins.php @@ -13,6 +13,7 @@ class plugins_mybbnews{ function newsview(){ global $db, $config; + date_default_timezone_set($config['timezone']); $this->tpl= new Smarty(); $parser=new textparser(true); $root = $_SERVER['DOCUMENT_ROOT'] . $config["path"]; @@ -33,7 +34,7 @@ class plugins_mybbnews{ $row["year"]=date("Y",$row["dateline"]); $row["month"]=date("M",$row["dateline"]); $row["day"]=date("d",$row["dateline"]); - $row["time"]=date("h:i",$row["dateline"]); + $row["time"]=date("H:i",$row["dateline"]); $row["date"]=date("d.m.Y",$row["dateline"]); $row["text"]=$parser->parse(nl2br($row["message"])); $row["title"]=$parser->parse(nl2br($row["subject"])); diff --git a/modules/mybbnews/templates/default/news.tpl b/modules/mybbnews/templates/default/news.tpl index 5db2c19..f2b7825 100644 --- a/modules/mybbnews/templates/default/news.tpl +++ b/modules/mybbnews/templates/default/news.tpl @@ -1,26 +1,13 @@ -

News

-{foreach from=$news item=n} -
-
-

{$n.title}

- -
-
-

{$n.text}

-
-

- {$n.comments} Kommentar(e) -

-
- -{foreachelse} {/foreach} +
+

News

+ +
diff --git a/themes/funchat/fc.svg b/themes/funchat/fc.svg new file mode 100644 index 0000000..cae5186 --- /dev/null +++ b/themes/funchat/fc.svg @@ -0,0 +1,200 @@ + + + + + + diff --git a/themes/funchat/font/Chewy-Regular.ttf b/themes/funchat/font/Chewy-Regular.ttf new file mode 100644 index 0000000..4bfa56a Binary files /dev/null and b/themes/funchat/font/Chewy-Regular.ttf differ diff --git a/themes/funchat/nav_welcome.tpl b/themes/funchat/nav_welcome.tpl index 3f1c592..0902c90 100644 --- a/themes/funchat/nav_welcome.tpl +++ b/themes/funchat/nav_welcome.tpl @@ -1,8 +1,10 @@