X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fapp%2Fout%2Fdefault%2Fviews%2Fconfig%2Ftemplates%2Findex.php;fp=mw%2Fapp%2Fout%2Fdefault%2Fviews%2Fconfig%2Ftemplates%2Findex.php;h=48e68230f55dd1125ef1fe2ff06873917feadb83;hb=422d883e3ed8ee55ee41e3b7826f32b79cea646d;hp=b81e5adb33d8baa7e34a6a1334046fdfe371cb3f;hpb=e1b64e4088232b9d7b4acb2dc24279bb38fcafba;p=mtweb diff --git a/mw/app/out/default/views/config/templates/index.php b/mw/app/out/default/views/config/templates/index.php index b81e5ad..48e6823 100644 --- a/mw/app/out/default/views/config/templates/index.php +++ b/mw/app/out/default/views/config/templates/index.php @@ -1,6 +1,6 @@

Template

-out["out_pathes"]) : ?> +out["templates"]) : ?>
" method="post"> @@ -10,16 +10,22 @@ config("out"); + $current_out_path = $this->config("out"); $FOUND = false; - foreach($this->out["out_pathes"] as $out_path) { if($template == $out_path) { $FOUND = true; break; } } - if(!$FOUND) $template = $this->config("default_out"); + foreach($this->out["templates"] as $out_path => $template) { if($current_out_path == $out_path) { $FOUND = true; break; } } + if(!$FOUND) $current_out_path = $this->config("default_out"); ?>