aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/views
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 /mod/thewire/views
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 'mod/thewire/views')
-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
4 files changed, 5 insertions, 5 deletions
diff --git a/mod/thewire/views/default/object/thewire.php b/mod/thewire/views/default/object/thewire.php
index 09568a47f..d15454815 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(elgg_is_logged_in()){
?>
- <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>
+ <a href="<?php echo elgg_get_site_url(); ?>mod/thewire/add.php?wire_username=<?php echo $vars['entity']->getOwnerEntity()->username; ?>" class="elgg-button-action 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 26981d86e..d7beac105 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 .elgg-action-button.reply.small {
+.wire_post_options .elgg-button-action.reply.small {
float:right;
}
.wire_post_options .delete-button {
@@ -88,7 +88,7 @@
/* latest wire post on profile page */
-.wire_post .elgg-action-button.update.small {
+.wire_post .elgg-button-action.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 5a3e40e5f..3b3519e40 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='elgg-action-button' value='{$action_txt}' />";
+ $display .= "<input type='submit' class='elgg-button-action' 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 401401171..29dc69329 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 == elgg_get_logged_in_user_guid()) {
$text = elgg_echo('thewire:update');
- echo "<a class='elgg-action-button update small' href=\"{$url_to_wire}\">$text</a>";
+ echo "<a class='elgg-button-action update small' href=\"{$url_to_wire}\">$text</a>";
}
echo $time;
echo "</div></div>";