session_write_close();
- $this->assign("xorg_errors", $this->_errors);
- $this->assign("xorg_failure", $this->_failure);
+ $this->assign('xorg_errors', $this->_errors);
+ $this->assign('xorg_failure', $this->_failure);
$this->assign('globals', $globals);
switch ($this->_page_type) {
case NO_SKIN:
+ error_reporting(0);
$this->display($this->_tpl);
exit;
}
if (!$globals->debug) {
+ error_reporting(0);
$this->display($skin);
exit;
}
}
$this->assign('validate', true);
+ error_reporting(0);
$result = $this->fetch($skin);
- $ttime .= sprintf('Temps total: %.02fs<br />', microtime_float() - $TIME_BEGIN);
+ $ttime = sprintf('Temps total: %.02fs<br />', microtime_float() - $TIME_BEGIN);
$replc = "<span class='erreur'>VALIDATION HTML INACTIVE</span><br />";
if ($globals->debug & 2) {
function kill($msg)
{
+ global $platal;
+
+ $this->assign('platal', $platal);
$this->trig($msg);
$this->_failure = true;
$this->run();
}
// }}}
+ // {{{ function setRssLink
+
+ function setRssLink($title, $path)
+ {
+ $this->assign('xorg_rss', array('title' => $title, 'href' => $path));
+ }
+
+ // }}}
}
// {{{ function escape_html ()