From 2c2ad03dce82a3fffa575a9a1233345a85e0db34 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Thu, 10 Feb 2011 01:43:36 +0000 Subject: Converted buttons to elgg-object-type naming convention. Added table of buttons to forms theming preview meant for previewing all button types and states (still have to implement those...) git-svn-id: http://code.elgg.org/elgg/trunk@8091 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page/elements/content_header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/default/page') diff --git a/views/default/page/elements/content_header.php b/views/default/page/elements/content_header.php index becf4a13a..10ba4b052 100644 --- a/views/default/page/elements/content_header.php +++ b/views/default/page/elements/content_header.php @@ -70,10 +70,10 @@ if (elgg_is_logged_in()) { // @todo remove the hard coded reference to the videolist plugin if (elgg_get_context() == "videolist"){ $video_link = elgg_get_site_url() . "pg/videolist/browse/$username/"; - $new_button = "" . elgg_echo('videolist:browsemenu') . ''; + $new_button = "" . elgg_echo('videolist:browsemenu') . ''; } else { $new_link = elgg_normalize_url((isset($vars['new_link'])) ? $vars['new_link'] : "pg/$type/$username/new"); - $new_button = "" . elgg_echo($type . ':new') . ''; + $new_button = "" . elgg_echo($type . ':new') . ''; } $new_button = "
$new_button
"; } -- cgit v1.2.3