parent
578a391393
commit
3f03f3b4b7
|
@ -1532,12 +1532,14 @@ function admin_page_site(App $a)
|
||||||
$storage_form_prefix=preg_replace('|[^a-zA-Z0-9]|' ,'', $storage_current_backend);
|
$storage_form_prefix=preg_replace('|[^a-zA-Z0-9]|' ,'', $storage_current_backend);
|
||||||
|
|
||||||
$storage_form = [];
|
$storage_form = [];
|
||||||
foreach($storage_current_backend::getOptions() as $name => $info) {
|
if (!is_null($storage_current_backend) && $storage_current_backend != "") {
|
||||||
$type = $info[0];
|
foreach($storage_current_backend::getOptions() as $name => $info) {
|
||||||
$info[0] = $storage_form_prefix . '_' . $name;
|
$type = $info[0];
|
||||||
$info['type'] = $type;
|
$info[0] = $storage_form_prefix . '_' . $name;
|
||||||
$info['field'] = 'field_' . $type . '.tpl';
|
$info['type'] = $type;
|
||||||
$storage_form[$name] = $info;
|
$info['field'] = 'field_' . $type . '.tpl';
|
||||||
|
$storage_form[$name] = $info;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user