Skip to content
Permalink
Browse files

bugfixes and typo after testing news and forum via RSS-feed

  • Loading branch information...
bohrsty committed Oct 2, 2012
1 parent f6d0f92 commit 275582628b4c6934dbc28a4b44ad3263bf65ae23
Showing with 4 additions and 3 deletions.
  1. +2 −1 htdocs/index.php
  2. +1 −1 htdocs/lib2/common.inc.php
  3. +1 −1 htdocs/templates2/ocstyle/start.tpl
@@ -59,12 +59,13 @@
* requires $opt['forum']['count'] in settings for number of lastest forum-posts
* requires $opt['forum']['url'] in settings: RSS-feed-URL of the forum
*/
$tpl->assign('phpbb_enabled', $opt['forum']['count'] > 0);
$forumcontent = RSSParser::parse($opt['forum']['count'],$opt['forum']['url']);
$tpl->assign('forum',$forumcontent);
$phpbb_topics = array();
$tpl->assign('phpbb_topics', $phpbb_topics);
$tpl->assign('phpbb_enabled', ($opt['cron']['phpbbtopics']['url'] != ''));
// $tpl->assign('phpbb_enabled', ($opt['cron']['phpbbtopics']['url'] != ''));
$tpl->assign('phpbb_name', $opt['cron']['phpbbtopics']['name']);
$tpl->assign('phpbb_link', $opt['cron']['phpbbtopics']['link']);
@@ -21,7 +21,7 @@ function __autoload($class_name)
$class_name = str_replace('_', '/', $class_name);
$file = $opt['rootpath'] . '../lib/classes/' . $class_name . '.php';
$file2 = $opt['rootpath'] . 'lib2/class.' . $class_name2 . '.php';
$file2 = $opt['rootpath'] . 'lib2/' . $class_name2 . '.class.php';
if (file_exists($file)) {
require_once($file);
} elseif(file_exists($file2)) {
@@ -113,7 +113,7 @@
<div class="buffer" style="width: 500px;">&nbsp;</div>
</div>
*}
{forum}
{$forum}
{*
<ul class="nodot">
{foreach from=$phpbb_topics item=phpbbItem}

0 comments on commit 2755826

Please sign in to comment.
You can’t perform that action at this time.