Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2022-09-09 06:31:17 +02:00
commit 5cd59a7a84
36 changed files with 280 additions and 202 deletions

View File

@ -49,16 +49,19 @@ class SeedDMS_Controller_ViewOnline extends SeedDMS_Controller_Common {
*/
$this->params['content'] = $content;
if(null === $this->callHook('version')) {
header("Content-Type: " . $content->getMimeType());
$efilename = rawurlencode($content->getOriginalFileName());
if (!isset($settings->_viewOnlineFileTypes) || !is_array($settings->_viewOnlineFileTypes) || !in_array(strtolower($content->getFileType()), $settings->_viewOnlineFileTypes)) {
header("Content-Disposition: attachment; filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
} else {
header("Content-Disposition: filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
}
header("Cache-Control: must-revalidate");
if(file_exists($dms->contentDir . $content->getPath())) {
header("Content-Type: " . $content->getMimeType());
$efilename = rawurlencode($content->getOriginalFileName());
if (!isset($settings->_viewOnlineFileTypes) || !is_array($settings->_viewOnlineFileTypes) || !in_array(strtolower($content->getFileType()), $settings->_viewOnlineFileTypes)) {
header("Content-Disposition: attachment; filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
} else {
header("Content-Disposition: filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
}
header("Cache-Control: must-revalidate");
header("ETag: ".$content->getChecksum());
sendFile($dms->contentDir.$content->getPath());
sendFile($dms->contentDir.$content->getPath());
}
}
break;
}

View File

@ -1,42 +1,42 @@
<?php
// MyDMS. Document Management System
// Copyright (C) 2002-2005 Markus Westphal
// Copyright (C) 2006-2008 Malcolm Cowe
<?php
// MyDMS. Document Management System
// Copyright (C) 2002-2005 Markus Westphal
// Copyright (C) 2006-2008 Malcolm Cowe
// Copyright (C) 2010 Matteo Lucarelli
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
include("../inc/inc.Settings.php");
include("../inc/inc.AccessUtils.php");
include("../inc/inc.ClassAccess.php");
include("../inc/inc.ClassDocument.php");
include("../inc/inc.ClassFolder.php");
include("../inc/inc.ClassGroup.php");
include("../inc/inc.ClassUser.php");
include("../inc/inc.DBAccess.php");
include("../inc/inc.FileUtils.php");
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
include("../inc/inc.Settings.php");
include("../inc/inc.AccessUtils.php");
include("../inc/inc.ClassAccess.php");
include("../inc/inc.ClassDocument.php");
include("../inc/inc.ClassFolder.php");
include("../inc/inc.ClassGroup.php");
include("../inc/inc.ClassUser.php");
include("../inc/inc.DBAccess.php");
include("../inc/inc.FileUtils.php");
include("../inc/inc.Authentication.php");
print "<html></body>";
if (!$user->isAdmin()) {
print "<b>ERROR: You must be administrator to execute the update</b>";
die;
die;
}
function update_content()
function update_content()
{
GLOBAL $db,$settings;
@ -45,7 +45,7 @@ function update_content()
if (!makedir($settings->_contentDir."/temp")) return false;
// for all contents
$queryStr = "SELECT * FROM tblDocumentContent";
$queryStr = "SELECT * FROM tblDocumentContent";
$contents = $db->getResultArray($queryStr);
if (is_bool($contents)&&!$contents) return false;
@ -75,7 +75,7 @@ function update_db()
GLOBAL $db,$settings;
// for all contents
$queryStr = "SELECT * FROM tblDocumentContent";
$queryStr = "SELECT * FROM tblDocumentContent";
$contents = $db->getResultArray($queryStr);
if (is_bool($contents)&&!$contents) return false;
@ -100,25 +100,24 @@ function update_db()
if (!$db->getResult($queryStr)) return false;
return true;
}
}
print "<b>Updating ...please wait</b><br>";
if (!update_content()) {
if (!update_content()) {
print "<b>ERROR: An error occurred during the directory reordering</b>";
die;
die;
}
if (!update_db()) {
if (!update_db()) {
print "<b>ERROR: An error occurred during the DB update</b>";
print "<br><b>Please try to execute the update.sql manually</b>";
die;
die;
}
print "<b>Update done</b><br>";
print "</body></html>";
?>
print "</body></html>";

View File

@ -1,33 +1,33 @@
-- mysql -uroot -ppassword mydms < update.sql
-- this script must be executed when updating form a version < 1.8.1
-- --------------------------------------------------------
--
-- New table for document-related files
-- --------------------------------------------------------
--
-- New table for document-related files
--
CREATE TABLE `tblDocumentFiles` (
`id` int(11) NOT NULL auto_increment,
`document` int(11) NOT NULL default '0',
`userID` int(11) NOT NULL default '0',
`comment` text,
`name` varchar(150) default NULL,
`date` int(12) default NULL,
`dir` varchar(255) NOT NULL default '',
`orgFileName` varchar(150) NOT NULL default '',
`fileType` varchar(10) NOT NULL default '',
`mimeType` varchar(70) NOT NULL default '',
PRIMARY KEY (`id`)
) ;
CREATE TABLE `tblDocumentFiles` (
`id` int(11) NOT NULL auto_increment,
`document` int(11) NOT NULL default '0',
`userID` int(11) NOT NULL default '0',
`comment` text,
`name` varchar(150) default NULL,
`date` int(12) default NULL,
`dir` varchar(255) NOT NULL default '',
`orgFileName` varchar(150) NOT NULL default '',
`fileType` varchar(10) NOT NULL default '',
`mimeType` varchar(70) NOT NULL default '',
PRIMARY KEY (`id`)
) Engine=MyISAM ;
-- --------------------------------------------------------
--
-- Not longer required by new filesystem structure
-- --------------------------------------------------------
--
-- Not longer required by new filesystem structure
--
DROP TABLE `tblDirPath`;
DROP TABLE `tblPathList`;
DROP TABLE `tblDirPath`;
DROP TABLE `tblPathList`;

View File

@ -1,39 +1,39 @@
<?php
// MyDMS. Document Management System
// Copyright (C) 2002-2005 Markus Westphal
// Copyright (C) 2006-2008 Malcolm Cowe
<?php
// MyDMS. Document Management System
// Copyright (C) 2002-2005 Markus Westphal
// Copyright (C) 2006-2008 Malcolm Cowe
// Copyright (C) 2010 Matteo Lucarelli
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
include("../inc/inc.Settings.php");
include("../inc/inc.AccessUtils.php");
include("../inc/inc.ClassAccess.php");
include("../inc/inc.ClassDocument.php");
include("../inc/inc.ClassFolder.php");
include("../inc/inc.ClassGroup.php");
include("../inc/inc.ClassUser.php");
include("../inc/inc.DBAccess.php");
include("../inc/inc.FileUtils.php");
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
include("../inc/inc.Settings.php");
include("../inc/inc.AccessUtils.php");
include("../inc/inc.ClassAccess.php");
include("../inc/inc.ClassDocument.php");
include("../inc/inc.ClassFolder.php");
include("../inc/inc.ClassGroup.php");
include("../inc/inc.ClassUser.php");
include("../inc/inc.DBAccess.php");
include("../inc/inc.FileUtils.php");
include("../inc/inc.Authentication.php");
print "<html></body>";
if (!$user->isAdmin()) {
print "<b>ERROR: You must be administrator to execute the update</b>";
die;
die;
}
function update_db()
@ -52,22 +52,21 @@ function update_db()
if (!$db->getResult($queryStr)) return false;
return true;
}
}
print "<b>Updating ...please wait</b><br>";
print "<pre>";
print "<pre>";
if (!update_db()) {
print "</pre>";
print "<b>ERROR: An error occurred during the DB update</b>";
print "<br><b>Please try to execute the update.sql manually</b>";
die;
}else print "</pre><b>Update done</b><br>";
print "</body></html>";
?>
print "</body></html>";

View File

@ -1,10 +1,10 @@
-- mysql -uyouruser -pyourpassword yourdb < update.sql
-- this script must be executed when updating form a version < 1.9
-- --------------------------------------------------------
--
-- New field for hidden users
-- --------------------------------------------------------
--
-- New field for hidden users
--
ALTER TABLE `tblUsers` ADD `hidden` smallint(1) NOT NULL default '0' ;
@ -12,27 +12,27 @@ ALTER TABLE `tblUsers` ADD `hidden` smallint(1) NOT NULL default '0' ;
--
-- New field for group manager permission
--
ALTER TABLE `tblGroupMembers` ADD `manager` smallint(1) NOT NULL default '0' ;
--
-- Table structure for mandatory reviewers
--
CREATE TABLE `tblMandatoryReviewers` (
`userID` int(11) NOT NULL default '0',
`reviewerUserID` int(11) NOT NULL default '0',
`reviewerGroupID` int(11) NOT NULL default '0',
PRIMARY KEY (`userID`,`reviewerUserID`,`reviewerGroupID`)
) ;
ALTER TABLE `tblGroupMembers` ADD `manager` smallint(1) NOT NULL default '0' ;
--
-- Table structure for mandatory approvers
--
CREATE TABLE `tblMandatoryApprovers` (
`userID` int(11) NOT NULL default '0',
`approverUserID` int(11) NOT NULL default '0',
`approverGroupID` int(11) NOT NULL default '0',
PRIMARY KEY (`userID`,`approverUserID`,`approverGroupID`)
) ;
--
-- Table structure for mandatory reviewers
--
CREATE TABLE `tblMandatoryReviewers` (
`userID` int(11) NOT NULL default '0',
`reviewerUserID` int(11) NOT NULL default '0',
`reviewerGroupID` int(11) NOT NULL default '0',
PRIMARY KEY (`userID`,`reviewerUserID`,`reviewerGroupID`)
) Engine=MyISAM ;
--
-- Table structure for mandatory approvers
--
CREATE TABLE `tblMandatoryApprovers` (
`userID` int(11) NOT NULL default '0',
`approverUserID` int(11) NOT NULL default '0',
`approverGroupID` int(11) NOT NULL default '0',
PRIMARY KEY (`userID`,`approverUserID`,`approverGroupID`)
) Engine=MyISAM ;

View File

@ -1,39 +1,39 @@
<?php
// MyDMS. Document Management System
// Copyright (C) 2002-2005 Markus Westphal
// Copyright (C) 2006-2008 Malcolm Cowe
<?php
// MyDMS. Document Management System
// Copyright (C) 2002-2005 Markus Westphal
// Copyright (C) 2006-2008 Malcolm Cowe
// Copyright (C) 2010 Matteo Lucarelli
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
include("../inc/inc.Settings.php");
include("../inc/inc.AccessUtils.php");
include("../inc/inc.ClassAccess.php");
include("../inc/inc.ClassDocument.php");
include("../inc/inc.ClassFolder.php");
include("../inc/inc.ClassGroup.php");
include("../inc/inc.ClassUser.php");
include("../inc/inc.DBAccess.php");
include("../inc/inc.FileUtils.php");
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
include("../inc/inc.Settings.php");
include("../inc/inc.AccessUtils.php");
include("../inc/inc.ClassAccess.php");
include("../inc/inc.ClassDocument.php");
include("../inc/inc.ClassFolder.php");
include("../inc/inc.ClassGroup.php");
include("../inc/inc.ClassUser.php");
include("../inc/inc.DBAccess.php");
include("../inc/inc.FileUtils.php");
include("../inc/inc.Authentication.php");
print "<html></body>";
if (!$user->isAdmin()) {
print "<b>ERROR: You must be administrator to execute the update</b>";
die;
die;
}
function update_db()
@ -52,22 +52,20 @@ function update_db()
if (!$db->getResult($queryStr)) return false;
return true;
}
}
print "<b>Updating ...please wait</b><br>";
print "<pre>";
print "<pre>";
if (!update_db()) {
print "</pre>";
print "<b>ERROR: An error occurred during the DB update</b>";
print "<br><b>Please try to execute the update.sql manually</b>";
die;
}else print "</pre><b>Update done</b><br>";
print "</body></html>";
?>
print "</body></html>";

View File

@ -20,9 +20,7 @@
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
function check($doupdate=0) { /* {{{ */
global $db, $settings;
function check($db, $doupdate=0) { /* {{{ */
$arr = array();
$arr['tblDocuments'] = array('key'=>'id', 'fields'=>array('name', 'comment', 'keywords'));
$arr['tblDocumentFiles'] = array('key'=>'id', 'fields'=>array('name', 'comment', 'mimeType'));
@ -91,7 +89,7 @@ else
$doupdate = 0;
$doupdate = 1;
if (!check($doupdate)) {
if (!check($db, $doupdate)) {
print "<p>Update failed</p>";
}

View File

@ -222,6 +222,7 @@ URL: [url]',
'backup_tools' => 'أدوات النسخ الاحتياطية',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'بين',
'bg_BG' => 'بلغارية',
@ -861,6 +862,8 @@ URL: [url]',
'mandatory_reviewers' => 'مراجعين اجباريين',
'mandatory_reviewer_no_access' => 'ممنوع دخول المراجع الإجباري',
'march' => 'مارس',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'الحجم الاقصى للملف',
'may' => 'مايو',
'menu_dropfolder' => 'صفحة المجلد',

View File

@ -205,6 +205,7 @@ $text = array(
'backup_tools' => 'Иструменти за бекъп',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'между',
'bg_BG' => 'Български',
@ -790,6 +791,8 @@ $text = array(
'mandatory_reviewers' => '',
'mandatory_reviewer_no_access' => '',
'march' => 'март',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Лимит за размер на файла',
'may' => 'май',
'menu_dropfolder' => '',

View File

@ -210,6 +210,7 @@ URL: [url]',
'backup_tools' => 'Eines de còpia de seguretat',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'entre',
'bg_BG' => 'Búlgar',
@ -795,6 +796,8 @@ URL: [url]',
'mandatory_reviewers' => '',
'mandatory_reviewer_no_access' => '',
'march' => 'Març',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Mida màxima de pujada de cada fitxer',
'may' => 'Maig',
'menu_dropfolder' => '',

View File

@ -234,6 +234,7 @@ URL: [url]',
'backup_tools' => 'Nástroje pro zálohování',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'mezi',
'bg_BG' => 'Bulharština',
@ -892,6 +893,8 @@ URL: [url]',
'mandatory_reviewers' => 'Stanovení recenzenti',
'mandatory_reviewer_no_access' => 'Stanovený recenzent \'[user]\' má nedostatečná přístupová práva.',
'march' => 'Březen',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Max. délka pro nahrání jednoho souboru',
'may' => 'Květen',
'menu_dropfolder' => 'Vhazovací složka',

View File

@ -19,7 +19,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// Translators: Admin (3119), dgrutsch (22)
// Translators: Admin (3122), dgrutsch (22)
$text = array(
'2_factor_auth' => '2-Faktor Authentifizierung',
@ -273,6 +273,7 @@ URL: [url]</p>',
'backup_tools' => 'Backup tools',
'batch_change_owner' => 'Besitzer ändern',
'batch_new_owner_msg' => 'Der Besitzer von [count] Dokuments wurde geändert.',
'batch_operation' => 'Massenoperation',
'batch_operation_result' => 'Ergebnis der Massenoperation',
'between' => 'zwischen',
'bg_BG' => 'Bulgarisch',
@ -1035,6 +1036,8 @@ URL: [url]</p>',
'mandatory_reviewers' => 'Zwingende Prüfer',
'mandatory_reviewer_no_access' => 'Zwingender Prüfer \'[user]\' hat nicht ausreichende Zugriffsrechte.',
'march' => 'März',
'mark_document' => 'Dokument für Massenoperation auswählen',
'mark_folder' => 'Ordner für Massenoperation auswählen',
'max_upload_size' => 'Maximale Dateigröße',
'may' => 'Mai',
'menu_dropfolder' => 'Ablageordner',

View File

@ -205,6 +205,7 @@ $text = array(
'backup_tools' => 'Εργαλεία εφεδρικής καταγραφής',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'μεταξύ',
'bg_BG' => 'Βουλγάρικα',
@ -790,6 +791,8 @@ $text = array(
'mandatory_reviewers' => '',
'mandatory_reviewer_no_access' => '',
'march' => 'Μάρτιος',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Μέγιστο μέγεθος μεταφόρτωσης',
'may' => 'Μάϊος',
'menu_dropfolder' => '',

View File

@ -19,7 +19,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// Translators: Admin (2213), archonwang (3), dgrutsch (9), netixw (14)
// Translators: Admin (2216), archonwang (3), dgrutsch (9), netixw (14)
$text = array(
'2_factor_auth' => '2-factor authentication',
@ -273,6 +273,7 @@ URL: [url]</p>',
'backup_tools' => 'Backup tools',
'batch_change_owner' => 'Change owner',
'batch_new_owner_msg' => 'The owner of [count] documents has been changed.',
'batch_operation' => 'Batch operation',
'batch_operation_result' => 'Result of batch operation',
'between' => 'between',
'bg_BG' => 'Bulgarian',
@ -1036,6 +1037,8 @@ URL: [url]</p>',
'mandatory_reviewers' => 'Mandatory reviewers',
'mandatory_reviewer_no_access' => 'Mandatory reviewer \'[user]\' has insufficient access rights.',
'march' => 'March',
'mark_document' => 'Mark document for batch operation',
'mark_folder' => 'Mark folder for batch operation',
'max_upload_size' => 'Maximum upload size',
'may' => 'May',
'menu_dropfolder' => 'Drop folder',

View File

@ -229,6 +229,7 @@ URL: [url]',
'backup_tools' => 'Herramientas de copia de seguridad',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'entre',
'bg_BG' => 'Búlgaro',
@ -880,6 +881,8 @@ URL: [url]',
'mandatory_reviewers' => 'Revisores obligatorios',
'mandatory_reviewer_no_access' => 'El revisor obligatorio \'[user]\' no tiene suficiente nivel de acceso.',
'march' => 'Marzo',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Tamaño máximo de subida para cada fichero',
'may' => 'Mayo',
'menu_dropfolder' => '',

View File

@ -263,6 +263,7 @@ URL : [url]</p>',
'backup_tools' => 'Outils de sauvegarde',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'entre',
'bg_BG' => 'Bulgare',
@ -1022,6 +1023,8 @@ URL : [url]</p>',
'mandatory_reviewers' => 'Examinateurs',
'mandatory_reviewer_no_access' => 'Examinateur \'[user]\' ne dispose pas des droits suffisants',
'march' => 'Mars',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Taille maximum de fichier déposé',
'may' => 'Mai',
'menu_dropfolder' => 'Dossier de dépôt',

View File

@ -234,6 +234,7 @@ Internet poveznica: [url]',
'backup_tools' => 'Alat za sigurnosnu kopiju',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'između',
'bg_BG' => 'Bugarski',
@ -873,6 +874,8 @@ Internet poveznica: [url]',
'mandatory_reviewers' => 'Obavezni recezenti',
'mandatory_reviewer_no_access' => 'Recezenti \'[user]\' nemaju dovoljno prava pristupa.',
'march' => 'Ožujak',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Max. veličina za prijenos',
'may' => 'Svibanj',
'menu_dropfolder' => '',

View File

@ -229,6 +229,7 @@ URL: [url]',
'backup_tools' => 'Mentő eszközök',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'között',
'bg_BG' => 'Bulgár',
@ -868,6 +869,8 @@ URL: [url]',
'mandatory_reviewers' => 'Kötelező felülvizsgálók',
'mandatory_reviewer_no_access' => 'Kötelező felülvizsgáló \'[user]\' nem rendelkezik elegendő jogosultságokkal.',
'march' => 'Március',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Legnagyobb feltölthető méret',
'may' => 'Május',
'menu_dropfolder' => '',

View File

@ -243,6 +243,7 @@ URL: [url]</p>',
'backup_tools' => 'Alat cadangan',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => '',
'bg_BG' => 'Bulgaria',
@ -924,6 +925,8 @@ URL: [url]</p>',
'mandatory_reviewers' => '',
'mandatory_reviewer_no_access' => 'Mandatory reviewer \'[user]\' memiliki hak akses yang tidak memadai.',
'march' => 'Maret',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Ukuran maksimum unggahan',
'may' => 'Mei',
'menu_dropfolder' => 'Seret folder',

View File

@ -234,6 +234,7 @@ URL: [url]',
'backup_tools' => 'Strumenti di backup',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'tra',
'bg_BG' => 'Bulgaro',
@ -878,6 +879,8 @@ URL: [url]',
'mandatory_reviewers' => 'Revisori necessari',
'mandatory_reviewer_no_access' => 'Il revisore necessario \'[user]\' non ha sufficienti permessi d\'accesso.',
'march' => 'Marzo',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Dimensione massima caricabile per ogni file',
'may' => 'Maggio',
'menu_dropfolder' => 'Cartella di pubblicazione',

View File

@ -236,6 +236,7 @@ URL: [url]',
'backup_tools' => '백업 도구',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => '사이',
'bg_BG' => '불가리아',
@ -874,6 +875,8 @@ URL: [url]',
'mandatory_reviewers' => '필수 검토자',
'mandatory_reviewer_no_access' => '필수 검수자\'[user]\'가 충분한 권한을 가지고 있지 않습니다.',
'march' => '3월',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => '최대 업로드 크기',
'may' => '월',
'menu_dropfolder' => '',

View File

@ -232,6 +232,7 @@ URL: [url]',
'backup_tools' => 'ເຄື່ອງມືສຳຮອງຂໍມູນ',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'ລະຫວ່າງ',
'bg_BG' => 'ບັດແກເຣີຍ',
@ -871,6 +872,8 @@ URL: [url]',
'mandatory_reviewers' => 'ຜູ້ກວດສອບແບບບັງຄັບ',
'mandatory_reviewer_no_access' => 'ຜູ້ກວດສອບແບບບັງຄັບ "[user] " ມີສິດທິການເຂົ້າເຖິງບໍ່ພຽງພໍ',
'march' => 'ເດືອນມີນາ',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'ຂະຫນາດການອັບໂຫລດສູງສຸດ',
'may' => 'ເດືອນພຶດສະພາ',
'menu_dropfolder' => 'ວາງໂຟລເດີ',

View File

@ -234,6 +234,7 @@ URL: [url]',
'backup_tools' => 'Sikkerhetskopi-verktøy',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'mellom',
'bg_BG' => 'Bulgaria',
@ -892,6 +893,8 @@ URL: [url]',
'mandatory_reviewers' => 'Obligatorisk korrekturleser',
'mandatory_reviewer_no_access' => 'Obligatorisk korrekturleser \'[user]\' har mangelfull adgangsrettigheter.',
'march' => 'Mars',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Maksimal størrelse for opplasting',
'may' => 'Mai',
'menu_dropfolder' => 'Slipp mappe',

View File

@ -227,6 +227,7 @@ URL: [url]',
'backup_tools' => 'Backup-gereedschap',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'tussen',
'bg_BG' => 'Bulgaars',
@ -885,6 +886,8 @@ URL: [url]',
'mandatory_reviewers' => 'Verplichte beoordelaars \'[user]\'',
'mandatory_reviewer_no_access' => 'De verplichte gebruikers hebben onvoldoende rechten.',
'march' => 'maart',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Maximale upload omvang voor ieder bestand',
'may' => 'mei',
'menu_dropfolder' => 'Dropfolder',

View File

@ -222,6 +222,7 @@ URL: [url]',
'backup_tools' => 'Narzędzia kopii zapasowej',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'między',
'bg_BG' => 'Bułgarski',
@ -861,6 +862,8 @@ URL: [url]',
'mandatory_reviewers' => 'Wymagani przeglądający',
'mandatory_reviewer_no_access' => 'Obowiązkowy recenzent \'[user]\' ma niewystarczające prawa dostępu.',
'march' => 'Marzec',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Maksymalny rozmiar pliku',
'may' => 'Maj',
'menu_dropfolder' => 'Folder zrzutu',

View File

@ -234,6 +234,7 @@ URL: [url]',
'backup_tools' => 'Ferramentas de backup',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'entre',
'bg_BG' => 'Bulgaro',
@ -892,6 +893,8 @@ URL: [url]',
'mandatory_reviewers' => 'Avaliadores obrigatórios',
'mandatory_reviewer_no_access' => 'Avaliação obrigatória \'[usuário]\' tem direitos de acesso insuficientes.',
'march' => 'Março',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Tamanho máximo de arquivo para upload',
'may' => 'Maio',
'menu_dropfolder' => 'Pasta suspensa',

View File

@ -234,6 +234,7 @@ URL: [url]',
'backup_tools' => 'Backup tools',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'între',
'bg_BG' => 'Bulgară',
@ -873,6 +874,8 @@ URL: [url]',
'mandatory_reviewers' => 'Revizuitori obligatorii',
'mandatory_reviewer_no_access' => 'Revizuitorul obligatoriu \'[user]\' are drepturi de acces insuficiente.',
'march' => 'Martie',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Dimensiunea maximă de încărcare',
'may' => 'Mai',
'menu_dropfolder' => '',

View File

@ -234,6 +234,7 @@ URL: [url]',
'backup_tools' => 'Резервные копии',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'между',
'bg_BG' => 'Болгарский',
@ -873,6 +874,8 @@ URL: [url]',
'mandatory_reviewers' => 'Обязательные рецензенты',
'mandatory_reviewer_no_access' => 'Обязательный рецензент «[user]» не имеет достаточных прав доступа.',
'march' => 'Март',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Ограничение размера файла',
'may' => 'Май',
'menu_dropfolder' => '',

View File

@ -234,6 +234,7 @@ URL: [url]',
'backup_tools' => 'Zálohovacie nástroje',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'medzi',
'bg_BG' => 'Bulharsky',
@ -892,6 +893,8 @@ URL: [url]',
'mandatory_reviewers' => 'Mandatory reviewers',
'mandatory_reviewer_no_access' => 'Mandatory reviewer \'[user]\' has insufficient access rights.',
'march' => 'Marec',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Maximálna veľkosť každého súboru',
'may' => 'Máj',
'menu_dropfolder' => 'Drop zložka',

View File

@ -235,6 +235,7 @@ URL: [url]',
'backup_tools' => 'Backup-verktyg',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'mellan',
'bg_BG' => 'Bulgariska',
@ -879,6 +880,8 @@ URL: [url]',
'mandatory_reviewers' => 'Obligatoriska granskare',
'mandatory_reviewer_no_access' => 'Obligatorisk person som granskar \'[user]\' ar inga rättigheter.',
'march' => 'Mars',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Maximal storlek för uppladdning',
'may' => 'Maj',
'menu_dropfolder' => 'Mapp för snabbuppladdning',

View File

@ -228,6 +228,7 @@ URL: [url]',
'backup_tools' => 'Yedekleme araçları',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'arasında',
'bg_BG' => 'Bulgarca',
@ -867,6 +868,8 @@ URL: [url]',
'mandatory_reviewers' => 'Zorunlu kontrol edenler',
'mandatory_reviewer_no_access' => 'Zorunlu kontrol üyesi \'[user]\' yetersiz erişim haklarına sahip',
'march' => 'Mart',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Maksimum yükleme boyutu',
'may' => 'Mayıs',
'menu_dropfolder' => '',

View File

@ -234,6 +234,7 @@ URL: [url]',
'backup_tools' => 'Резервні копії',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => 'між',
'bg_BG' => 'Bulgarian',
@ -873,6 +874,8 @@ URL: [url]',
'mandatory_reviewers' => 'Обов\'язкові рецензенти',
'mandatory_reviewer_no_access' => 'Обов\'язковий рецензент «[user]» не має достатніх прав доступу.',
'march' => 'Березень',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => 'Обмеження розміру файлу',
'may' => 'Травень',
'menu_dropfolder' => '',

View File

@ -226,6 +226,7 @@ URL: [url]',
'backup_tools' => '备份工具',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => '时间段',
'bg_BG' => '保加利亚语',
@ -875,6 +876,8 @@ URL: [url]',
'mandatory_reviewers' => '必选校对人',
'mandatory_reviewer_no_access' => '必须的评审员\'[user]\'没有足够的访问权限',
'march' => '三 月',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => '最大上传文件大小',
'may' => '五 月',
'menu_dropfolder' => '删除文件夹',

View File

@ -234,6 +234,7 @@ URL: [url]',
'backup_tools' => '備份工具',
'batch_change_owner' => '',
'batch_new_owner_msg' => '',
'batch_operation' => '',
'batch_operation_result' => '',
'between' => '時間段',
'bg_BG' => '保加利亞語',
@ -892,6 +893,8 @@ URL: [url]',
'mandatory_reviewers' => '強制性審稿人',
'mandatory_reviewer_no_access' => '強制性審閱者\'[user] \'沒有足夠的訪問權限。',
'march' => '三 月',
'mark_document' => '',
'mark_folder' => '',
'max_upload_size' => '最大上傳文件大小',
'may' => '五 月',
'menu_dropfolder' => '下拉目錄',

View File

@ -414,16 +414,16 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
// if (!$this->params['user']->isGuest()) {
$menuitems = array();
if ($accessobject->check_view_access('MyDocuments'))
$menuitems['my_documents'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyDocuments.php", 'label'=>'my_documents');
$menuitems['my_documents'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyDocuments.php", 'label'=>getMLText('my_documents'));
if ($accessobject->check_view_access('MyAccount'))
$menuitems['my_account'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyAccount.php", 'label'=>'my_account');
$menuitems['my_account'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyAccount.php", 'label'=>getMLText('my_account'));
if ($accessobject->check_view_access('TransmittalMgr'))
$menuitems['my_transmittals'] = array('link'=>$this->params['settings']->_httpRoot."out/out.TransmittalMgr.php", 'label'=>'my_transmittals');
$menuitems['my_transmittals'] = array('link'=>$this->params['settings']->_httpRoot."out/out.TransmittalMgr.php", 'label'=>getMLText('my_transmittals'));
if($this->hasHook('userMenuItems'))
$menuitems = $this->callHook('userMenuItems', $menuitems);
if($menuitems) {
foreach($menuitems as $menuitem) {
echo "<li><a href=\"".$menuitem['link']."\">".getMLText($menuitem['label'])."</a></li>";
echo "<li><a href=\"".$menuitem['link']."\">".$menuitem['label']."</a></li>";
}
echo " <li class=\"divider\"></li>\n";
}
@ -510,11 +510,11 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
echo " <ul class=\"nav\">\n";
$menuitems = array();
/* calendar {{{ */
if ($this->params['enablecalendar'] && $accessobject->check_view_access('Calendar')) $menuitems['calendar'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.Calendar.php?mode='.$this->params['calendardefaultview'], 'label'=>"calendar");
if ($accessobject->check_view_access('AdminTools')) $menuitems['admintools'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.AdminTools.php', 'label'=>"admin_tools");
if ($this->params['enablecalendar'] && $accessobject->check_view_access('Calendar')) $menuitems['calendar'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.Calendar.php?mode='.$this->params['calendardefaultview'], 'label'=>getMLText("calendar"));
if ($accessobject->check_view_access('AdminTools')) $menuitems['admintools'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.AdminTools.php', 'label'=>getMLText("admin_tools"));
if($this->params['enablehelp']) {
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$menuitems['help'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.Help.php?context='.$tmp[1], 'label'=>"help");
$menuitems['help'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.Help.php?context='.$tmp[1], 'label'=>getMLText("help"));
}
/* }}} End of calendar */
@ -524,14 +524,14 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
foreach($menuitems as $menuitem) {
if(!empty($menuitem['children'])) {
echo " <li class=\"dropdown\">\n";
echo " <a class=\"dropdown-toggle\" data-toggle=\"dropdown\">".getMLText($menuitem['label'])." <i class=\"fa fa-caret-down\"></i></a>\n";
echo " <a class=\"dropdown-toggle\" data-toggle=\"dropdown\">".$menuitem['label']." <i class=\"fa fa-caret-down\"></i></a>\n";
echo " <ul class=\"dropdown-menu\" role=\"menu\">\n";
foreach($menuitem['children'] as $submenuitem) {
echo " <li><a href=\"".$submenuitem['link']."\"".(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '').">".getMLText($submenuitem['label'])."</a></li>\n";
echo " <li><a href=\"".$submenuitem['link']."\"".(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '').">".$submenuitem['label']."</a></li>\n";
}
echo " </ul>\n";
} else {
echo "<li><a href=\"".$menuitem['link']."\"".(isset($menuitem['target']) ? ' target="'.$menuitem['target'].'"' : '').">".getMLText($menuitem['label'])."</a></li>";
echo "<li><a href=\"".$menuitem['link']."\"".(isset($menuitem['target']) ? ' target="'.$menuitem['target'].'"' : '').">".$menuitem['label']."</a></li>";
}
}
echo " </ul>\n";

View File

@ -337,11 +337,11 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
echo " <ul class=\"navbar-nav\">\n";
$menuitems = array();
/* calendar {{{ */
if ($this->params['enablecalendar'] && $accessobject->check_view_access('Calendar')) $menuitems['calendar'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.Calendar.php?mode='.$this->params['calendardefaultview'], 'label'=>"calendar");
if ($this->params['user']->isAdmin()) $menuitems['admintools'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.AdminTools.php', 'label'=>"admin_tools");
if ($this->params['enablecalendar'] && $accessobject->check_view_access('Calendar')) $menuitems['calendar'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.Calendar.php?mode='.$this->params['calendardefaultview'], 'label'=>getMLText("calendar"));
if ($accessobject->check_view_access('AdminTools')) $menuitems['admintools'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.AdminTools.php', 'label'=>getMLText("admin_tools"));
if($this->params['enablehelp']) {
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$menuitems['help'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.Help.php?context='.$tmp[1], 'label'=>"help");
$menuitems['help'] = array('link'=>$this->params['settings']->_httpRoot.'out/out.Help.php?context='.$tmp[1], 'label'=>getMLText("help"));
}
/* }}} End of calendar */
@ -351,14 +351,14 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
foreach($menuitems as $menuitem) {
if(!empty($menuitem['children'])) {
echo " <li class=\"nav-item dropdown\">\n";
echo " <a class=\"nav-link dropdown-toggle\" data-toggle=\"dropdown\">".getMLText($menuitem['label'])."</a>\n";
echo " <a class=\"nav-link dropdown-toggle\" data-toggle=\"dropdown\">".$menuitem['label']."</a>\n";
echo " <div class=\"dropdown-menu dropdown-menu-left\">\n";
foreach($menuitem['children'] as $submenuitem) {
echo " <a class=\"dropdown-item\" href=\"".$submenuitem['link']."\"".(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '').">".getMLText($submenuitem['label'])."</a>\n";
echo " <a class=\"dropdown-item\" href=\"".$submenuitem['link']."\"".(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '').">".$submenuitem['label']."</a>\n";
}
echo " </div>\n";
} else {
echo "<li class=\"nav-item\"><a class=\"nav-link\" href=\"".$menuitem['link']."\"".(isset($menuitem['target']) ? ' target="'.$menuitem['target'].'"' : '').">".getMLText($menuitem['label'])."</a></li>";
echo "<li class=\"nav-item\"><a class=\"nav-link\" href=\"".$menuitem['link']."\"".(isset($menuitem['target']) ? ' target="'.$menuitem['target'].'"' : '').">".$menuitem['label']."</a></li>";
}
}
echo " </ul>\n";
@ -408,16 +408,16 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
if (!$this->params['user']->isGuest()) {
$menuitems = array();
if ($accessobject->check_view_access('MyDocuments'))
$menuitems['my_documents'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyDocuments.php?inProcess=1", 'label'=>'my_documents');
$menuitems['my_documents'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyDocuments.php?inProcess=1", 'label'=>getMLText('my_documents'));
if ($accessobject->check_view_access('MyAccount'))
$menuitems['my_account'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyAccount.php", 'label'=>'my_account');
$menuitems['my_account'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyAccount.php", 'label'=>getMLText('my_account'));
if ($accessobject->check_view_access('TransmittalMgr'))
$menuitems['my_transmittals'] = array('link'=>$this->params['settings']->_httpRoot."out/out.TransmittalMgr.php", 'label'=>'my_transmittals');
$menuitems['my_transmittals'] = array('link'=>$this->params['settings']->_httpRoot."out/out.TransmittalMgr.php", 'label'=>getMLText('my_transmittals'));
if($this->hasHook('userMenuItems'))
$menuitems = $this->callHook('userMenuItems', $menuitems);
if($menuitems) {
foreach($menuitems as $menuitem) {
echo " <a class=\"dropdown-item\" href=\"".$menuitem['link']."\">".getMLText($menuitem['label'])."</a>\n";
echo " <a class=\"dropdown-item\" href=\"".$menuitem['link']."\">".$menuitem['label']."</a>\n";
}
echo " <div class=\"dropdown-divider\"></div>\n";
}