X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fplatal%2Fpage.inc.php;h=b309c67233e7117ebef6dae980d0eb23a9cfe50d;hb=a3a049fc80d3707bcc76903ab89f73974c470c0c;hp=dd039ea31159bb9373c6597c1b52fdf8aa2ecc43;hpb=36f114ef792cd19b7e2a6e00540ff0ffd8422253;p=platal.git diff --git a/include/platal/page.inc.php b/include/platal/page.inc.php index dd039ea..b309c67 100644 --- a/include/platal/page.inc.php +++ b/include/platal/page.inc.php @@ -1,6 +1,6 @@ register_function("tag","diogenes_func_tag"); $this->register_function("toolbar","diogenes_func_toolbar"); } - + // }}} // {{{ function changeTpl() @@ -114,7 +114,7 @@ class PlatalPage extends Smarty $this->assign("xorg_errors", $this->_errors); $this->assign("xorg_failure", $this->_failure); - + if ($this->_page_type == NO_SKIN) { $this->display($this->_tpl); exit; @@ -124,7 +124,7 @@ class PlatalPage extends Smarty $this->display($skin); exit; } - + if ($globals->debug & 1) { $this->assign('db_trace', $globals->db->trace_format($this, 'database-debug.tpl')); } @@ -139,7 +139,7 @@ class PlatalPage extends Smarty $fd = fopen($this->compile_dir."/valid.html","w"); fwrite($fd, $result); fclose($fd); - + exec($globals->spoolroot."/bin/devel/xhtml.validate.pl ".$this->compile_dir."/valid.html", $val); foreach ($val as $h) { if (preg_match("/^X-W3C-Validator-Errors: (\d+)$/", $h, $m)) { @@ -212,10 +212,10 @@ class PlatalPage extends Smarty // {{{ function doAuth() function doAuth() { } - + // }}} // {{{ function loadModule() - + function loadModule($modname) { require_once("$modname.inc.php"); @@ -239,7 +239,7 @@ class PlatalPage extends Smarty // }}} // {{{ function gassign - + function gassign($varname) { global $$varname;