aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts/widgets
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-04 01:50:01 +0200
committerSem <sembrestels@riseup.net>2012-08-04 01:50:01 +0200
commit18df06b9cd34c62dd8e9b1dfffd2f75e2815d859 (patch)
treee880bce8a7b10a6b3bc8c60168bc5ab35acf40f8 /views/default/page/layouts/widgets
parent71edfd80a0baf95b86a29547252b01973511828f (diff)
parent4dd2ca9d54b64ebbf5eba3e3036f747cadb40825 (diff)
downloadelgg-18df06b9cd34c62dd8e9b1dfffd2f75e2815d859.tar.gz
elgg-18df06b9cd34c62dd8e9b1dfffd2f75e2815d859.tar.bz2
Merge branch 'translations-fallback-js' of git://github.com/sembrestels/Elgg into lorea-preprod
Conflicts: mod/developers/views/default/theme_preview/grid.php
Diffstat (limited to 'views/default/page/layouts/widgets')
-rw-r--r--views/default/page/layouts/widgets/add_panel.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/views/default/page/layouts/widgets/add_panel.php b/views/default/page/layouts/widgets/add_panel.php
index 9eb78cdb6..d9b11342a 100644
--- a/views/default/page/layouts/widgets/add_panel.php
+++ b/views/default/page/layouts/widgets/add_panel.php
@@ -50,10 +50,13 @@ foreach ($widgets as $column_widgets) {
?>
</ul>
<?php
- $params = array(
+ echo elgg_view('input/hidden', array(
'name' => 'widget_context',
'value' => $context
- );
- echo elgg_view('input/hidden', $params);
+ ));
+ echo elgg_view('input/hidden', array(
+ 'name' => 'show_access',
+ 'value' => (int)$vars['show_access']
+ ));
?>
</div>