mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-08 23:58:42 +01:00
Aggiunta possibilità di creare campi aggiuntivi con testo libero
This commit is contained in:
parent
af7249a17e
commit
81a5628301
@ -29,7 +29,7 @@ switch (post('op')) {
|
|||||||
'id_plugin' => $plugin,
|
'id_plugin' => $plugin,
|
||||||
'name' => post('name'),
|
'name' => post('name'),
|
||||||
'html_name' => post('html_name'),
|
'html_name' => post('html_name'),
|
||||||
'content' => post('content'),
|
'content' => $_POST['content'],
|
||||||
'on_add' => post('on_add'),
|
'on_add' => post('on_add'),
|
||||||
'top' => post('top'),
|
'top' => post('top'),
|
||||||
], ['id' => $id_record]);
|
], ['id' => $id_record]);
|
||||||
@ -46,7 +46,7 @@ switch (post('op')) {
|
|||||||
'id_module' => $module,
|
'id_module' => $module,
|
||||||
'id_plugin' => $plugin,
|
'id_plugin' => $plugin,
|
||||||
'name' => post('name'),
|
'name' => post('name'),
|
||||||
'content' => post('content'),
|
'content' => $_POST['content'],
|
||||||
'html_name' => secure_random_string(8),
|
'html_name' => secure_random_string(8),
|
||||||
]);
|
]);
|
||||||
$id_record = $dbo->lastInsertedID();
|
$id_record = $dbo->lastInsertedID();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user