aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
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);