Skip to content

Commit

Permalink
fixed berliWidgets error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKay85 committed Nov 19, 2020
1 parent c124f63 commit d83cfad
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
7 changes: 7 additions & 0 deletions db_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,13 @@
echo 'Adding INDEX done<br>';
}

echo 'module update berliWidgets start<br>';
$moduleInstance = Vtiger_Module::getInstance("berliWidgets");
if($moduleInstance) {
updateVtlibModule("berliWidgets", "packages/vtiger/mandatory/berliCleverReach.zip");
}
echo 'module update berliWidgets done<br>';

echo 'module update berliCleverReach start<br>';
$moduleInstance = Vtiger_Module::getInstance("berliCleverReach");
if($moduleInstance) {
Expand Down
Binary file modified packages/vtiger/mandatory/berliWidgets.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
);

?>
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
);

?>
2 changes: 1 addition & 1 deletion pkg/vtiger/modules/berliWidgets/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<label>berliWidgets</label>
<parent></parent>
<type>extension</type>
<version>1.0.0</version>
<version>1.0.1</version>
<dependencies>
<vtiger_version>6.5.0</vtiger_version>
<vtiger_max_version>6.*</vtiger_max_version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit d83cfad

Please sign in to comment.