mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
Call functions in common statically
This commit is contained in:
parent
5fc2ffaba6
commit
58231dfad1
@ -260,7 +260,7 @@ class importexport_definitions_ui
|
|||||||
{
|
{
|
||||||
$GLOBALS['egw']->js->set_onload("document.getElementById('picturebox').style.display = 'none';");
|
$GLOBALS['egw']->js->set_onload("document.getElementById('picturebox').style.display = 'none';");
|
||||||
egw_framework::validate_file('.', 'etemplate', 'etemplate');
|
egw_framework::validate_file('.', 'etemplate', 'etemplate');
|
||||||
$GLOBALS['egw']->common->egw_header();
|
common::egw_header();
|
||||||
echo '<div id="divMain">'."\n";
|
echo '<div id="divMain">'."\n";
|
||||||
echo '<div><h3>{Im|Ex}port Wizard</h3></div>';
|
echo '<div><h3>{Im|Ex}port Wizard</h3></div>';
|
||||||
// adding a manual icon to every popup
|
// adding a manual icon to every popup
|
||||||
|
@ -191,11 +191,11 @@ class importexport_export_csv implements importexport_iface_export_record
|
|||||||
if(is_array($record->$name)) {
|
if(is_array($record->$name)) {
|
||||||
$names = array();
|
$names = array();
|
||||||
foreach($record->$name as $_name) {
|
foreach($record->$name as $_name) {
|
||||||
$names[] = $GLOBALS['egw']->common->grab_owner_name($_name);
|
$names[] = common::grab_owner_name($_name);
|
||||||
}
|
}
|
||||||
$record->$name = implode(', ', $names);
|
$record->$name = implode(', ', $names);
|
||||||
} else {
|
} else {
|
||||||
$record->$name = $GLOBALS['egw']->common->grab_owner_name($record->$name);
|
$record->$name = common::grab_owner_name($record->$name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user