diff options
author | Pablo Martin <caedes@sindominio.net> | 2012-10-24 01:30:37 +0000 |
---|---|---|
committer | root <root@migration.vz.lan> | 2012-10-24 01:30:50 +0000 |
commit | c0863e36cb4a251dbcddae35d9198530dc6e6498 (patch) | |
tree | 15021a4278614718bd5a12fdb8886b2995ec96ee /views/default/widgets | |
parent | 5bfffd40e5649baed964c2fe7b6c7cb5e6a1257a (diff) | |
download | elgg-c0863e36cb4a251dbcddae35d9198530dc6e6498.tar.gz elgg-c0863e36cb4a251dbcddae35d9198530dc6e6498.tar.bz2 |
fix sss layout and set better margins.
Diffstat (limited to 'views/default/widgets')
-rw-r--r-- | views/default/widgets/cloud_generic_index/content.php | 5 | ||||
-rw-r--r-- | views/default/widgets/latest_news_index/edit.php | 2 |
2 files changed, 4 insertions, 3 deletions
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 @@ - <?php +<?php $num_items = $vars['entity']->num_items; if (!isset($num_items)) $num_items = 10; |