aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-23 16:19:50 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-23 16:19:50 +0000
commit6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d (patch)
tree7155e90b1d586d251a4ca640b51700155c22e0d5 /mod/file
parent02a1bdd5ee3fe1ea4eb93fc8c6b9f3a4478e3215 (diff)
downloadelgg-6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d.tar.gz
elgg-6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d.tar.bz2
Every occurrence of elgg-button-$type needs an elgg-button base class declaration -- or should we remove that requirement?
git-svn-id: http://code.elgg.org/elgg/trunk@8444 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/index.php2
-rw-r--r--mod/file/views/default/object/file.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/file/index.php b/mod/file/index.php
index 257dd8af8..de2e46408 100644
--- a/mod/file/index.php
+++ b/mod/file/index.php
@@ -34,7 +34,7 @@ if ($owner->guid == elgg_get_logged_in_user_guid()) {
$vars = array(
'href' => $url,
'text' => elgg_echo("file:add"),
- 'class' => 'elgg-button-action',
+ 'class' => 'elgg-button elgg-button-action',
);
$button = elgg_view('output/url', $vars);
$params['buttons'] = $button;
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index d3a5c7e41..a43f12cc5 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -68,7 +68,7 @@ if ($full && !elgg_in_context('gallery')) {
$download = elgg_view('output/url', array(
'href' => "mod/file/download.php?file_guid=$file->guid",
'text' => elgg_echo("file:download"),
- 'class' => 'elgg-button-action',
+ 'class' => 'elgg-button elgg-button-action',
));
$header = elgg_view_title($file->title);