Vergleich inc/class_templates.php - 1.8.28 - 1.8.39

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 95Zeile 95
				$this->uncached_templates[$title] = $title;
}


				$this->uncached_templates[$title] = $title;
}


			if(!$gettemplate)

			if(empty($gettemplate))

			{

			{

				$gettemplate['template'] = "";

				$gettemplate = array('template' => '');

			}

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


			}

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


		if($htmlcomments)

		if($htmlcomments && $template !== false)

		{
if($mybb->settings['tplhtmlcomments'] == 1)
{

		{
if($mybb->settings['tplhtmlcomments'] == 1)
{

Zeile 122Zeile 122
		}
return $template;
}

		}
return $template;
}

	



	/**
* Prepare a template for rendering to a variable.
*

	/**
* Prepare a template for rendering to a variable.
*

Zeile 158Zeile 158
			}
}
$res = $template_xml->xpath("//template[@name='{$title}']");

			}
}
$res = $template_xml->xpath("//template[@name='{$title}']");

		return $res[0];

		return !empty($res[0]) ? $res[0] : false;

	}
}

	}
}