From c0863e36cb4a251dbcddae35d9198530dc6e6498 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Wed, 24 Oct 2012 01:30:37 +0000 Subject: fix sss layout and set better margins. --- views/default/custom_index_widgets/css.php | 6 +++--- views/default/page/layouts/index_1rsss.php | 15 +++++++-------- views/default/widgets/cloud_generic_index/content.php | 5 +++-- views/default/widgets/latest_news_index/edit.php | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'views/default') diff --git a/views/default/custom_index_widgets/css.php b/views/default/custom_index_widgets/css.php index c30967cfa..e80d28684 100644 --- a/views/default/custom_index_widgets/css.php +++ b/views/default/custom_index_widgets/css.php @@ -102,14 +102,14 @@ /*width: 460px;*/ width: auto; padding: 0 0 5px; - margin-right: 10px; + margin: 10px 3px; border: 0 none; } table.index_mode{ - width: 99%; + width: 96%; + margin-left: 2%; border: 0 none; - margin: 20px 0; } td.small { diff --git a/views/default/page/layouts/index_1rsss.php b/views/default/page/layouts/index_1rsss.php index c99bdd720..0d43469e9 100644 --- a/views/default/page/layouts/index_1rsss.php +++ b/views/default/page/layouts/index_1rsss.php @@ -7,23 +7,22 @@ - - - - - +
-
+
+
-
+
+
-
+
+
diff --git a/views/default/widgets/cloud_generic_index/content.php b/views/default/widgets/cloud_generic_index/content.php index d87e70b16..1f4410f76 100644 --- a/views/default/widgets/cloud_generic_index/content.php +++ b/views/default/widgets/cloud_generic_index/content.php @@ -22,8 +22,9 @@ $widget_group = $vars["entity"]->widget_group; if (!isset($widget_group)) $widget_group = ""; - -$body = elgg_view_tagcloud($threshold, $num_items, $metadata_name, $maintype, $subtype, $widget_group , -1);; +$options = array('type' => $maintype, 'subtype' => $subtype); +$body = elgg_view_tagcloud($options); +//$body = elgg_view_tagcloud($threshold, $num_items, $metadata_name, $maintype, $subtype, $widget_group , -1);; echo $body; ?> diff --git a/views/default/widgets/latest_news_index/edit.php b/views/default/widgets/latest_news_index/edit.php index 65298076a..063b5ddc1 100644 --- a/views/default/widgets/latest_news_index/edit.php +++ b/views/default/widgets/latest_news_index/edit.php @@ -1,4 +1,4 @@ - num_items; if (!isset($num_items)) $num_items = 10; -- cgit v1.2.3