diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 02:03:29 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 02:03:29 +0000 |
commit | 2ef37109d866708def220d082c0430f77efd6410 (patch) | |
tree | 6f55647507b5a23a0030b8e806c21367da1957b0 /mod/reportedcontent/views/default/object | |
parent | 16539579880fbdc0136b815ea5d26c57f2399cb1 (diff) | |
download | elgg-2ef37109d866708def220d082c0430f77efd6410.tar.gz elgg-2ef37109d866708def220d082c0430f77efd6410.tar.bz2 |
adding margin to admin buttons
git-svn-id: http://code.elgg.org/elgg/trunk@7931 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/views/default/object')
-rw-r--r-- | mod/reportedcontent/views/default/object/reported_content.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mod/reportedcontent/views/default/object/reported_content.php b/mod/reportedcontent/views/default/object/reported_content.php index 0ac4457da..0ab157d62 100644 --- a/mod/reportedcontent/views/default/object/reported_content.php +++ b/mod/reportedcontent/views/default/object/reported_content.php @@ -13,14 +13,14 @@ $delete_url = elgg_get_site_url() . "action/reportedcontent/delete?guid=$report- //find out if the report is current or archive if ($report->state == 'archived') { - $reportedcontent_background = "archived_report"; + $reportedcontent_background = "reported-content-archived"; } else { - $reportedcontent_background = "active_report"; + $reportedcontent_background = "reported-content-active"; } ?> -<div class="admin_settings reported_content <?php echo $reportedcontent_background; ?>"> +<div class="reported-content <?php echo $reportedcontent_background; ?>"> <div class="clearfix controls"> <?php if ($report->state != 'archived') { @@ -36,7 +36,7 @@ if ($report->state == 'archived') { 'href' => $delete_url, 'text' => elgg_echo('reportedcontent:delete'), 'is_action' => true, - 'class' => 'elgg-action-button disabled', + 'class' => 'elgg-action-button', ); echo elgg_view('output/url', $params); ?> @@ -57,12 +57,12 @@ if ($report->state == 'archived') { <?php echo elgg_view('output/url', array( 'href' => '#', 'text' => elgg_echo('reportedcontent:moreinfo'), - 'class' => 'details_link', - 'onclick' => "elgg_slide_toggle(this, '.reported_content', '.reported_content_more{$report->getGUID()}'); return false;" + 'class' => "elgg-toggle", + 'internalid' => "elgg-toggler-report-$report->guid", )); ?> </p> - <div class="details hidden reported_content_more<?php echo $report->getGUID();?>"> + <div class="hidden" id="elgg-togglee-report-<?php echo $report->getGUID();?>"> <p> <b><?php echo elgg_echo('reportedcontent:objecturl'); ?>:</b> <?php echo elgg_view('output/url', array( |