mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-06-02 02:25:09 +02:00
Display import button only for LSobject type with configured ioFormat
This commit is contained in:
parent
939863465f
commit
d7ca2eea75
|
@ -140,11 +140,13 @@ if(LSsession :: startLSsession()) {
|
|||
'url' => 'create.php?LSobject='.$LSobject,
|
||||
'action' => 'create'
|
||||
);
|
||||
$LSview_actions['import'] = array (
|
||||
'label' => 'Import',
|
||||
'url' => 'import.php?LSobject='.$LSobject,
|
||||
'action' => 'import'
|
||||
);
|
||||
if (!empty($object -> listValidIOformats())) {
|
||||
$LSview_actions['import'] = array (
|
||||
'label' => 'Import',
|
||||
'url' => 'import.php?LSobject='.$LSobject,
|
||||
'action' => 'import'
|
||||
);
|
||||
}
|
||||
}
|
||||
$LSview_actions['refresh'] = array (
|
||||
'label' => 'Refresh',
|
||||
|
|
Loading…
Reference in a new issue