diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/helpers/core_theme.php (renamed from core/helpers/core_block.php) | 5 | ||||
-rw-r--r-- | core/libraries/Admin_View.php | 2 | ||||
-rw-r--r-- | core/libraries/Theme_View.php | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_theme.php index 48e158be..0ccad457 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_theme.php @@ -17,8 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ - -class core_block_Core { +class core_theme_Core { static function head($theme) { $buf = ""; if (Session::instance()->get("debug")) { @@ -39,7 +38,7 @@ class core_block_Core { return "<div class=\"gQuick\" href=\"$edit_link\"></div>"; } } - + static function thumb_top($theme, $child) { if ($child->type == "photo" && access::can("edit", $child)) { $edit_link = url::site("quick/pane/$child->id"); diff --git a/core/libraries/Admin_View.php b/core/libraries/Admin_View.php index af2d7fa8..e15c0d68 100644 --- a/core/libraries/Admin_View.php +++ b/core/libraries/Admin_View.php @@ -93,7 +93,7 @@ class Admin_View_Core extends View { case "admin_head": $blocks = array(); foreach (module::installed() as $module) { - $helper_class = "{$module->name}_block"; + $helper_class = "{$module->name}_theme"; if (method_exists($helper_class, $function)) { $blocks[] = call_user_func_array( array($helper_class, $function), diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php index 38e8e056..1f8ca559 100644 --- a/core/libraries/Theme_View.php +++ b/core/libraries/Theme_View.php @@ -165,7 +165,7 @@ class Theme_View_Core extends View { case "photo_bottom": $blocks = array(); foreach (module::installed() as $module) { - $helper_class = "{$module->name}_block"; + $helper_class = "{$module->name}_theme"; if (method_exists($helper_class, $function)) { $blocks[] = call_user_func_array( array($helper_class, $function), |