diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-18 05:01:00 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-18 05:01:00 +0000 |
commit | 3d1ea2904d982422ce24c43b25d0d4bca6f29aa3 (patch) | |
tree | 81ac211d0f298791090126bf8061d3aec43ac134 /core/helpers | |
parent | 245cb11c5855d023d9bd4f7e693f0eafaeb7deb7 (diff) |
Rename theme callback helpers from xxx_block to xxx_theme to make room
for us to rename the dashboard helper to be a block helper since
sidebar blocks are not just in the dashboard.
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/core_theme.php (renamed from core/helpers/core_block.php) | 5 |
1 files changed, 2 insertions, 3 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"); |