aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-19 18:47:10 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-19 18:47:10 +0000
commita7b0a98e223e36090f7b2fc2a68a036e655727cc (patch)
tree61fd07b4edb0e3c4b8448bfb5fbc44e3fb8d69e9 /mod
parenta7113d7403510ee5637b5b6fddb09f7ad502fd6b (diff)
downloadelgg-a7b0a98e223e36090f7b2fc2a68a036e655727cc.tar.gz
elgg-a7b0a98e223e36090f7b2fc2a68a036e655727cc.tar.bz2
replacing action-button with elgg-action-button
git-svn-id: http://code.elgg.org/elgg/trunk@7688 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/views/default/forms/blog/save.php2
-rw-r--r--mod/file/views/default/object/file.php2
-rw-r--r--mod/groups/views/default/forms/groups/edit.php2
-rw-r--r--mod/groups/views/default/forum/topics.php2
-rw-r--r--mod/groups/views/default/groups/css.php2
-rw-r--r--mod/groups/views/default/groups/groupprofile.php2
-rw-r--r--mod/groups/views/default/groups/invitationrequests.php2
-rw-r--r--mod/groups/views/default/groups/membershiprequests.php2
-rw-r--r--mod/messages/index.php2
-rw-r--r--mod/messages/sent.php2
-rw-r--r--mod/messages/views/default/messages/messages.php4
-rw-r--r--mod/profile/views/default/profile/css.php4
-rwxr-xr-xmod/profile/views/default/profile/ownerblock.php10
-rw-r--r--mod/reportedcontent/views/default/object/reported_content.php4
-rw-r--r--mod/tabbed_profile/views/default/profile/css.php4
-rwxr-xr-xmod/tabbed_profile/views/default/profile/ownerblock.php10
-rw-r--r--mod/thewire/views/default/object/thewire.php2
-rw-r--r--mod/thewire/views/default/thewire/css.php4
-rw-r--r--mod/thewire/views/default/thewire/forms/add.php2
-rw-r--r--mod/thewire/views/default/thewire/profile_status.php2
20 files changed, 33 insertions, 33 deletions
diff --git a/mod/blog/views/default/forms/blog/save.php b/mod/blog/views/default/forms/blog/save.php
index 022473e9d..f49340985 100644
--- a/mod/blog/views/default/forms/blog/save.php
+++ b/mod/blog/views/default/forms/blog/save.php
@@ -21,7 +21,7 @@ if ($vars['guid']) {
$delete_link = elgg_view('output/confirmlink', array(
'href' => $delete_url,
'text' => elgg_echo('delete'),
- 'class' => 'action-button disabled'
+ 'class' => 'elgg-action-button disabled'
));
}
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index 37019c1aa..b4754cb18 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -138,7 +138,7 @@
?>
- <div class="filerepo_download"><p><a class="action-button small" href="<?php echo elgg_get_site_url(); ?>mod/file/download.php?file_guid=<?php echo $file_guid; ?>"><?php echo elgg_echo("file:download"); ?></a></p></div>
+ <div class="filerepo_download"><p><a class="elgg-action-button small" href="<?php echo elgg_get_site_url(); ?>mod/file/download.php?file_guid=<?php echo $file_guid; ?>"><?php echo elgg_echo("file:download"); ?></a></p></div>
<?php
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php
index d3eb7ac68..be0a5912c 100644
--- a/mod/groups/views/default/forms/groups/edit.php
+++ b/mod/groups/views/default/forms/groups/edit.php
@@ -156,7 +156,7 @@ if ($vars['entity']) {
$warning = elgg_echo("groups:deletewarning");
?>
<input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" />
- <input type="submit" class="action-button disabled" name="delete" value="<?php echo elgg_echo('groups:delete'); ?>" onclick="javascript:return confirm('<?php echo $warning; ?>')"/><?php
+ <input type="submit" class="elgg-action-button disabled" name="delete" value="<?php echo elgg_echo('groups:delete'); ?>" onclick="javascript:return confirm('<?php echo $warning; ?>')"/><?php
?>
</form>
</div>
diff --git a/mod/groups/views/default/forum/topics.php b/mod/groups/views/default/forum/topics.php
index 799e252d8..e67294c72 100644
--- a/mod/groups/views/default/forum/topics.php
+++ b/mod/groups/views/default/forum/topics.php
@@ -12,7 +12,7 @@
if(elgg_get_page_owner()->isMember(get_loggedin_user())) {
?>
<div class="content-header-options">
- <a class="action-button" href="<?php echo elgg_get_site_url(); ?>mod/groups/addtopic.php?group_guid=<?php echo $vars['group_guid']; ?>"><?php echo elgg_echo("groups:addtopic"); ?></a>
+ <a class="elgg-action-button" href="<?php echo elgg_get_site_url(); ?>mod/groups/addtopic.php?group_guid=<?php echo $vars['group_guid']; ?>"><?php echo elgg_echo("groups:addtopic"); ?></a>
</div>
<?php
}
diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php
index dcda51fd8..534cb3a91 100644
--- a/mod/groups/views/default/groups/css.php
+++ b/mod/groups/views/default/groups/css.php
@@ -34,7 +34,7 @@
/* group invitations */
-.group_invitations a.action-button,
+.group_invitations a.elgg-action-button,
.group_invitations a.submit-button {
float:right;
margin:0 0 0 14px;
diff --git a/mod/groups/views/default/groups/groupprofile.php b/mod/groups/views/default/groups/groupprofile.php
index 02b1205fe..a21985bea 100644
--- a/mod/groups/views/default/groups/groupprofile.php
+++ b/mod/groups/views/default/groups/groupprofile.php
@@ -52,7 +52,7 @@ $action_buttons = '';
if (!empty($actions)) {
$action_buttons = '<div class="content-header-options">';
foreach ($actions as $url => $action) {
- $action_buttons .= "<a class=\"action-button\" href=\"$url\">$action</a>";
+ $action_buttons .= "<a class=\"elgg-action-button\" href=\"$url\">$action</a>";
}
$action_buttons .= '</div>';
}
diff --git a/mod/groups/views/default/groups/invitationrequests.php b/mod/groups/views/default/groups/invitationrequests.php
index a1cca6489..17922c7a9 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="entity-listing-info">
<a href="<?php echo $url; ?>" class="submit-button"><?php echo elgg_echo('accept'); ?></a>
<?php
- echo str_replace('<a', '<a class="action-button disabled" ', elgg_view('output/confirmlink',array(
+ echo str_replace('<a', '<a class="elgg-action-button 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 714b8e8f9..2801b2301 100644
--- a/mod/groups/views/default/groups/membershiprequests.php
+++ b/mod/groups/views/default/groups/membershiprequests.php
@@ -21,7 +21,7 @@
<div class="entity-listing-info">
<a href="<?php echo $url; ?>" class="submit-button"><?php echo elgg_echo('accept'); ?></a>
<?php
- echo str_replace('<a', '<a class="action-button disabled" ', elgg_view('output/confirmlink',array(
+ echo str_replace('<a', '<a class="elgg-action-button 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/index.php b/mod/messages/index.php
index 3fe1b0f84..02257551e 100644
--- a/mod/messages/index.php
+++ b/mod/messages/index.php
@@ -32,7 +32,7 @@ $messages = elgg_get_entities_from_metadata(array(
// Set the page title
$area2 = "<div id='content-header'><div class='content-header-title'>";
$area2 .= elgg_view_title(elgg_echo("messages:inbox"))."</div>";
-$area2 .= "<div class='content-header-options'><a class='action-button' href='".elgg_get_site_url()."mod/messages/send.php'>" . elgg_echo('messages:compose') . "</a></div></div>";
+$area2 .= "<div class='content-header-options'><a class='elgg-action-button' href='".elgg_get_site_url()."mod/messages/send.php'>" . elgg_echo('messages:compose') . "</a></div></div>";
// Display them. The last variable 'page_view' is to allow the view page to know where this data is coming from,
// in this case it is the inbox, this is necessary to ensure the correct display
diff --git a/mod/messages/sent.php b/mod/messages/sent.php
index 989337f55..e70d34711 100644
--- a/mod/messages/sent.php
+++ b/mod/messages/sent.php
@@ -28,7 +28,7 @@ $messages = elgg_get_entities_from_metadata(array('metadata_name' => 'fromId', '
// Set the page title
$area2 = "<div id='content-header'><div class='content-header-title'>";
$area2 .= elgg_view_title(elgg_echo("messages:sentmessages"))."</div>";
-$area2 .= "<div class='content-header-options'><a class='action-button' href='".elgg_get_site_url()."mod/messages/send.php'>" . elgg_echo('messages:compose') . "</a></div></div>";
+$area2 .= "<div class='content-header-options'><a class='elgg-action-button' href='".elgg_get_site_url()."mod/messages/send.php'>" . elgg_echo('messages:compose') . "</a></div></div>";
// Set content
$area2 .= elgg_view("messages/forms/view",array('entity' => $messages, 'page_view' => "sent", 'limit' => $limit, 'offset' => $offset));
diff --git a/mod/messages/views/default/messages/messages.php b/mod/messages/views/default/messages/messages.php
index 5ac749135..0379bef35 100644
--- a/mod/messages/views/default/messages/messages.php
+++ b/mod/messages/views/default/messages/messages.php
@@ -44,12 +44,12 @@ if (isloggedin())
<div id="content-header" class="clearfix">
<div class="content-header-title"><h2><?php echo $vars['entity']->title; ?></h2></div>
<div class="content-header-options">
- <a class="action-button message_reply" onclick="elgg_slide_toggle(this,'#elgg-page-contents','#message_reply_form');"><?php echo elgg_echo('messages:answer'); ?></a>
+ <a class="elgg-action-button message_reply" onclick="elgg_slide_toggle(this,'#elgg-page-contents','#message_reply_form');"><?php echo elgg_echo('messages:answer'); ?></a>
<?php echo elgg_view("output/confirmlink", array(
'href' => "action/messages/delete?message_id=" . $vars['entity']->getGUID() . "&type={$type}&submit=" . elgg_echo('delete'),
'text' => elgg_echo('delete'),
'confirm' => elgg_echo('deleteconfirm'),
- 'class' => "action-button disabled"
+ 'class' => "elgg-action-button disabled"
));
?>
</div>
diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php
index 4522f7f6e..3ad8d7a29 100644
--- a/mod/profile/views/default/profile/css.php
+++ b/mod/profile/views/default/profile/css.php
@@ -145,7 +145,7 @@ img.medium {
#owner_block .profile_actions {
margin-top:10px;
}
-#owner_block .profile_actions a.action-button {
+#owner_block .profile_actions a.elgg-action-button {
margin-bottom:4px;
display: table;
}
@@ -344,7 +344,7 @@ p.visit_twitter a {
border-top: 1px solid #dedede;
margin-top:30px;
}
-.default_profile_reset .action-button {
+.default_profile_reset .elgg-action-button {
float:right;
}
/* field re-order */
diff --git a/mod/profile/views/default/profile/ownerblock.php b/mod/profile/views/default/profile/ownerblock.php
index 684209569..0350aea2f 100755
--- a/mod/profile/views/default/profile/ownerblock.php
+++ b/mod/profile/views/default/profile/ownerblock.php
@@ -38,8 +38,8 @@ if ($section == 'details') {
$profile_actions = "";
if (isloggedin() && (get_loggedin_userid() == elgg_get_page_owner_guid())) {
$profile_actions = "<div class='clearfix profile_actions'>";
- $profile_actions .= "<a href='".elgg_get_site_url()."pg/profile/{$user->username}/edit/details' class='action-button'>". elgg_echo('profile:edit') ."</a>";
- $profile_actions .= "<a href='".elgg_get_site_url()."pg/avatar/edit/{$user->username}' class='action-button'>". elgg_echo('avatar:edit') ."</a>";
+ $profile_actions .= "<a href='".elgg_get_site_url()."pg/profile/{$user->username}/edit/details' class='elgg-action-button'>". elgg_echo('profile:edit') ."</a>";
+ $profile_actions .= "<a href='".elgg_get_site_url()."pg/avatar/edit/{$user->username}' class='elgg-action-button'>". elgg_echo('avatar:edit') ."</a>";
$profile_actions .= "</div>";
} else {
$profile_actions = "<div class='profile_actions'>";
@@ -48,16 +48,16 @@ if (isloggedin() && (get_loggedin_userid() == elgg_get_page_owner_guid())) {
if ($user->isFriend()) {
$url = elgg_get_site_url()."action/friends/remove?friend={$user->getGUID()}";
$url = elgg_add_action_tokens_to_url($url);
- $profile_actions .= "<a href=\"$url\" class='action-button'>" . elgg_echo('friend:remove') . "</a>";
+ $profile_actions .= "<a href=\"$url\" class='elgg-action-button'>" . elgg_echo('friend:remove') . "</a>";
} else {
$url = elgg_get_site_url()."action/friends/add?friend={$user->getGUID()}";
$url = elgg_add_action_tokens_to_url($url);
- $profile_actions .= "<a href=\"$url\" class='action-button'>" . elgg_echo('friend:add') . "</a>";
+ $profile_actions .= "<a href=\"$url\" class='elgg-action-button'>" . elgg_echo('friend:add') . "</a>";
}
}
}
if (is_plugin_enabled('messages') && isloggedin()) {
- $profile_actions .= "<a href=\"".elgg_get_site_url()."mod/messages/send.php?send_to={$user->guid}\" class='action-button'>". elgg_echo('messages:send') ."</a>";
+ $profile_actions .= "<a href=\"".elgg_get_site_url()."mod/messages/send.php?send_to={$user->guid}\" class='elgg-action-button'>". elgg_echo('messages:send') ."</a>";
}
$profile_actions .= "</div>";
}
diff --git a/mod/reportedcontent/views/default/object/reported_content.php b/mod/reportedcontent/views/default/object/reported_content.php
index 1c4647cfe..0ac4457da 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' => 'action-button',
+ 'class' => 'elgg-action-button',
);
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' => 'action-button disabled',
+ 'class' => 'elgg-action-button disabled',
);
echo elgg_view('output/url', $params);
?>
diff --git a/mod/tabbed_profile/views/default/profile/css.php b/mod/tabbed_profile/views/default/profile/css.php
index 812daf16d..45c67b6b2 100644
--- a/mod/tabbed_profile/views/default/profile/css.php
+++ b/mod/tabbed_profile/views/default/profile/css.php
@@ -135,7 +135,7 @@ img.medium {
#owner_block .profile_actions {
margin-top:10px;
}
-#owner_block .profile_actions a.action-button {
+#owner_block .profile_actions a.elgg-action-button {
margin-bottom:4px;
display: table;
}
@@ -334,7 +334,7 @@ p.visit_twitter a {
border-top: 1px solid #dedede;
margin-top:30px;
}
-.default_profile_reset .action-button {
+.default_profile_reset .elgg-action-button {
float:right;
}
/* field re-order */
diff --git a/mod/tabbed_profile/views/default/profile/ownerblock.php b/mod/tabbed_profile/views/default/profile/ownerblock.php
index 85c930678..8f6d333a5 100755
--- a/mod/tabbed_profile/views/default/profile/ownerblock.php
+++ b/mod/tabbed_profile/views/default/profile/ownerblock.php
@@ -38,8 +38,8 @@ if ($section == 'details') {
$profile_actions = "";
if (isloggedin() && (get_loggedin_userid() == elgg_get_page_owner_guid())) {
$profile_actions = "<div class='clearfix profile_actions'>";
- $profile_actions .= "<a href='".elgg_get_site_url()."pg/profile/{$user->username}/edit/details' class='action-button'>". elgg_echo('profile:edit') ."</a>";
- $profile_actions .= "<a href='".elgg_get_site_url()."pg/avatar/edit/{$user->username}' class='action-button'>". elgg_echo('avatar:edit') ."</a>";
+ $profile_actions .= "<a href='".elgg_get_site_url()."pg/profile/{$user->username}/edit/details' class='elgg-action-button'>". elgg_echo('profile:edit') ."</a>";
+ $profile_actions .= "<a href='".elgg_get_site_url()."pg/avatar/edit/{$user->username}' class='elgg-action-button'>". elgg_echo('avatar:edit') ."</a>";
$profile_actions .= "</div>";
} else {
$profile_actions = "<div class='profile_actions'>";
@@ -48,16 +48,16 @@ if (isloggedin() && (get_loggedin_userid() == elgg_get_page_owner_guid())) {
if ($user->isFriend()) {
$url = elgg_get_site_url()."action/friends/remove?friend={$user->getGUID()}";
$url = elgg_add_action_tokens_to_url($url);
- $profile_actions .= "<a href=\"$url\" class='action-button'>" . elgg_echo('friend:remove') . "</a>";
+ $profile_actions .= "<a href=\"$url\" class='elgg-action-button'>" . elgg_echo('friend:remove') . "</a>";
} else {
$url = elgg_get_site_url()."action/friends/add?friend={$user->getGUID()}";
$url = elgg_add_action_tokens_to_url($url);
- $profile_actions .= "<a href=\"$url\" class='action-button'>" . elgg_echo('friend:add') . "</a>";
+ $profile_actions .= "<a href=\"$url\" class='elgg-action-button'>" . elgg_echo('friend:add') . "</a>";
}
}
}
if (is_plugin_enabled('messages') && isloggedin()) {
- $profile_actions .= "<a href=\"".elgg_get_site_url()."mod/messages/send.php?send_to={$user->guid}\" class='action-button'>". elgg_echo('messages:send') ."</a>";
+ $profile_actions .= "<a href=\"".elgg_get_site_url()."mod/messages/send.php?send_to={$user->guid}\" class='elgg-action-button'>". elgg_echo('messages:send') ."</a>";
}
$profile_actions .= "</div>";
}
diff --git a/mod/thewire/views/default/object/thewire.php b/mod/thewire/views/default/object/thewire.php
index 4ccd5d7f4..b2a8b65c9 100644
--- a/mod/thewire/views/default/object/thewire.php
+++ b/mod/thewire/views/default/object/thewire.php
@@ -30,7 +30,7 @@ if (isset($vars['entity'])) {
<?php
if(isloggedin()){
?>
- <a href="<?php echo elgg_get_site_url(); ?>mod/thewire/add.php?wire_username=<?php echo $vars['entity']->getOwnerEntity()->username; ?>" class="action-button reply small"><?php echo elgg_echo('thewire:reply'); ?></a>
+ <a href="<?php echo elgg_get_site_url(); ?>mod/thewire/add.php?wire_username=<?php echo $vars['entity']->getOwnerEntity()->username; ?>" class="elgg-action-button reply small"><?php echo elgg_echo('thewire:reply'); ?></a>
<?php
}//close reply if statement
// if the user looking at thewire post can edit, show the delete link
diff --git a/mod/thewire/views/default/thewire/css.php b/mod/thewire/views/default/thewire/css.php
index a00acaec5..26981d86e 100644
--- a/mod/thewire/views/default/thewire/css.php
+++ b/mod/thewire/views/default/thewire/css.php
@@ -77,7 +77,7 @@
float:right;
width:65px;
}
-.wire_post_options .action-button.reply.small {
+.wire_post_options .elgg-action-button.reply.small {
float:right;
}
.wire_post_options .delete-button {
@@ -88,7 +88,7 @@
/* latest wire post on profile page */
-.wire_post .action-button.update.small {
+.wire_post .elgg-action-button.update.small {
float:right;
padding:4px;
position: absolute;
diff --git a/mod/thewire/views/default/thewire/forms/add.php b/mod/thewire/views/default/thewire/forms/add.php
index a7f7977b7..5a3e40e5f 100644
--- a/mod/thewire/views/default/thewire/forms/add.php
+++ b/mod/thewire/views/default/thewire/forms/add.php
@@ -18,7 +18,7 @@
<?php
$action_txt = elgg_echo('post');
$display .= "<textarea name='new_post_textarea' value='' onKeyDown=\"textCounter(document.new_post.new_post_textarea,document.new_post.remLen1,140)\" onKeyUp=\"textCounter(document.new_post.new_post_textarea,document.new_post.remLen1,140)\">{$msg}</textarea>";
- $display .= "<input type='submit' class='action-button' value='{$action_txt}' />";
+ $display .= "<input type='submit' class='elgg-action-button' value='{$action_txt}' />";
$display .= "<div class='character_count'><input readonly type=\"text\" name=\"remLen1\" size=\"3\" maxlength=\"3\" value=\"140\">";
echo $display;
echo elgg_echo("thewire:charleft") . "</div>";
diff --git a/mod/thewire/views/default/thewire/profile_status.php b/mod/thewire/views/default/thewire/profile_status.php
index 09d878c81..ec1980abc 100644
--- a/mod/thewire/views/default/thewire/profile_status.php
+++ b/mod/thewire/views/default/thewire/profile_status.php
@@ -26,7 +26,7 @@ if ($latest_wire) {
echo $content;
if ($owner == get_loggedin_userid()) {
$text = elgg_echo('thewire:update');
- echo "<a class='action-button update small' href=\"{$url_to_wire}\">$text</a>";
+ echo "<a class='elgg-action-button update small' href=\"{$url_to_wire}\">$text</a>";
}
echo $time;
echo "</div></div>";