Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: class_templates.php 1978 2006-07-16 23:26:20Z Tikitiki $
| * $Id: class_templates.php 2695 2007-02-03 13:46:23Z CraKteR $
|
*/
class templates
| */
class templates
|
Zeile 83 | Zeile 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));
|