diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/custom_index_widgets/css.php | 6 | ||||
-rw-r--r-- | views/default/page/layouts/index_1rsss.php | 15 | ||||
-rw-r--r-- | views/default/widgets/cloud_generic_index/content.php | 5 | ||||
-rw-r--r-- | views/default/widgets/latest_news_index/edit.php | 2 |
4 files changed, 14 insertions, 14 deletions
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 @@ <table cellspacing="10" cellpadding="10" width="100%" class="<?php echo elgg_echo($layoutmode); ?>">
<tr>
- <td align="left" valign="top" class="half">
- <div id="leftcolumn_widgets" class="half_<?php echo elgg_echo($layoutmode); ?>_box">
+ <td align="left" valign="top" class="small">
+ <div id="leftcolumn_widgets" class="small_<?php echo elgg_echo($layoutmode); ?>_box">
<?php custom_index_show_widget_area($area1widgets) ?>
</div>
</td>
- <td align="left" valign="top" class="half">
- <div id="middlecolumn_widgets" class="half_<?php echo elgg_echo($layoutmode); ?>_box">
+ <td align="left" valign="top" class="small">
+ <div id="middlecolumn_widgets" class="small_<?php echo elgg_echo($layoutmode); ?>_box">
<?php custom_index_show_widget_area($area2widgets) ?>
</div>
</td>
- </tr>
- <tr >
- <td colspan="2" align="left" valign="top" class="big">
- <div id="rightcolumn_widgets" class="big_<?php echo elgg_echo($layoutmode); ?>_box">
+ <td align="left" valign="top" class="small">
+ <div id="rightcolumn_widgets" class="small_<?php echo elgg_echo($layoutmode); ?>_box">
<?php custom_index_show_widget_area($area3widgets) ?>
</div>
</td>
+
</tr>
</table>
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; |