Vergleich inc/class_templates.php - 1.8.2 - 1.8.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 34Zeile 34
	/**
* Cache the templates.
*

	/**
* Cache the templates.
*

	 * @param string A list of templates to cache.

	 * @param string $templates A list of templates to cache.

	 */
function cache($templates)
{

	 */
function cache($templates)
{

Zeile 56Zeile 56
	/**
* Gets templates.
*

	/**
* Gets templates.
*

	 * @param string The title of the template to get.
* @param boolean True if template contents must be escaped, false if not.
* @param boolean True to output HTML comments, false to not output.

	 * @param string $title The title of the template to get.
* @param boolean|int $eslashes True if template contents must be escaped, false if not.
* @param boolean|int $htmlcomments True to output HTML comments, false to not output.

	 * @return string The template HTML.
*/
function get($title, $eslashes=1, $htmlcomments=1)

	 * @return string The template HTML.
*/
function get($title, $eslashes=1, $htmlcomments=1)

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

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

	 * @param string The name of the template to get.
* @param boolean True if template contents must be escaped, false if not.
* @param boolean True to output HTML comments, false to not output.

	 * @param string $template The name of the template to get.
* @param boolean $eslashes True if template contents must be escaped, false if not.
* @param boolean $htmlcomments True to output HTML comments, false to not output.

	 * @return string The eval()-ready PHP code for rendering the template
*/
function render($template, $eslashes=true, $htmlcomments=true)

	 * @return string The eval()-ready PHP code for rendering the template
*/
function render($template, $eslashes=true, $htmlcomments=true)

Zeile 138Zeile 138

/**
* Fetch a template directly from the install/resources/mybb_theme.xml directory if it exists (DEVELOPMENT MODE)


/**
* Fetch a template directly from the install/resources/mybb_theme.xml directory if it exists (DEVELOPMENT MODE)

 
	 *
* @param string $title
* @return string|bool

	 */
function dev_get($title)
{

	 */
function dev_get($title)
{