mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
Implement close button for homepage boxes. Still needs a little work to hide the close icon when the box is forced by admin.
This commit is contained in:
parent
84e61f3d92
commit
9ec105b3ca
@ -145,8 +145,8 @@
|
||||
$control_array = Array(
|
||||
'up',
|
||||
'down',
|
||||
/*'question',
|
||||
'close',
|
||||
/*'question',
|
||||
'edit'*/
|
||||
);
|
||||
@reset($control_array);
|
||||
|
BIN
phpgwapi/templates/idots/images/close.button.png
Normal file
BIN
phpgwapi/templates/idots/images/close.button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 888 B |
@ -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:
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user