Vergleich inc/functions_forumlist.php - 1.4.0 - 1.4.3

  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 4131 2008-08-19 15:31:39Z 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;