mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +01:00
update portal
This commit is contained in:
parent
5636a0459e
commit
486e0b043f
@ -3,10 +3,10 @@
|
|||||||
* phpGroupWare API - Portal Box manager *
|
* phpGroupWare API - Portal Box manager *
|
||||||
* Written by Joseph Engo <jengo@phpgroupware.org> *
|
* Written by Joseph Engo <jengo@phpgroupware.org> *
|
||||||
* Helps manage the portal boxes for phpGroupWares main page *
|
* Helps manage the portal boxes for phpGroupWares main page *
|
||||||
* Copyright (C) 2000 - 2002 Joseph Engo *
|
* Copyright (C) 2000 - 2003 Joseph Engo *
|
||||||
* ------------------------------------------------------------------------ *
|
* ------------------------------------------------------------------------ *
|
||||||
* This library is part of the phpGroupWare API *
|
* This library is part of the phpGroupWare API *
|
||||||
* http://www.phpgroupware.org/api *
|
* http://www.phpgroupware.org *
|
||||||
* ------------------------------------------------------------------------ *
|
* ------------------------------------------------------------------------ *
|
||||||
* This library is free software; you can redistribute it and/or modify it *
|
* This library is free software; you can redistribute it and/or modify it *
|
||||||
* under the terms of the GNU Lesser General Public License as published by *
|
* under the terms of the GNU Lesser General Public License as published by *
|
||||||
@ -145,22 +145,27 @@
|
|||||||
'close',
|
'close',
|
||||||
'edit'
|
'edit'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ($GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] == 'funkwerk')
|
||||||
|
{
|
||||||
|
$up =
|
||||||
|
$down = '[->]';
|
||||||
|
$question = '[?]';
|
||||||
|
$close = '[x]';
|
||||||
|
$edit = '[' . lang('edit') . ']';
|
||||||
|
}
|
||||||
|
|
||||||
@reset($control_array);
|
@reset($control_array);
|
||||||
while(list($key,$param) = each($control_array))
|
while(list($key,$param) = each($control_array))
|
||||||
{
|
{
|
||||||
if(isset($this->$param) && $this->$param)
|
if(isset($this->$param) && $this->$param)
|
||||||
{
|
{
|
||||||
$image_width = 15;
|
|
||||||
if($param == 'edit')
|
|
||||||
{
|
|
||||||
$image_width = 30;
|
|
||||||
}
|
|
||||||
|
|
||||||
$control_link[] = array
|
$control_link[] = array
|
||||||
(
|
(
|
||||||
'param_url' => $this->$param,
|
'param_url' => $this->$param,
|
||||||
'link_img' => $GLOBALS['phpgw']->common->image('phpgwapi',$param.'.button'),
|
'link_img' => $GLOBALS['phpgw']->common->image('phpgwapi',$param.'.button'),
|
||||||
'img_width' => $image_width,
|
'link_icon' => '[ ' . lang($param) . ' ]',
|
||||||
|
'img_width' => ($param=='edit'?'30':'15'),
|
||||||
'lang_param_statustext' => lang($param)
|
'lang_param_statustext' => lang($param)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user