diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/blog/lib/blog.php | 2 | ||||
-rw-r--r-- | mod/file/index.php | 2 | ||||
-rw-r--r-- | mod/file/views/default/object/file.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/groups/invitationrequests.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/groups/membershiprequests.php | 4 | ||||
-rw-r--r-- | mod/messages/read.php | 2 | ||||
-rw-r--r-- | mod/messages/views/default/forms/messages/process.php | 2 | ||||
-rw-r--r-- | mod/messages/views/default/object/messages.php | 2 | ||||
-rw-r--r-- | mod/pages/view.php | 2 | ||||
-rwxr-xr-x | mod/profile/views/default/profile/owner_block.php | 2 | ||||
-rw-r--r-- | mod/reportedcontent/views/default/object/reported_content.php | 4 | ||||
-rw-r--r-- | mod/thewire/views/default/thewire/profile_status.php | 4 |
12 files changed, 15 insertions, 15 deletions
diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php index 5287844ab..4d5106bfb 100644 --- a/mod/blog/lib/blog.php +++ b/mod/blog/lib/blog.php @@ -93,7 +93,7 @@ function blog_get_page_content_list($container_guid = NULL) { $params = array( 'href' => $url, 'text' => elgg_echo("blog:add"), - 'class' => 'elgg-button-action', + 'class' => 'elgg-button elgg-button-action', ); $buttons = elgg_view('output/url', $params); $return['buttons'] = $buttons; 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); diff --git a/mod/groups/views/default/groups/invitationrequests.php b/mod/groups/views/default/groups/invitationrequests.php index 77dabaac2..2ede81bc5 100644 --- a/mod/groups/views/default/groups/invitationrequests.php +++ b/mod/groups/views/default/groups/invitationrequests.php @@ -20,7 +20,7 @@ if (!empty($vars['invitations']) && is_array($vars['invitations'])) { <div class="elgg-body"> <a href="<?php echo $url; ?>" class="elgg-button elgg-button-submit"><?php echo elgg_echo('accept'); ?></a> <?php - echo str_replace('<a', '<a class="elgg-button-action elgg-state-disabled" ', elgg_view('output/confirmlink',array( + echo str_replace('<a', '<a class="elgg-button elgg-button-action elgg-state-disabled" ', elgg_view('output/confirmlink',array( 'href' => "action/groups/killinvitation?user_guid={$user->getGUID()}&group_guid={$group->getGUID()}", 'confirm' => elgg_echo('groups:invite:remove:check'), 'text' => elgg_echo('delete'), diff --git a/mod/groups/views/default/groups/membershiprequests.php b/mod/groups/views/default/groups/membershiprequests.php index 8d4fe5c88..15ed3b258 100644 --- a/mod/groups/views/default/groups/membershiprequests.php +++ b/mod/groups/views/default/groups/membershiprequests.php @@ -19,9 +19,9 @@ $url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/groups/addtogroup?user_guid={$request->guid}&group_guid={$vars['entity']->guid}"); ?> <div class="elgg-body"> - <a href="<?php echo $url; ?>" class="elgg-button-submit"><?php echo elgg_echo('accept'); ?></a> + <a href="<?php echo $url; ?>" class="elgg-button elgg-button-submit"><?php echo elgg_echo('accept'); ?></a> <?php - echo str_replace('<a', '<a class="elgg-button-action elgg-state-disabled" ', elgg_view('output/confirmlink',array( + echo str_replace('<a', '<a class="elgg-button elgg-button-cancel elgg-state-disabled" ', elgg_view('output/confirmlink',array( 'href' => 'action/groups/killrequest?user_guid='.$request->guid.'&group_guid=' . $vars['entity']->guid, 'confirm' => elgg_echo('groups:joinrequest:remove:check'), 'text' => elgg_echo('delete'), diff --git a/mod/messages/read.php b/mod/messages/read.php index 83c7dccee..b830aa51c 100644 --- a/mod/messages/read.php +++ b/mod/messages/read.php @@ -40,7 +40,7 @@ if ($inbox) { if (elgg_get_logged_in_user_guid() == elgg_get_page_owner_guid()) { $buttons = elgg_view('output/url', array( 'text' => elgg_echo('messages:answer'), - 'class' => 'elgg-button-action', + 'class' => 'elgg-button elgg-button-action', 'id' => 'messages-show-reply', )); } diff --git a/mod/messages/views/default/forms/messages/process.php b/mod/messages/views/default/forms/messages/process.php index ce24360e7..5cdd01c1f 100644 --- a/mod/messages/views/default/forms/messages/process.php +++ b/mod/messages/views/default/forms/messages/process.php @@ -25,7 +25,7 @@ if ($vars['folder'] == "inbox") { echo elgg_view('input/button', array( 'value' => elgg_echo('messages:toggle'), - 'class' => 'elgg-button-cancel', + 'class' => 'elgg-button elgg-button-cancel', 'id' => 'messages-toggle', )); diff --git a/mod/messages/views/default/object/messages.php b/mod/messages/views/default/object/messages.php index 13b7ca35f..9e070455b 100644 --- a/mod/messages/views/default/object/messages.php +++ b/mod/messages/views/default/object/messages.php @@ -54,7 +54,7 @@ $subject_info .= elgg_view('output/url', array( 'text' => $message->title, )); -$delete_link = "<span class='elgg-button-delete'>" . elgg_view("output/confirmlink", array( +$delete_link = "<span class='elgg-button elgg-button-delete'>" . elgg_view("output/confirmlink", array( 'href' => "action/messages/delete?guid=" . $message->getGUID(), 'text' => elgg_echo('delete'), 'confirm' => elgg_echo('deleteconfirm'), diff --git a/mod/pages/view.php b/mod/pages/view.php index 3a323cc23..479ec1c93 100644 --- a/mod/pages/view.php +++ b/mod/pages/view.php @@ -38,7 +38,7 @@ if ($page->canEdit()) { $buttons = elgg_view('output/url', array( 'text' => elgg_echo('pages:newchild'), 'href' => $url, - 'class' => 'elgg-button-action', + 'class' => 'elgg-button elgg-button-action', )); } diff --git a/mod/profile/views/default/profile/owner_block.php b/mod/profile/views/default/profile/owner_block.php index 81ba8a7bf..d257f03a8 100755 --- a/mod/profile/views/default/profile/owner_block.php +++ b/mod/profile/views/default/profile/owner_block.php @@ -28,7 +28,7 @@ $profile_actions = ''; if (elgg_is_logged_in() && $actions) { $profile_actions = '<ul class="elgg-menu">'; foreach ($actions as $action) { - $profile_actions .= '<li>' . $action->getLink(array('class' => 'elgg-button-action')) . '</li>'; + $profile_actions .= '<li>' . $action->getLink(array('class' => 'elgg-button elgg-button-action')) . '</li>'; } $profile_actions .= '</ul>'; } diff --git a/mod/reportedcontent/views/default/object/reported_content.php b/mod/reportedcontent/views/default/object/reported_content.php index 16f9c8773..9ac878ab4 100644 --- a/mod/reportedcontent/views/default/object/reported_content.php +++ b/mod/reportedcontent/views/default/object/reported_content.php @@ -28,7 +28,7 @@ if ($report->state == 'archived') { 'href' => $archive_url, 'text' => elgg_echo('reportedcontent:archive'), 'is_action' => true, - 'class' => 'elgg-button-action', + 'class' => 'elgg-button elgg-button-action', ); echo elgg_view('output/url', $params); } @@ -36,7 +36,7 @@ if ($report->state == 'archived') { 'href' => $delete_url, 'text' => elgg_echo('reportedcontent:delete'), 'is_action' => true, - 'class' => 'elgg-button-action', + 'class' => 'elgg-button elgg-button-action', ); echo elgg_view('output/url', $params); ?> diff --git a/mod/thewire/views/default/thewire/profile_status.php b/mod/thewire/views/default/thewire/profile_status.php index 9ff0c4d59..33b05f479 100644 --- a/mod/thewire/views/default/thewire/profile_status.php +++ b/mod/thewire/views/default/thewire/profile_status.php @@ -2,7 +2,7 @@ /** * Latest wire post on profile page */ - + $owner = $vars['entity']->guid; $url_to_wire = elgg_get_site_url() . "pg/thewire/owner/" . $vars['entity']->username; @@ -24,7 +24,7 @@ if ($latest_wire && count($latest_wire) > 0) { echo $content; if ($owner == elgg_get_logged_in_user_guid()) { $text = elgg_echo('thewire:update'); - echo "<a class='elgg-button-action update small' href=\"{$url_to_wire}\">$text</a>"; + echo "<a class='elgg-button elgg-button-action update small' href=\"{$url_to_wire}\">$text</a>"; } echo $time; echo "</div></div>"; |