diff --git a/phpgwapi/inc/class.portalbox.inc.php b/phpgwapi/inc/class.portalbox.inc.php index 613584e4d0..e19685b03a 100755 --- a/phpgwapi/inc/class.portalbox.inc.php +++ b/phpgwapi/inc/class.portalbox.inc.php @@ -145,8 +145,8 @@ $control_array = Array( 'up', 'down', - /*'question', 'close', + /*'question', 'edit'*/ ); @reset($control_array); diff --git a/phpgwapi/templates/idots/images/close.button.png b/phpgwapi/templates/idots/images/close.button.png new file mode 100644 index 0000000000..b2cc9be414 Binary files /dev/null and b/phpgwapi/templates/idots/images/close.button.png differ diff --git a/set_box.php b/set_box.php index d3b1b9e1c3..455f97fc90 100755 --- a/set_box.php +++ b/set_box.php @@ -92,9 +92,12 @@ } move_boxes($curr_position,$new_order,$offset,$max_count,0); break; + case 'close': + $GLOBALS['egw']->preferences->add($GLOBALS['egw']->applications->id2name($_GET['app']), 'homepage_display', 0); + $GLOBALS['egw']->preferences->save_repository(); + break; case 'edit': case 'question': - case 'close': default: }