rollback of r20469... see trac #161

This commit is contained in:
Tim Almdal
2009-03-20 17:20:17 +00:00
parent 48c022e8cb
commit 863e353911
5 changed files with 25 additions and 34 deletions

View File

@@ -45,11 +45,6 @@ class Admin_View_Core extends View {
return $absolute_url ? url::abs_file($arg) : url::file($arg);
}
public function file($path) {
$theme_path = "themes/{$this->theme_name}/$path";
return url::file(file_exists($theme_path) ? $theme_path : $path);
}
public function display($page_name, $view_class="View") {
return new $view_class($page_name);
}