mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Import/Export - add support for quotes in definition names
This commit is contained in:
parent
e05ab4e7b7
commit
14a0fbcb75
@ -54,7 +54,7 @@ use EGroupware\Api\Etemplate;
|
|||||||
|
|
||||||
if($definition)
|
if($definition)
|
||||||
{
|
{
|
||||||
$definition_obj = new importexport_definition($content['definition']);
|
$definition_obj = new importexport_definition($definition);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load application's translations
|
// Load application's translations
|
||||||
|
@ -251,7 +251,10 @@ class importexport_schedule_ui
|
|||||||
}
|
}
|
||||||
if (($title = $definition->get_title()))
|
if (($title = $definition->get_title()))
|
||||||
{
|
{
|
||||||
$options['definition'][$title] = $title;
|
$options['definition'][] = array(
|
||||||
|
'value' => $definition->get_identifier(),
|
||||||
|
'label' => $title
|
||||||
|
);
|
||||||
}
|
}
|
||||||
unset($definition);
|
unset($definition);
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<nextmatch-accountfilter empty_label="Owner" id="owner"/>
|
<nextmatch-accountfilter empty_label="Owner" id="owner"/>
|
||||||
</row>
|
</row>
|
||||||
<row class="row $row_cont[class]">
|
<row class="row $row_cont[class]">
|
||||||
<image src="${row}[type]" no_lang="1" onclick="window.open(egw::link('/index.php','menuaction=importexport.importexport_${row_cont[type]}_ui.{$row_cont[type]}_dialog&appname=${row_cont[application]}&definition=${row_cont[name]}'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;" class="lr_padding button"/>
|
<image src="${row}[type]" no_lang="1" onclick="window.open(egw::link('/index.php','menuaction=importexport.importexport_${row_cont[type]}_ui.{$row_cont[type]}_dialog&appname=${row_cont[application]}&definition=${row_cont[definition_id]}'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;" class="lr_padding button"/>
|
||||||
<description id="${row}[name]" no_lang="1" class="lr_padding"/>
|
<description id="${row}[name]" no_lang="1" class="lr_padding"/>
|
||||||
<description id="${row}[application]" class="lr_padding"/>
|
<description id="${row}[application]" class="lr_padding"/>
|
||||||
<listbox type="select-account" id="${row}[allowed_users]" no_lang="1" readonly="true" rows="5" empty_label='Private' class="lr_padding"/>
|
<listbox type="select-account" id="${row}[allowed_users]" no_lang="1" readonly="true" rows="5" empty_label='Private' class="lr_padding"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user