aboutsummaryrefslogtreecommitdiff
path: root/views/default/page
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-10 01:43:36 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-10 01:43:36 +0000
commit2c2ad03dce82a3fffa575a9a1233345a85e0db34 (patch)
tree5fab9727cb629c7f12af3a529addd809c433c985 /views/default/page
parent6b3ee5365b10afc37677781fc5f07539f1d8636f (diff)
downloadelgg-2c2ad03dce82a3fffa575a9a1233345a85e0db34.tar.gz
elgg-2c2ad03dce82a3fffa575a9a1233345a85e0db34.tar.bz2
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
Diffstat (limited to 'views/default/page')
-rw-r--r--views/default/page/elements/content_header.php4
1 files changed, 2 insertions, 2 deletions
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 = "<a href=\"{$video_link}\" class='elgg-action-button'>" . elgg_echo('videolist:browsemenu') . '</a>';
+ $new_button = "<a href=\"{$video_link}\" class='elgg-button-action'>" . elgg_echo('videolist:browsemenu') . '</a>';
} else {
$new_link = elgg_normalize_url((isset($vars['new_link'])) ? $vars['new_link'] : "pg/$type/$username/new");
- $new_button = "<a href=\"{$new_link}\" class='elgg-action-button'>" . elgg_echo($type . ':new') . '</a>';
+ $new_button = "<a href=\"{$new_link}\" class='elgg-button-action'>" . elgg_echo($type . ':new') . '</a>';
}
$new_button = "<div class='content-header-options'>$new_button</div>";
}