diff --git a/db_update.php b/db_update.php index 34e29c22..a4fbeb9c 100644 --- a/db_update.php +++ b/db_update.php @@ -387,6 +387,13 @@ echo 'Adding INDEX done
'; } +echo 'module update berliWidgets start
'; +$moduleInstance = Vtiger_Module::getInstance("berliWidgets"); +if($moduleInstance) { + updateVtlibModule("berliWidgets", "packages/vtiger/mandatory/berliCleverReach.zip"); +} +echo 'module update berliWidgets done
'; + echo 'module update berliCleverReach start
'; $moduleInstance = Vtiger_Module::getInstance("berliCleverReach"); if($moduleInstance) { diff --git a/packages/vtiger/mandatory/berliWidgets.zip b/packages/vtiger/mandatory/berliWidgets.zip index 86641ef6..34d48da8 100644 Binary files a/packages/vtiger/mandatory/berliWidgets.zip and b/packages/vtiger/mandatory/berliWidgets.zip differ diff --git a/pkg/vtiger/modules/berliWidgets/languages/de_de/berliWidgets.php b/pkg/vtiger/modules/berliWidgets/languages/de_de/berliWidgets.php index d88f6bef..97a22227 100644 --- a/pkg/vtiger/modules/berliWidgets/languages/de_de/berliWidgets.php +++ b/pkg/vtiger/modules/berliWidgets/languages/de_de/berliWidgets.php @@ -3,7 +3,9 @@ 'berliWidgets' => 'berliWidgets', 'LBL_RELATED_TO' => 'bezogen auf', 'LBL_NO_RECORDS' => 'keine Daten', - + 'LBL_WRITE_ACCESS_FOR' => 'Sie haben keine Erstellrechte für ', + 'LBL_MODULE_DENIED' => 'Der Modulzugang ist gesperrt.', + 'LBL_PROBLEM_UPLOAD' => 'Es gab ein Update Problem, bitte die Seite neu laden und nochmal versuchen.', ); ?> \ No newline at end of file diff --git a/pkg/vtiger/modules/berliWidgets/languages/en_us/berliWidgets.php b/pkg/vtiger/modules/berliWidgets/languages/en_us/berliWidgets.php index 9c25e3c7..beff9e8f 100644 --- a/pkg/vtiger/modules/berliWidgets/languages/en_us/berliWidgets.php +++ b/pkg/vtiger/modules/berliWidgets/languages/en_us/berliWidgets.php @@ -3,7 +3,9 @@ 'berliWidgets' => 'berliWidgets', 'LBL_RELATED_TO' => 'related to', 'LBL_NO_RECORDS' => 'no data', - + 'LBL_WRITE_ACCESS_FOR' => 'You do not have create privileges for ', + 'LBL_MODULE_DENIED' => 'The module access is denied.', + 'LBL_PROBLEM_UPLOAD' => 'There has been an upload problem. Please reload the page an try again.', ); ?> \ No newline at end of file diff --git a/pkg/vtiger/modules/berliWidgets/manifest.xml b/pkg/vtiger/modules/berliWidgets/manifest.xml index 74bd9739..e09a022c 100644 --- a/pkg/vtiger/modules/berliWidgets/manifest.xml +++ b/pkg/vtiger/modules/berliWidgets/manifest.xml @@ -5,7 +5,7 @@ extension - 1.0.0 + 1.0.1 6.5.0 6.* diff --git a/pkg/vtiger/modules/berliWidgets/modules/berliWidgets/actions/saveDroppedDocument.php b/pkg/vtiger/modules/berliWidgets/modules/berliWidgets/actions/saveDroppedDocument.php index 60b3e074..799f8ffe 100644 --- a/pkg/vtiger/modules/berliWidgets/modules/berliWidgets/actions/saveDroppedDocument.php +++ b/pkg/vtiger/modules/berliWidgets/modules/berliWidgets/actions/saveDroppedDocument.php @@ -19,6 +19,7 @@ public function checkPermission(Vtiger_Request $request) { } public function process(Vtiger_Request $request) { + global $currentModule; $db = PearDatabase::getInstance(); $current_user = Users_Record_Model::getCurrentUserModel(); $parentid = $request->get('recordid');