aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-12 12:26:22 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-12 12:26:22 +0000
commit13796cc18921229f16f9b387e360f1c908336671 (patch)
tree8a902de5b99350a2f1816479c7101cd5531fa877 /mod/groups/views
parent4c7837dafcf4b1c68c011f178315f38285aa0030 (diff)
downloadelgg-13796cc18921229f16f9b387e360f1c908336671.tar.gz
elgg-13796cc18921229f16f9b387e360f1c908336671.tar.bz2
Updated and simplified generic entity listings metadata block (edit, delete, access) to not use tables.
git-svn-id: http://code.elgg.org/elgg/trunk@5375 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/forum/topicposts.php4
-rw-r--r--mod/groups/views/default/groups/css.php8
2 files changed, 3 insertions, 9 deletions
diff --git a/mod/groups/views/default/forum/topicposts.php b/mod/groups/views/default/forum/topicposts.php
index 61bca298a..29ce21358 100644
--- a/mod/groups/views/default/forum/topicposts.php
+++ b/mod/groups/views/default/forum/topicposts.php
@@ -27,11 +27,11 @@
// if comment owner, group owner, or site admin - display edit and delete options
if (groups_can_edit_discussion($vars['entity'], page_owner_entity()->owner_guid)) {
echo "<div class='entity_metadata'>";
- echo "<div class='delete_button'>".elgg_view("output/confirmlink",array(
+ echo "<span class='delete_button'>".elgg_view("output/confirmlink",array(
'href' => $vars['url'] . "action/groups/deletepost?post=" . $vars['entity']->id . "&topic=" . get_input('topic') . "&group=" . get_input('group_guid'),
'text' => elgg_echo('delete'),
'confirm' => elgg_echo('deleteconfirm')
- ))."</div>";
+ ))."</span>";
echo "<a class='link' onclick=\"elgg_slide_toggle(this,'.topic','.edit_comment');\">".elgg_echo('edit')."</a>";
echo "</div>";
diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php
index a0a03aad0..d4fac1b22 100644
--- a/mod/groups/views/default/groups/css.php
+++ b/mod/groups/views/default/groups/css.php
@@ -115,13 +115,7 @@
}
/* Group forum */
-.topic .link {
- color:#aaaaaa;
- margin-right:10px;
-}
-.topic .entity_metadata .delete_button {
- margin-top:3px;
-}
+
/* all browsers - force tinyMCE on edit forum posts to be full-width */
.edit_comment .defaultSkin table.mceLayout {
width: 694px !important;