mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
it was nerving, being forced to have an icon for categories - many cat's dont
need an icon
This commit is contained in:
parent
0719a89986
commit
0e6474592e
@ -423,7 +423,10 @@
|
||||
$this->template->set_var('color',$GLOBALS['phpgw']->html->inputColor('cat_data[color]',$cat['data']['color'],lang('Click to select a color')));
|
||||
|
||||
//$options = '<option value=""'.(!$cat['data']['icon'] ? ' selected="1"':'').'>'.lang('none')."</options>\n";
|
||||
|
||||
$options = '';
|
||||
$options = '<option value="">'.lang('none')."</options>\n";
|
||||
|
||||
foreach ($this->icons as $icon)
|
||||
{
|
||||
$options .= '<option value="'.$icon.'"'.($icon == $cat['data']['icon'] ? ' selected="1"':'').'>'.
|
||||
|
Loading…
Reference in New Issue
Block a user