diff --git a/controller.php b/controller.php index 56e986842..da22a512c 100755 --- a/controller.php +++ b/controller.php @@ -48,32 +48,33 @@ if ($segmenti) { // Lettura eventuali plugins modulo da inserire come tab echo ' -
-
-
-
-

- '.$structure->getTranslation('title'); +
+
+
+
+

+ '.$structure->getTranslation('title'); // Pulsante "Aggiungi" solo se il modulo รจ di tipo "table" e se esiste il template per la popup if ($structure->hasAddFile() && $structure->permission == 'rw') { echo ' - '; + '; } echo '

-
+

+
-
-
'; +
+
'; include base_dir().'/include/manager.php'; echo ' -
'; +
'; // Plugin $module_record = $record; @@ -81,14 +82,14 @@ foreach ($plugins as $plugin) { $record = $module_record; echo ' -
'; +
'; $id_plugin = $plugin->id; include base_dir().'/include/manager.php'; echo ' -
'; +
'; } $record = $module_record; @@ -99,14 +100,15 @@ redirectOperation($id_module, !empty($id_parent) ? $id_parent : $id_record); if ($user->is_admin && string_contains($module['option'], '|select|')) { echo '
-
- -
 
'; } -echo '
'; +echo ' +
'; // Widget in basso echo '{( "name": "widgets", "id_module": "'.$id_module.'", "position": "right", "place": "controller" )}';