aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 01:19:33 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 01:19:33 +0000
commit89ded32abebd0f2100e0014249df54bde7a44258 (patch)
tree81c542c9d101a75002a2cc3aed4e2de7e2eda9c5 /mod/thewire
parent6ed8d3f7c8b98f73ac461a7a45798b8f1ffb173b (diff)
downloadelgg-89ded32abebd0f2100e0014249df54bde7a44258.tar.gz
elgg-89ded32abebd0f2100e0014249df54bde7a44258.tar.bz2
Refs #2700 changed underscores to hyphens for the forms css elements
git-svn-id: http://code.elgg.org/elgg/trunk@7492 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/views/default/object/thewire.php4
-rw-r--r--mod/thewire/views/default/thewire/css.php6
-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, 7 insertions, 7 deletions
diff --git a/mod/thewire/views/default/object/thewire.php b/mod/thewire/views/default/object/thewire.php
index a94d3a4aa..66debd5e2 100644
--- a/mod/thewire/views/default/object/thewire.php
+++ b/mod/thewire/views/default/object/thewire.php
@@ -30,12 +30,12 @@ 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="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
if ($vars['entity']->canEdit()) {
- echo "<span class='delete_button'>" . elgg_view("output/confirmlink",array(
+ echo "<span class='delete-button'>" . elgg_view("output/confirmlink",array(
'href' => "action/thewire/delete?thewirepost=" . $vars['entity']->getGUID(),
'text' => elgg_echo('delete'),
'confirm' => elgg_echo('deleteconfirm'),
diff --git a/mod/thewire/views/default/thewire/css.php b/mod/thewire/views/default/thewire/css.php
index 36c9bc844..230711c49 100644
--- a/mod/thewire/views/default/thewire/css.php
+++ b/mod/thewire/views/default/thewire/css.php
@@ -77,10 +77,10 @@
float:right;
width:65px;
}
-.wire_post_options .action_button.reply.small {
+.wire_post_options .action-button.reply.small {
float:right;
}
-.wire_post_options .delete_button {
+.wire_post_options .delete-button {
position: absolute;
bottom:5px;
right:5px;
@@ -88,7 +88,7 @@
/* latest wire post on profile page */
-.wire_post .action_button.update.small {
+.wire_post .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 536ec6ee2..a7f7977b7 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='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 6750a29cb..9a9c95ec0 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='action-button update small' href=\"{$url_to_wire}\">$text</a>";
}
echo $time;
echo "</div></div>";