From f992bfda00f7b6bbaff19cd36c5738cb858de112 Mon Sep 17 00:00:00 2001 From: Fabio Lovato Date: Sat, 5 Aug 2017 21:31:18 +0200 Subject: [PATCH] =?UTF-8?q?Aggiunta=20la=20possibilit=C3=A0=20di=20creare?= =?UTF-8?q?=20un=20nuovo=20record=20anche=20dall'interno=20della=20scheda?= =?UTF-8?q?=20di=20modifica=20di=20un=20altro=20record?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editor.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) mode change 100644 => 100755 editor.php diff --git a/editor.php b/editor.php old mode 100644 new mode 100755 index 5fdb8c851..1fe727cf6 --- a/editor.php +++ b/editor.php @@ -61,7 +61,15 @@ if (empty($records)) { $name = $module['title']; echo ' - '.$name.' + + '.$name; +// Pulsante "Aggiungi" solo se il modulo รจ di tipo "table" e se esiste il template per la popup +if (file_exists($docroot.'/modules/'.$module_dir.'/add.php') && $module['permessi'] == 'rw') { + echo ' + '; +} +echo ' + '._("Torna all'elenco").' ';