Vergleich inc/class_templates.php - 1.2.1 - 1.2.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: class_templates.php 1978 2006-07-16 23:26:20Z Tikitiki $

 * $Id: class_templates.php 2932 2007-03-10 05:48:55Z chris $

 */

class templates

 */

class templates

Zeile 83Zeile 83
			$this->cache[$title] = $gettemplate['template'];
}
$template = $this->cache[$title];

			$this->cache[$title] = $gettemplate['template'];
}
$template = $this->cache[$title];

		if($htmlcomments && $mybb->settings['tplhtmlcomments'] == "yes")



if($htmlcomments)

		{

		{

			$template = "<!-- start: $title -->\n$template\n<!-- end: $title -->";








			if($mybb->settings['tplhtmlcomments'] == "yes")
{
$template = "<!-- start: $title -->\n$template\n<!-- end: $title -->";
}
else
{
$template = "\n$template\n";
}

		}

		}

 
		

		if($eslashes)
{
$template = str_replace("\\'", "'", $db->escape_string($template));

		if($eslashes)
{
$template = str_replace("\\'", "'", $db->escape_string($template));