diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-30 16:36:52 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-30 16:36:52 +0000 |
commit | df94762e70f5c143b728a62d90c298fb887231c6 (patch) | |
tree | 408a573c876801728806d27a2d5062a2bb7d3dbe /views/default/canvas | |
parent | 2733869001f3cab50d78a79277e6438e258863af (diff) | |
download | elgg-df94762e70f5c143b728a62d90c298fb887231c6.tar.gz elgg-df94762e70f5c143b728a62d90c298fb887231c6.tar.bz2 |
Added the ability to control widget contexts
git-svn-id: https://code.elgg.org/elgg/trunk@1211 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/canvas')
-rw-r--r-- | views/default/canvas/layouts/widgets.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php index 47a45c450..cbd267377 100644 --- a/views/default/canvas/layouts/widgets.php +++ b/views/default/canvas/layouts/widgets.php @@ -39,6 +39,9 @@ <table class="draggable_widget" cellspacing="0"><tr><td width="149px"> <h3> <?php echo $widget->name; ?> + <input type="hidden" name="multiple" value="<?php echo $widgettypes[$widget->handler]->multiple; ?>" /> + <input type="hidden" name="side" value="<?php echo in_array('side',$widgettypes[$widget->handler]->positions); ?>" /> + <input type="hidden" name="main" value="<?php echo in_array('main',$widgettypes[$widget->handler]->positions); ?>" /> <input type="hidden" name="handler" value="<?php echo htmlentities($handler); ?>" /> <input type="hidden" name="description" value="<?php echo htmlentities($widget->description); ?>" /> <input type="hidden" name="guid" value="0" /> @@ -93,6 +96,9 @@ Choose the features you want to add to your page by dragging them from the <b>Wi <input type="hidden" name="handler" value="<?php echo $widget->handler; ?>" /> + <input type="hidden" name="multiple" value="<?php echo $widgettypes[$widget->handler]->multiple; ?>" /> + <input type="hidden" name="side" value="<?php echo in_array('side',$widgettypes[$widget->handler]->positions); ?>" /> + <input type="hidden" name="main" value="<?php echo in_array('main',$widgettypes[$widget->handler]->positions); ?>" /> <input type="hidden" name="description" value="<?php echo htmlentities($widgettypes[$widget->handler]->description); ?>" /> <input type="hidden" name="guid" value="<?php echo $widget->getGUID(); ?>" /> </h3> @@ -131,6 +137,9 @@ Choose the features you want to add to your page by dragging them from the <b>Wi <input type="hidden" name="handler" value="<?php echo $widget->handler; ?>" /> + <input type="hidden" name="multiple" value="<?php echo $widgettypes[$widget->handler]->multiple; ?>" /> + <input type="hidden" name="side" value="<?php echo in_array('side',$widgettypes[$widget->handler]->positions); ?>" /> + <input type="hidden" name="main" value="<?php echo in_array('main',$widgettypes[$widget->handler]->positions); ?>" /> <input type="hidden" name="description" value="<?php echo htmlentities($widgettypes[$widget->handler]->description); ?>" /> <input type="hidden" name="guid" value="<?php echo $widget->getGUID(); ?>" /> </h3> |