aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorPablo Martin <caedes@sindominio.net>2012-10-24 01:30:37 +0000
committerroot <root@migration.vz.lan>2012-10-24 01:30:50 +0000
commitc0863e36cb4a251dbcddae35d9198530dc6e6498 (patch)
tree15021a4278614718bd5a12fdb8886b2995ec96ee /views
parent5bfffd40e5649baed964c2fe7b6c7cb5e6a1257a (diff)
downloadelgg-c0863e36cb4a251dbcddae35d9198530dc6e6498.tar.gz
elgg-c0863e36cb4a251dbcddae35d9198530dc6e6498.tar.bz2
fix sss layout and set better margins.
Diffstat (limited to 'views')
-rw-r--r--views/default/custom_index_widgets/css.php6
-rw-r--r--views/default/page/layouts/index_1rsss.php15
-rw-r--r--views/default/widgets/cloud_generic_index/content.php5
-rw-r--r--views/default/widgets/latest_news_index/edit.php2
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;