if(($out_pathes = $this->out_pathes()) === false) return false;
$templates = array();
$current_out_path = $this->config("out");
if(($out_pathes = $this->out_pathes()) === false) return false;
$templates = array();
$current_out_path = $this->config("out");
$template_class_name = "mw_template";
if($this->out_file_exists("template.php")){
$template_class_file = $this->out_file("template.php");
$template_class_name = "mw_template";
if($this->out_file_exists("template.php")){
$template_class_file = $this->out_file("template.php");
if($dh = opendir($out_dir)){
while(($file = readdir($dh)) !== false){
if(is_dir($out_dir.$file) && substr($file, 0 ,1) != "." && !in_array($file, $pathes)) $pathes[] = $file;
if($dh = opendir($out_dir)){
while(($file = readdir($dh)) !== false){
if(is_dir($out_dir.$file) && substr($file, 0 ,1) != "." && !in_array($file, $pathes)) $pathes[] = $file;
$out_file = $this->_out_file($file, $PRIORITE);
return $out_file ? true : false;
}
$out_file = $this->_out_file($file, $PRIORITE);
return $out_file ? true : false;
}
$out_file = $this->_out_file($file, $PRIORITE);
return $out_file ? $this->path("mw_dir").$out_file : $file;
}
$out_file = $this->_out_file($file, $PRIORITE);
return $out_file ? $this->path("mw_dir").$out_file : $file;
}
$out_file = $this->_out_file($file, $PRIORITE);
return $out_file ? $this->path("web").$this->path("mw_path").$out_file : $file;
}
$out_file = $this->_out_file($file, $PRIORITE);
return $out_file ? $this->path("web").$this->path("mw_path").$out_file : $file;
}
if(!isset($this->css_files)) $this->css_files = array();
$files = array();
foreach($this->css_files as $url => $enabled){
if(!isset($this->css_files)) $this->css_files = array();
$files = array();
foreach($this->css_files as $url => $enabled){
if(isset($this->out_config)){
$CONFIG = $this->get_CONFIG();
return isset($CONFIG["out_".$name]) ? $CONFIG["out_".$name] : (isset($this->out_config[$name]) ? $this->out_config[$name]["default"] : "");
if(isset($this->out_config)){
$CONFIG = $this->get_CONFIG();
return isset($CONFIG["out_".$name]) ? $CONFIG["out_".$name] : (isset($this->out_config[$name]) ? $this->out_config[$name]["default"] : "");
$this->layout = array();
$this->_init_layout("index");
if(($mod = $this->etat("mod")) != "index") $this->_init_layout($mod);
return $this->get_layout();
}
$this->layout = array();
$this->_init_layout("index");
if(($mod = $this->etat("mod")) != "index") $this->_init_layout($mod);
return $this->get_layout();
}
if(($plugins = $this->plugins("ASC")) !== false){
$layout_file = false;
$tmp_layout_file = $this->path("mw_dir")."app/out/".$this->config("out")."/layouts/".$mod.".xml";
if(($plugins = $this->plugins("ASC")) !== false){
$layout_file = false;
$tmp_layout_file = $this->path("mw_dir")."app/out/".$this->config("out")."/layouts/".$mod.".xml";
if(file_exists($layout_file)){
$xml_parser = new sxml();
$xml_parser->parse(file_get_contents($layout_file));
if(file_exists($layout_file)){
$xml_parser = new sxml();
$xml_parser->parse(file_get_contents($layout_file));
$mod = $this->etat("mod");
$controller = $this->etat("controller");
$action = $this->etat("action");
$mod = $this->etat("mod");
$controller = $this->etat("controller");
$action = $this->etat("action");
$this->modules = array("env" => $env);
$this->ENV_SET = true;
$this->set_out_config($this->get_out_config());
$this->set_template_infos($this->get_template_infos());
}
$this->modules = array("env" => $env);
$this->ENV_SET = true;
$this->set_out_config($this->get_out_config());
$this->set_template_infos($this->get_template_infos());
}
if(!isset($this->ENV_SET) || !$this->ENV_SET) return false;
if(!isset($layout)) $layout = $this->init_layout();
$this->out = $this->get_out();
if(!isset($this->ENV_SET) || !$this->ENV_SET) return false;
if(!isset($layout)) $layout = $this->init_layout();
$this->out = $this->get_out();