diff options
author | neoraider <devnull@localhost> | 2006-12-14 01:06:02 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-12-14 01:06:02 +0100 |
commit | 543336aef16562369c01992817f58e17144c9cad (patch) | |
tree | d49cd8549a836c740df7096ddcf7788ed7920c37 /core | |
parent | 93e1133ee88b03e7cae7318cb19761e698e57b86 (diff) | |
download | neon-543336aef16562369c01992817f58e17144c9cad.tar neon-543336aef16562369c01992817f58e17144c9cad.zip |
Base-Type durch Subst-Erweiterungen unnoetig gemacht; Type-Konzept entfernt.
Diffstat (limited to 'core')
-rw-r--r-- | core/modules.inc.php | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/core/modules.inc.php b/core/modules.inc.php index 62a20e9..814727b 100644 --- a/core/modules.inc.php +++ b/core/modules.inc.php @@ -107,10 +107,7 @@ switch($file['tag']) { case 'page': - $type = $file['attribs']['type']; - if(!$type) $type = 'c'; - - array_push($module['pages'], $file['children'][0] . '.' . $type); + array_push($module['pages'], $file['children'][0]); break; case 'code': array_push($module['code'], $file['children'][0]); @@ -127,9 +124,8 @@ return $this->code[$name]['path'] . 'code/' . $name . '.inc.php'; } - function GetPagePath($name, $type) { - return $this->pages[$name . '.' . $type]['path'] . 'pages/' . - strtr($type, array('c' => 'content', 'b' => 'base')) . '/' . $name . '.xml'; + function GetPagePath($name) { + return $this->pages[$name]['path'] . 'pages/' . $name . '.xml'; } function GetTemplatePath($name) { |