mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Refactor combine_xxx() functions together into combine_files() and use
html functions to generate the resulting elements. Add phpdoc.
This commit is contained in:
@@ -98,9 +98,9 @@ class Admin_View_Core extends Gallery_View {
|
||||
}
|
||||
}
|
||||
|
||||
if ($function == "admin_head") {
|
||||
array_unshift($blocks, $this->combine_css());
|
||||
array_unshift($blocks, $this->combine_script());
|
||||
if ($function == "head") {
|
||||
array_unshift($blocks, $this->combine_files($this->css, "css"));
|
||||
array_unshift($blocks, $this->combine_files($this->css, "javascript"));
|
||||
}
|
||||
|
||||
if (Session::instance()->get("debug")) {
|
||||
|
||||
Reference in New Issue
Block a user