parent
578a391393
commit
3f03f3b4b7
1 changed files with 8 additions and 6 deletions
|
@ -1532,6 +1532,7 @@ function admin_page_site(App $a)
|
|||
$storage_form_prefix=preg_replace('|[^a-zA-Z0-9]|' ,'', $storage_current_backend);
|
||||
|
||||
$storage_form = [];
|
||||
if (!is_null($storage_current_backend) && $storage_current_backend != "") {
|
||||
foreach($storage_current_backend::getOptions() as $name => $info) {
|
||||
$type = $info[0];
|
||||
$info[0] = $storage_form_prefix . '_' . $name;
|
||||
|
@ -1539,6 +1540,7 @@ function admin_page_site(App $a)
|
|||
$info['field'] = 'field_' . $type . '.tpl';
|
||||
$storage_form[$name] = $info;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$t = Renderer::getMarkupTemplate('admin/site.tpl');
|
||||
|
|
Loading…
Reference in a new issue