Vergleich inc/functions_forumlist.php - 1.4.0 - 1.4.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: functions_forumlist.php 3992 2008-07-06 17:27:56Z Tikitiki $

 * $Id: functions_forumlist.php 4219 2008-10-02 23:02:43Z Tikitiki $

 */

/**

 */

/**

Zeile 132Zeile 132
			}

// Sanitize name and description of forum.

			}

// Sanitize name and description of forum.

 
			$forum['name'] = preg_replace("#&(?!\#[0-9]+;)#si", "&", $forum['name']); // Fix & but allow unicode
$forum['description'] = preg_replace("#&(?!\#[0-9]+;)#si", "&", $forum['description']); // Fix & but allow unicode

			$forum['name'] = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&$1", $forum['name']);
$forum['description'] = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&$1", $forum['description']);


			$forum['name'] = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&$1", $forum['name']);
$forum['description'] = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&$1", $forum['description']);


Zeile 163Zeile 165
				++$donecount;
if($donecount == $mybb->settings['subforumsindex'])
{

				++$donecount;
if($donecount == $mybb->settings['subforumsindex'])
{

					if(count($parent) > $donecount)

					if(subforums_count($fcache[$pid]) > $donecount)

					{

					{

						$forum_list .= $comma.$lang->sprintf($lang->more_subforums, (count($parent) - $donecount));

						$forum_list .= $comma.$lang->sprintf($lang->more_subforums, (subforums_count($fcache[$pid]) - $donecount));

					}
}
continue;

					}
}
continue;

Zeile 215Zeile 217
				}

$forum_viewers_text = '';

				}

$forum_viewers_text = '';

 
				$forum_viewers_text_plain = '';

				if($mybb->settings['showforumviewing'] != 0 && $forum['viewers'] > 0)
{
if($forum['viewers'] == 1)

				if($mybb->settings['showforumviewing'] != 0 && $forum['viewers'] > 0)
{
if($forum['viewers'] == 1)

Zeile 225Zeile 228
					{
$forum_viewers_text = $lang->sprintf($lang->viewing_multiple, $forum['viewers']);
}

					{
$forum_viewers_text = $lang->sprintf($lang->viewing_multiple, $forum['viewers']);
}

 
					$forum_viewers_text_plain = $forum_viewers_text;

					$forum_viewers_text = "<span class=\"smalltext\">{$forum_viewers_text}</span>";
}
}

					$forum_viewers_text = "<span class=\"smalltext\">{$forum_viewers_text}</span>";
}
}