Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Default templates problem [C-Michael83]
#1
Hi,

In default theme, and clearly in "forumbit_depth3" template, is an unnecessary/wrong variable.

This template is:

{$comma}{$statusicon}<a href="{$forum_url}" title="{$forum_viewers_text}">{$forum['name']}</a>

$forum_viewers_text can not be a title because it is in a Span tag! see end of below code that come from "functions_forumlist.php":

				if($mybb->settings['showforumviewing'] != 0 && $forum['viewers'] > 0)
				{
					if($forum['viewers'] == 1)
					{
						$forum_viewers_text = $lang->viewing_one;
					}
					else
					{
						$forum_viewers_text = $lang->sprintf($lang->viewing_multiple, $forum['viewers']);
					}
					$forum_viewers_text = "<span class=\"smalltext\">{$forum_viewers_text}</span>";
				}

Also subforum title is always empty.
Thank you.


Messages In This Thread
[F] Default templates problem [C-Michael83] - by SaeedGh - 2008-09-23, 11:40 PM
[F] Default templates problem - by Ryan Gordon - 2008-09-30, 12:04 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)