mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
removed / reverted some earlier fixes which caused other problems
This commit is contained in:
parent
c8996cb302
commit
4794146748
@ -78,12 +78,12 @@
|
||||
{
|
||||
$GLOBALS['egw']->html =& CreateObject('phpgwapi.html');
|
||||
}
|
||||
if (!is_object($GLOBALS['egw']->template))
|
||||
{
|
||||
$GLOBALS['egw']->template =& CreateObject('phpgwapi.template');
|
||||
}
|
||||
$this->html = &$GLOBALS['egw']->html;
|
||||
|
||||
if (!is_object($GLOBALS['egw']->template))
|
||||
{
|
||||
$GLOBALS['egw']->template =& CreateObject('phpgwapi.Template');
|
||||
}
|
||||
$this->boetemplate($name,$load_via);
|
||||
|
||||
$this->xslt = is_object($GLOBALS['egw']->xslttpl);
|
||||
@ -1240,14 +1240,6 @@
|
||||
{
|
||||
$sels += $content["options-$name"];
|
||||
}
|
||||
if (empty($sels) && $cell['name']{0} = '#')
|
||||
{
|
||||
if(!is_array($this->customfields))
|
||||
{
|
||||
$this->customfields =& ExecMethod2('admin.customfields.get_customfields', $GLOBALS['egw_info']['flags']['currentapp']);
|
||||
}
|
||||
$sels = (array)$this->customfields[substr($cell['name'],1)]['values'];
|
||||
}
|
||||
if ($multiple && !is_array($value)) $value = explode(',',$value);
|
||||
if ($readonly || $cell['noprint'])
|
||||
{
|
||||
@ -1483,7 +1475,7 @@
|
||||
}
|
||||
if ($extra_label && ($label != '' || $html == ''))
|
||||
{
|
||||
if (strlen($label) > 1 && !$cell['no_lang'] && !($cell['label'] != $label || (int)$cell['no_lang'] == 2))
|
||||
if (strlen($label) > 1 && !($cell['no_lang'] && $cell['label'] != $label || (int)$cell['no_lang'] == 2))
|
||||
{
|
||||
$label = lang($label);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user