mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
Merge branch 'seeddms-5.0.x' into develop
This commit is contained in:
commit
361b63256f
|
@ -27,6 +27,7 @@
|
|||
- send notification if folder is deleted by ajax call
|
||||
- add page ImportFS for mass importing files from drop folder
|
||||
- add initial version for editing text files online
|
||||
- further pages with content security policy turned on
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 4.3.24
|
||||
|
|
|
@ -61,7 +61,11 @@ class SeedDMS_SQLiteFTS_Indexer {
|
|||
/* Make sure the sequence of fields is identical to the field list
|
||||
* in SeedDMS_SQLiteFTS_Term
|
||||
*/
|
||||
$sql = 'CREATE VIRTUAL TABLE docs USING fts4(title, comment, keywords, category, mimetype, origfilename, owner, content, created, notindexed=created, matchinfo=fts3)';
|
||||
$version = SQLite3::version();
|
||||
if($version['versionNumber'] >= 3008000)
|
||||
$sql = 'CREATE VIRTUAL TABLE docs USING fts4(title, comment, keywords, category, mimetype, origfilename, owner, content, created, notindexed=created, matchinfo=fts3)';
|
||||
else
|
||||
$sql = 'CREATE VIRTUAL TABLE docs USING fts4(title, comment, keywords, category, mimetype, origfilename, owner, content, created, matchinfo=fts3)';
|
||||
$res = $index->_conn->exec($sql);
|
||||
if($res === false) {
|
||||
return null;
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
<email>uwe@steinmann.cx</email>
|
||||
<active>yes</active>
|
||||
</lead>
|
||||
<date>2016-02-01</date>
|
||||
<time>09:15:01</time>
|
||||
<date>2016-03-15</date>
|
||||
<time>15:59:07</time>
|
||||
<version>
|
||||
<release>1.0.3</release>
|
||||
<release>1.0.4</release>
|
||||
<api>1.0.1</api>
|
||||
</version>
|
||||
<stability>
|
||||
|
@ -23,7 +23,7 @@
|
|||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
add command for indexing postѕcript files
|
||||
make it work with sqlite3 < 3.8.0
|
||||
</notes>
|
||||
<contents>
|
||||
<dir baseinstalldir="SeedDMS" name="/">
|
||||
|
@ -114,5 +114,21 @@ add __get() to SQLiteFTS_Document because class.IndexInfo.php access class varia
|
|||
check if index exists before removing it when creating a new one
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2016-02-01</date>
|
||||
<time>09:15:01</time>
|
||||
<version>
|
||||
<release>1.0.3</release>
|
||||
<api>1.0.1</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
<api>stable</api>
|
||||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
add command for indexing postѕcript files
|
||||
</notes>
|
||||
</release>
|
||||
</changelog>
|
||||
</package>
|
||||
|
|
|
@ -377,6 +377,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'تعديل قائمة التنبيهات',
|
||||
'edit_folder_props' => 'تعديل مجلد',
|
||||
'edit_group' => 'تعديل مجموعة',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'تعديل المستخدم',
|
||||
'edit_user_details' => 'تعديل بيانات المستخدم',
|
||||
|
@ -971,6 +972,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => '',
|
||||
'settings_dropFolderDir_desc' => '',
|
||||
'settings_Edition' => 'اعدادات التحرير',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => '',
|
||||
|
|
|
@ -332,6 +332,7 @@ $text = array(
|
|||
'edit_folder_notify' => 'Списък с уведомявания за папка',
|
||||
'edit_folder_props' => 'Редактирай папка',
|
||||
'edit_group' => 'Редактирай група',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Редактирай потребител',
|
||||
'edit_user_details' => 'Редактирай данните на потребителя',
|
||||
|
@ -836,6 +837,8 @@ $text = array(
|
|||
'settings_dropFolderDir' => 'Директория за папката -пускане-',
|
||||
'settings_dropFolderDir_desc' => 'Тази папка може да се ползва за -пускане- на файлове във файловата система на сървъра и импортиране от там вместо качване през браузър. Папката трябва да съдържа под-паки за всеки потребител който има права да работи по този начин.',
|
||||
'settings_Edition' => 'Настройки редакция',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Разреши Admin Rev App',
|
||||
|
|
|
@ -337,6 +337,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Llista de notificació',
|
||||
'edit_folder_props' => 'Editar directori',
|
||||
'edit_group' => 'Editar grup...',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Editar usuari...',
|
||||
'edit_user_details' => 'Editar detalls d\'usuari',
|
||||
|
@ -841,6 +842,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => '',
|
||||
'settings_dropFolderDir_desc' => '',
|
||||
'settings_Edition' => 'Edition settings',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => '',
|
||||
|
|
|
@ -384,6 +384,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Seznam upozornění',
|
||||
'edit_folder_props' => 'Upravit adresář',
|
||||
'edit_group' => 'Upravit skupinu',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Upravit uživatele',
|
||||
'edit_user_details' => 'Upravit podrobnosti uživatele',
|
||||
|
@ -980,6 +981,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Adresář pro přetažení složky',
|
||||
'settings_dropFolderDir_desc' => 'Tento adresář může být použit k ukládání souborů do souborového systému serveru a jejich importování odtud, místo natahování přes prohlížeč. Adresář musí obsahovat podadresář pro každého uživatele, kterému je povoleno importovat soubory touto cestou.',
|
||||
'settings_Edition' => '',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => '',
|
||||
|
|
|
@ -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 (2198), dgrutsch (21)
|
||||
// Translators: Admin (2202), dgrutsch (21)
|
||||
|
||||
$text = array(
|
||||
'accept' => 'Übernehmen',
|
||||
|
@ -389,6 +389,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Beobachtung von Ordnern',
|
||||
'edit_folder_props' => 'Bearbeiten',
|
||||
'edit_group' => 'Gruppe bearbeiten',
|
||||
'edit_online' => 'Online editieren',
|
||||
'edit_transmittal_props' => 'Attribute der Dokumentenliste bearbeiten',
|
||||
'edit_user' => 'Benutzer bearbeiten',
|
||||
'edit_user_details' => 'Benutzerdetails bearbeiten',
|
||||
|
@ -1017,6 +1018,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Verzeichnis für Ablageordner',
|
||||
'settings_dropFolderDir_desc' => 'Dieses Verzeichnis kann dazu benutzt werden Dokumente auf dem Server abzulegen und von dort zu importieren anstatt sie über den Browser hochzuladen. Das Verzeichnis muss ein Unterverzeichnis mit dem Login-Namen des angemeldeten Benutzers beinhalten.',
|
||||
'settings_Edition' => 'Funktions-Einstellungen',
|
||||
'settings_editOnlineFileTypes' => 'Dateitypen für Online-Editieren:',
|
||||
'settings_editOnlineFileTypes_desc' => 'Dateien mit den angegebenen Endungen können Online editiert werden (benutzen Sie ausschließlich Kleinbuchstaben).',
|
||||
'settings_enableAcknowledgeWorkflow' => 'Ermögliche Bestätigung des Dokumentenempfang',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => 'Anwählen, um den Workflow zur Kenntnisnahme von Dokumenten einzuschalten',
|
||||
'settings_enableAdminRevApp' => 'Admin darf freigeben/prüfen',
|
||||
|
@ -1109,7 +1112,7 @@ URL: [url]',
|
|||
'settings_install_success' => 'Die Installation wurde erfolgreich beendet',
|
||||
'settings_install_welcome_text' => '<p>Before you start to install SeedDMS make sure you have created a file \'ENABLE_INSTALL_TOOL\' in your configuration directory, otherwise the installation will not work. On Unix-System this can easily be done with \'touch conf/ENABLE_INSTALL_TOOL\'. After you have finished the installation delete the file.</p><p>SeedDMS has very minimal requirements. You will need a mysql database or sqlite support and a php enabled web server. The pear package Log has to be installed too. For the lucene full text search, you will also need the Zend framework installed on disc where it can be found by php. For the WebDAV server you will also need the HTTP_WebDAV_Server. The path to it can later be set during installation.</p><p>If you like to create the database before you start installation, then just create it manually with your favorite tool, optionally create a database user with access on the database and import one of the database dumps in the configuration directory. The installation script can do that for you as well, but it will need database access with sufficient rights to create databases.</p>',
|
||||
'settings_install_welcome_title' => 'Willkommen zur Installation von SeedDMS',
|
||||
'settings_install_zendframework' => 'Installiere Zend Framework, wenn Sie die Volltextsuche einsetzen möchten.',
|
||||
'settings_install_zendframework' => 'Installiere Zend Framework, wenn Sie die zend-basierte Volltextsuche einsetzen möchten. Anderenfalls, ignorieren Sie diese Meldung und fahren Sie mit der Installation fort.',
|
||||
'settings_language' => 'Voreingestellte Sprache',
|
||||
'settings_language_desc' => 'Voreingestellte Sprache (entspricht dem Unterverzeichnis im Verzeichnis \'languages\')',
|
||||
'settings_libraryFolder' => 'Bibliotheksordner',
|
||||
|
|
|
@ -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 (1347), dgrutsch (7), netixw (14)
|
||||
// Translators: Admin (1351), dgrutsch (7), netixw (14)
|
||||
|
||||
$text = array(
|
||||
'accept' => 'Accept',
|
||||
|
@ -389,6 +389,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Folder Notification List',
|
||||
'edit_folder_props' => 'Edit folder',
|
||||
'edit_group' => 'Edit group',
|
||||
'edit_online' => 'Edit online',
|
||||
'edit_transmittal_props' => 'Edit transmittal properties',
|
||||
'edit_user' => 'Edit user',
|
||||
'edit_user_details' => 'Edit User Details',
|
||||
|
@ -1018,6 +1019,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Directory for drop folder',
|
||||
'settings_dropFolderDir_desc' => 'This directory can be used for dropping files on the server\'s file system and importing them from there instead of uploading via the browser. The directory must contain a sub directory for each user who is allowed to import files this way.',
|
||||
'settings_Edition' => 'Edition settings',
|
||||
'settings_editOnlineFileTypes' => 'Edit Online File Types:',
|
||||
'settings_editOnlineFileTypes_desc' => 'Files with one of the following endings can be edited online (USE ONLY LOWER CASE CHARACTERS)',
|
||||
'settings_enableAcknowledgeWorkflow' => 'Enable acknowledge of document reception',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => 'Enable, to turn on the workflow to acknowledge document reception.',
|
||||
'settings_enableAdminRevApp' => 'Allow review/approval for admins',
|
||||
|
@ -1110,7 +1113,7 @@ URL: [url]',
|
|||
'settings_install_success' => 'The installation has been successfully completed.',
|
||||
'settings_install_welcome_text' => '<p>Before you start to install SeedDMS make sure you have created a file \'ENABLE_INSTALL_TOOL\' in your configuration directory, otherwise the installation will not work. On Unix-System this can easily be done with \'touch conf/ENABLE_INSTALL_TOOL\'. After you have finished the installation delete the file.</p><p>SeedDMS has very minimal requirements. You will need a mysql database or sqlite support and a php enabled web server. The pear package Log has to be installed too. For the lucene full text search, you will also need the Zend framework installed on disc where it can be found by php. For the WebDAV server you will also need the HTTP_WebDAV_Server. The path to it can later be set during installation.</p><p>If you like to create the database before you start installation, then just create it manually with your favorite tool, optionally create a database user with access on the database and import one of the database dumps in the configuration directory. The installation script can do that for you as well, but it will need database access with sufficient rights to create databases.</p>',
|
||||
'settings_install_welcome_title' => 'Welcome to the installation of SeedDMS',
|
||||
'settings_install_zendframework' => 'Install Zend Framework, if you intend to use the full text search engine',
|
||||
'settings_install_zendframework' => 'Install Zend Framework, if you intend to use the zend based full text search engine. Otherwise, ignore this message and continue the installation.',
|
||||
'settings_language' => 'Default language',
|
||||
'settings_language_desc' => 'Default language (name of a subfolder in folder "languages")',
|
||||
'settings_libraryFolder' => 'Library folder',
|
||||
|
|
|
@ -384,6 +384,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Lista de notificación',
|
||||
'edit_folder_props' => 'Editar carpeta',
|
||||
'edit_group' => 'Editar grupo...',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Editar usuario...',
|
||||
'edit_user_details' => 'Editar detalles de usuario',
|
||||
|
@ -986,6 +987,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Carpeta para dejar ficheros',
|
||||
'settings_dropFolderDir_desc' => 'Esta carpeta puede ser usada para dejar ficheros en el sistema de archivos del servidor e importarlos desde ahí en lugar de subirlos vía navegador. La carpeta debe contener un subdirectorio para cada usuario que tenga permiso para importar ficheros de esta forma.',
|
||||
'settings_Edition' => 'Configuración de edición',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Habilitar Administrador Rev Apr',
|
||||
|
|
|
@ -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 (1026), jeromerobert (50), lonnnew (9)
|
||||
// Translators: Admin (1028), jeromerobert (50), lonnnew (9)
|
||||
|
||||
$text = array(
|
||||
'accept' => 'Accepter',
|
||||
|
@ -384,6 +384,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Liste de notification de dossiers',
|
||||
'edit_folder_props' => 'Modifier le dossier',
|
||||
'edit_group' => 'Modifier un groupe',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Modifier un utilisateur',
|
||||
'edit_user_details' => 'Modifier les détails d\'utilisateur',
|
||||
|
@ -962,6 +963,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Répertoire de dépôt de fichier sur le serveur',
|
||||
'settings_dropFolderDir_desc' => 'Ce répertoire peut être utilisé pour déposer des fichiers sur le serveur et les importer à partir d\'ici au lieu de les charger à partir du navigateur. Le répertoire doit avoir un sous-répertoire pour chaque utilisateur autorisé à importer des fichiers de cette manière.',
|
||||
'settings_Edition' => 'Paramètres d’édition',
|
||||
'settings_editOnlineFileTypes' => 'Editer le type de fichier',
|
||||
'settings_editOnlineFileTypes_desc' => 'Editer la description du type de fichier',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Activer Admin Rev App',
|
||||
|
|
|
@ -389,6 +389,7 @@ Internet poveznica: [url]',
|
|||
'edit_folder_notify' => 'Popis za obavijesti o mapi',
|
||||
'edit_folder_props' => 'Uredi mapu',
|
||||
'edit_group' => 'Uredi mapu',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => 'Izmjena postavki proslijeđivanja',
|
||||
'edit_user' => 'Uredi korisnika',
|
||||
'edit_user_details' => 'Uredi detalje korisnika',
|
||||
|
@ -1007,6 +1008,8 @@ Internet poveznica: [url]',
|
|||
'settings_dropFolderDir' => 'Mapa za zonu ispuštanja',
|
||||
'settings_dropFolderDir_desc' => 'Ova mapa može se koristiti za ispuštanje datoteka na datotečni sustav poslužitelja i uvoz istih od tamo umjesto učitavanja preko internet preglednika. Mapa mora sadržavati pod mapu za svakog korisnika koji ima dozvolu za uvoz datoteka na ovaj način.',
|
||||
'settings_Edition' => 'Postavke izdanja',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => 'Omogućavanje potvrđivanja prijema dokumenta',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => 'Omogućite kako bi omogućili tok rada za potvrđivajne prijema dokumenta.',
|
||||
'settings_enableAdminRevApp' => 'Dopusti pregled/ovjeru za administratore',
|
||||
|
|
|
@ -384,6 +384,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Mappa értesítési lista',
|
||||
'edit_folder_props' => 'Mappa szerkesztése',
|
||||
'edit_group' => 'Csoport szerkesztése',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Felhasználó szerkesztése',
|
||||
'edit_user_details' => 'Felhasználó részletes adatainak szerkesztése',
|
||||
|
@ -985,6 +986,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Drop mappa könyvtára',
|
||||
'settings_dropFolderDir_desc' => 'Ez a könyvtár használható az importálandó állományok elhelyezésére a fájlrendszeren a böngészővel történő feltöltés helyett. A könyvtárnak tartalmaznia kell alkönyvtárakat minden felhasználóhoz akinek engedélyezett az állományok ilyen módon történő importálása.',
|
||||
'settings_Edition' => 'Kiadás beállítások',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Engedélyezi a felülvizsgálatot/jóváhagyást az adminisztrátorok számára',
|
||||
|
|
|
@ -390,6 +390,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Modifica la lista di notifica per la cartella',
|
||||
'edit_folder_props' => 'Modifica proprietà cartella',
|
||||
'edit_group' => 'Modifica il gruppo',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => 'Modifica proprietà trasmissione',
|
||||
'edit_user' => 'Modifica l\'utente',
|
||||
'edit_user_details' => 'Modifica i dettagli utente',
|
||||
|
@ -1009,6 +1010,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Cartella per il drop',
|
||||
'settings_dropFolderDir_desc' => 'Questa cartella viene utilizzata per rilasciare (drop) files sul server per importarli direttamente anziché caricarli attraverso il browser. La cartella deve contenere una sottocartella per ciascun utente autorizzato ad importare files in questo modo.',
|
||||
'settings_Edition' => 'Impostazioni di edizione',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => 'Abilitare per notifiche',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => 'Abilitare per attivare sul workflow le ricevute di notifica.',
|
||||
'settings_enableAdminRevApp' => 'Permetti la revisione/approvazione da parte degli amministratori',
|
||||
|
|
|
@ -389,6 +389,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => '폴더 알림 목록',
|
||||
'edit_folder_props' => '폴더 편집',
|
||||
'edit_group' => '편집 그룹',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '전송 속성 편집',
|
||||
'edit_user' => '사용자 편집',
|
||||
'edit_user_details' => '사용자 세부 사항 편집',
|
||||
|
@ -1000,6 +1001,8 @@ URL : [url]',
|
|||
'settings_dropFolderDir' => '드롭 폴더 디렉토리',
|
||||
'settings_dropFolderDir_desc' => '서버의 파일 시스템에서 파일을 Dropping 위해 디렉토리. 브라우저를 통해 업로드 할 수 있습니다. 각 사용자는 디렉토리를 소유 했거나 사용이 허가 권한이 있어야 합니다.',
|
||||
'settings_Edition' => '판(Edition) 설정',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '문서 수신의 응답 활성화',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '문서의 수신 확인을 위해 워크플로어를 선택하고 활성화 합니다.',
|
||||
'settings_enableAdminRevApp' => '관리자에 대한 검토 / 승인 허용',
|
||||
|
|
|
@ -382,6 +382,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Map Notificatie Lijst',
|
||||
'edit_folder_props' => 'Wijzig Map eigenschappen',
|
||||
'edit_group' => 'Wijzig Groep',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => 'Opmerkingen bij verzending',
|
||||
'edit_user' => 'Wijzig gebruiker',
|
||||
'edit_user_details' => 'Wijzig gebruiker Details',
|
||||
|
@ -982,6 +983,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Pad voor drop folder',
|
||||
'settings_dropFolderDir_desc' => 'Dit pad kan gebruikt worden voor dropfiles op de server en hier vanaf te importeren in plaats van uploaden via de browser.',
|
||||
'settings_Edition' => 'Uitgave instellingen',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Inschakelen Beheer Contr/Beoord',
|
||||
|
|
|
@ -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 (728), netixw (84), romi (93), uGn (112)
|
||||
// Translators: Admin (731), netixw (84), romi (93), uGn (112)
|
||||
|
||||
$text = array(
|
||||
'accept' => 'Akceptuj',
|
||||
|
@ -377,6 +377,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Lista powiadomień dla folderu',
|
||||
'edit_folder_props' => 'Edytuj folder',
|
||||
'edit_group' => 'Edytuj grupę',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Edytuj użytkownika',
|
||||
'edit_user_details' => 'Zmień dane użytkownika',
|
||||
|
@ -955,7 +956,7 @@ URL: [url]',
|
|||
'settings_dbVersion' => 'Schemat bazy danych jest za stary',
|
||||
'settings_defaultSearchMethod' => '',
|
||||
'settings_defaultSearchMethod_desc' => '',
|
||||
'settings_defaultSearchMethod_valdatabase' => '',
|
||||
'settings_defaultSearchMethod_valdatabase' => 'baza danych',
|
||||
'settings_defaultSearchMethod_valfulltext' => '',
|
||||
'settings_delete_install_folder' => 'Aby móc używać LetoDMS, musisz usunąć plik ENABLE_INSTALL_TOOL znajdujący się w katalogu konfiguracyjnym',
|
||||
'settings_disableSelfEdit' => 'Wyłącz auto edycję',
|
||||
|
@ -965,6 +966,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Katalog dla folderu rozwijanego',
|
||||
'settings_dropFolderDir_desc' => 'Ten katalog służy do kopiowania plików, przeznaczonych do zaimportowania, bezpośrednio do serwera i z pominięciem przeglądarki. W tym katalogu muszą się znajdować podfoldery dla wszystkich użytkowników, którzy posiadają uprawnienia do tego typu importu.',
|
||||
'settings_Edition' => 'Ustawienia edycji',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Dołącz Administratora do recenzji/rewizji',
|
||||
|
@ -1039,7 +1042,7 @@ URL: [url]',
|
|||
'settings_footNote' => 'Treść stopki',
|
||||
'settings_footNote_desc' => 'Wiadomość wyświetlana na dole każdej strony',
|
||||
'settings_fullSearchEngine' => '',
|
||||
'settings_fullSearchEngine_desc' => '',
|
||||
'settings_fullSearchEngine_desc' => 'Ustaw metodę używaną do pełnotekstowego wyszukiwania',
|
||||
'settings_fullSearchEngine_vallucene' => 'Zend Lucene',
|
||||
'settings_fullSearchEngine_valsqlitefts' => 'SQLiteFTS',
|
||||
'settings_guestID' => 'ID gościa',
|
||||
|
@ -1109,7 +1112,7 @@ URL: [url]',
|
|||
'settings_previewWidthDetail' => '',
|
||||
'settings_previewWidthDetail_desc' => '',
|
||||
'settings_previewWidthList' => '',
|
||||
'settings_previewWidthList_desc' => '',
|
||||
'settings_previewWidthList_desc' => 'Szerokość podglądu obrazu pokazanego na liście',
|
||||
'settings_printDisclaimer' => 'Wyświetlaj Zrzeczenie się',
|
||||
'settings_printDisclaimer_desc' => 'Zaznaczenie tej opcji spowoduje, że na dole strony będzie wyświetlany komunikat zrzeczenia się zawarty w pliku lang.inc.',
|
||||
'settings_quota' => 'Przydział dysku użytkownika',
|
||||
|
|
|
@ -383,6 +383,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Lista de notificação',
|
||||
'edit_folder_props' => 'Editar pasta',
|
||||
'edit_group' => 'Editar grupo',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Editar usuário',
|
||||
'edit_user_details' => 'Editar Perfil',
|
||||
|
@ -983,6 +984,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Diretório para pasta suspensa',
|
||||
'settings_dropFolderDir_desc' => 'Este diretório pode ser usado para soltar arquivos no sistema de arquivos do servidor e importá-los de lá, em vez de fazer o upload através do browser. O diretório deve conter um sub-diretório para cada usuário que tem permissão para importar arquivos desta forma.',
|
||||
'settings_Edition' => 'Configurações Edição',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Permitir revisão/aprovação para administradores',
|
||||
|
|
|
@ -389,6 +389,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Listă de notificare pentru folder',
|
||||
'edit_folder_props' => 'Editează folder',
|
||||
'edit_group' => 'Editează grup',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => 'Editeaza proprietatile de transmitere',
|
||||
'edit_user' => 'Editează utilizator',
|
||||
'edit_user_details' => 'Editează detalii utilizator',
|
||||
|
@ -1008,6 +1009,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Director pentru plasare folder(drop folder)',
|
||||
'settings_dropFolderDir_desc' => 'Acest director poate fi utilizat pentru plasarea fișierelor pe sistemul de fișiere al serverului și importul acestora de acolo în loc să mai fie încărcate prin intermediul browser-ului. Directorul trebuie să conțină un subdirector pentru fiecare utilizator care are permisiunea de a importa fișiere în acest fel.',
|
||||
'settings_Edition' => 'Setările Editiei',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Permite revizuirea/aprobarea pentru admini',
|
||||
|
|
|
@ -389,6 +389,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Список уведомления каталога',
|
||||
'edit_folder_props' => 'Изменить каталог',
|
||||
'edit_group' => 'Изменить группу',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => 'Редактировать группы получателей',
|
||||
'edit_user' => 'Редактировать пользователя',
|
||||
'edit_user_details' => 'Изменить данные пользователя',
|
||||
|
@ -1015,6 +1016,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Размещение проходного каталога',
|
||||
'settings_dropFolderDir_desc' => 'Этот каталог используется для размещения файлов на сервере и их импорта вместо загрузки через браузер. Каталог должен содержать подкаталог для каждого пользователя, которому разрешён импорт файлов таким способом.',
|
||||
'settings_Edition' => 'Настройки версий',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => 'Включить подтверждение получения документа',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => 'Включить для активации функции подтверждения получения документа',
|
||||
'settings_enableAdminRevApp' => 'Администратор как<br/>рецензирующий и утверждающий',
|
||||
|
|
|
@ -336,6 +336,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Zoznam upozornení',
|
||||
'edit_folder_props' => 'Uprav priečinok',
|
||||
'edit_group' => 'Upraviť skupinu',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Upraviť používateľa',
|
||||
'edit_user_details' => 'Upraviť podrobnosti používateľa',
|
||||
|
@ -840,6 +841,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => '',
|
||||
'settings_dropFolderDir_desc' => '',
|
||||
'settings_Edition' => '',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => '',
|
||||
|
|
|
@ -377,6 +377,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Katalog-meddelandelista',
|
||||
'edit_folder_props' => 'Ändra katalog',
|
||||
'edit_group' => 'Ändra grupp',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Ändra användare',
|
||||
'edit_user_details' => 'Ändra användarens information',
|
||||
|
@ -971,6 +972,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Mapp för mellanlagring av filer',
|
||||
'settings_dropFolderDir_desc' => 'Denna mapp kan användas för att mellanlagra filer på serverns filsystem och den kan importeras därifrån istället för att filen laddas upp via webbläsaren. Mappen måste innehålla en undermapp för varje användare som har tillstånd att importera filer denna vägen.',
|
||||
'settings_Edition' => 'Redigeringsinställningar',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Visa Admin i listan granska/godkänna',
|
||||
|
|
|
@ -383,6 +383,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Klasör Bildirim Listesi',
|
||||
'edit_folder_props' => 'Klasörü düzenle',
|
||||
'edit_group' => 'Grubu düzenle',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => 'Kullanıcıyı düzenle',
|
||||
'edit_user_details' => 'Kullanıcı Detaylarını Düzenle',
|
||||
|
@ -987,6 +988,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Sürükleme klasörü dizini',
|
||||
'settings_dropFolderDir_desc' => 'Bu dizin, tarayıcı üzerinden dosya göndermek yerine dosyaları sürükleyip bırakmak için kullanılacak dizindir. Bu işi yapmaya yetkili kılınmış her bir kullanıcı için alt dizin içermelidir.',
|
||||
'settings_Edition' => 'Düzenleme ayarları',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => 'Yöneticilere kontrol/onay izni ver',
|
||||
|
|
|
@ -389,6 +389,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => 'Список сповіщення каталогу',
|
||||
'edit_folder_props' => 'Змінити каталог',
|
||||
'edit_group' => 'Змінити групу',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => 'Редагувати налаштування перенесення',
|
||||
'edit_user' => 'Редагувати користувача',
|
||||
'edit_user_details' => 'Змінити дані користувача',
|
||||
|
@ -1008,6 +1009,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => 'Розміщення проміжного каталогу',
|
||||
'settings_dropFolderDir_desc' => 'Цей каталог використовується для розміщення файлів на сервері і їх імпорту замість завантаження їх через браузер. Каталог повинен містити підкаталог для кожного користувача, якому дозволено імпорт файлів таким методом.',
|
||||
'settings_Edition' => 'Налаштування версій',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => 'Увімкнути підтвердження отримання документу',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => 'Включіть для активації функції підтвердження отримання документу',
|
||||
'settings_enableAdminRevApp' => 'Адміністратор може бути<br/>рецензент і затверджувач',
|
||||
|
|
|
@ -338,6 +338,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => '文件夹通知列表',
|
||||
'edit_folder_props' => '编辑文件夹',
|
||||
'edit_group' => '编辑组别',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => '编辑用户',
|
||||
'edit_user_details' => '编辑用户详情',
|
||||
|
@ -842,6 +843,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => '',
|
||||
'settings_dropFolderDir_desc' => '',
|
||||
'settings_Edition' => '编辑设置',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => '',
|
||||
|
|
|
@ -336,6 +336,7 @@ URL: [url]',
|
|||
'edit_folder_notify' => '資料夾通知列表',
|
||||
'edit_folder_props' => '編輯資料夾',
|
||||
'edit_group' => '編輯組別',
|
||||
'edit_online' => '',
|
||||
'edit_transmittal_props' => '',
|
||||
'edit_user' => '編輯用戶',
|
||||
'edit_user_details' => '編輯用戶詳情',
|
||||
|
@ -840,6 +841,8 @@ URL: [url]',
|
|||
'settings_dropFolderDir' => '',
|
||||
'settings_dropFolderDir_desc' => '',
|
||||
'settings_Edition' => '',
|
||||
'settings_editOnlineFileTypes' => '',
|
||||
'settings_editOnlineFileTypes_desc' => '',
|
||||
'settings_enableAcknowledgeWorkflow' => '',
|
||||
'settings_enableAcknowledgeWorkflow_desc' => '',
|
||||
'settings_enableAdminRevApp' => '',
|
||||
|
|
|
@ -309,6 +309,7 @@ switch($command) {
|
|||
if($folder) {
|
||||
if ($folder->getAccessMode($user) >= M_READWRITE) {
|
||||
$parent=$folder->getParent();
|
||||
$nl = $folder->getNotifyList();
|
||||
$foldername = $folder->getName();
|
||||
if($folder->remove()) {
|
||||
if ($notifier) {
|
||||
|
|
|
@ -115,7 +115,7 @@ else if ($action == "editworkflowaction") {
|
|||
if ($editedWorkflowAction->getName() != $name)
|
||||
$editedWorkflowAction->setName($name);
|
||||
|
||||
add_log_line(".php&action=editworkflowaction&workflowactionid=".$workflow);
|
||||
add_log_line(".php&action=editworkflowaction&workflowactionid=".$workflowactionid);
|
||||
|
||||
}
|
||||
else UI::exitError(getMLText("admin_tools"),getMLText("unknown_command"));
|
||||
|
|
|
@ -61,9 +61,21 @@ if($settings->_libraryFolder) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'strictformcheck'=>$settings->_strictFormCheck, 'enablelargefileupload'=>$settings->_enableLargeFileUpload, 'enableadminrevapp'=>$settings->_enableAdminRevApp, 'enableownerrevapp'=>$settings->_enableOwnerRevApp, 'enableselfrevapp'=>$settings->_enableSelfRevApp, 'libraryfolder'=>$libfolder, 'dropfolderdir'=>$settings->_dropFolderDir, 'workflowmode'=>$settings->_workflowMode, 'presetexpiration'=>$settings->_presetExpirationDate, 'sortusersinlist'=>$settings->_sortUsersInList, 'orderby'=>$settings->_sortFoldersDefault));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('strictformcheck', $settings->_strictFormCheck);
|
||||
$view->setParam('enablelargefileupload', $settings->_enableLargeFileUpload);
|
||||
$view->setParam('enableadminrevapp', $settings->_enableAdminRevApp);
|
||||
$view->setParam('enableownerrevapp', $settings->_enableOwnerRevApp);
|
||||
$view->setParam('enableselfrevapp', $settings->_enableSelfRevApp);
|
||||
$view->setParam('libraryfolder', $libfolder);
|
||||
$view->setParam('dropfolderdir', $settings->_dropFolderDir);
|
||||
$view->setParam('workflowmode', $settings->_workflowMode);
|
||||
$view->setParam('presetexpiration', $settings->_presetExpirationDate);
|
||||
$view->setParam('sortusersinlist', $settings->_sortUsersInList);
|
||||
$view->setParam('orderby', $settings->_sortFoldersDefault);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ if ($user->isGuest()) {
|
|||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -48,8 +48,12 @@ if ($document->getAccessMode($user) < M_READWRITE) {
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $document, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'strictformcheck'=>$settings->_strictFormCheck, 'enablelargefileupload'=>$settings->_enableLargeFileUpload));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('strictformcheck', $settings->_strictFormCheck);
|
||||
$view->setParam('enablelargefileupload', $settings->_enableLargeFileUpload);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
|
|
|
@ -45,9 +45,11 @@ if ($document->getAccessMode($user) < M_READWRITE) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -49,9 +49,13 @@ if ($remain < 0) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'enableadminrevapp'=>$settings->_enableAdminRevApp, 'enableownerrevapp'=>$settings->_enableOwnerRevApp, 'enableselfrevapp'=>$settings->_enableSelfRevApp));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('enableadminrevapp', $settings->_enableAdminRevApp);
|
||||
$view->setParam('enableownerrevapp', $settings->_enableOwnerRevApp);
|
||||
$view->setParam('enableselfrevapp', $settings->_enableSelfRevApp);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,9 +41,12 @@ if ($folder->getAccessMode($user) < M_READWRITE) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'strictformcheck'=>$settings->_strictFormCheck, 'orderby'=>$settings->_sortFoldersDefault));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('strictformcheck', $settings->_strictFormCheck);
|
||||
$view->setParam('orderby', $settings->_sortFoldersDefault);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -36,9 +36,12 @@ if ($user->isGuest()) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'cachedir'=>$settings->_cacheDir, 'previewWidthList'=>$settings->_previewWidthList, 'timeout'=>$settings->_cmdTimeout));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('cachedir', $settings->_cacheDir);
|
||||
$view->setParam('previewWidthList', $settings->_previewWidthList);
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -73,10 +73,12 @@ if(!$approvals) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -45,8 +45,10 @@ if(isset($_GET['attrdefid']) && $_GET['attrdefid']) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'attrdefs'=>$attrdefs, 'selattrdef'=>$selattrdef));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('attrdefs', $attrdefs);
|
||||
$view->setParam('selattrdef', $selattrdef);
|
||||
$view->setParam('showtree', showtree());
|
||||
$view->setParam('cachedir', $settings->_cacheDir);
|
||||
$view->setParam('enableRecursiveCount', $settings->_enableRecursiveCount);
|
||||
|
|
|
@ -38,9 +38,14 @@ if (isset($_GET["day"])&&is_numeric($_GET["day"])) $day=$_GET["day"];
|
|||
else $day = (int)date("d", $currDate);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user,'mode'=>$mode, 'year'=>$year, 'month'=>$month, 'day'=>$day, 'firstdayofweek'=>$settings->_firstDayOfWeek));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('mode', $mode);
|
||||
$view->setParam('year', $year);
|
||||
$view->setParam('month', $month);
|
||||
$view->setParam('day', $day);
|
||||
$view->setParam('firstdayofweek', $settings->_firstDayOfWeek);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,9 +30,12 @@ $selcats = preg_replace('/[^0-9,]+/', '', $_GET["cats"]);
|
|||
$categories = $dms->getDocumentCategories();
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'categories'=>$categories, 'form'=>$form, 'selcats'=>$selcats));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('categories', $categories);
|
||||
$view->setParam('form', $form);
|
||||
$view->setParam('selcats', $selcats);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ if (isset($_REQUEST["hash"]) && strlen($_REQUEST["hash"])>0) {
|
|||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'referui'=>$referui, 'hash'=>$hash, 'passwordstrength'=>$settings->_passwordStrength));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,9 +38,10 @@ if(!$settings->_enableFullSearch) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'enablefullsearch'=>$settings->_enableFullSearch));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('enablefullsearch', $settings->_enableFullSearch);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,8 +50,12 @@ $allGroups = $dms->getAllGroups();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'allusers'=>$allUsers, 'allgroups'=>$allGroups));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('allusers', $allUsers);
|
||||
$view->setParam('allgroups', $allGroups);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
|
|
|
@ -70,10 +70,19 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version, 'viewonlinefiletypes'=>$settings->_viewOnlineFileTypes, 'enableversionmodification'=>$settings->_enableVersionModification, 'previewWidthDetail'=>$settings->_previewWidthDetail, 'previewconverters'=>$settings->_converters['preview'], 'cachedir'=>$settings->_cacheDir, 'timeout'=>$settings->_cmdTimeout));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('viewonlinefiletypes', $settings->_viewOnlineFileTypes);
|
||||
$view->setParam('enableversionmodification', $settings->_enableVersionModification);
|
||||
$view->setParam('previewWidthDetail', $settings->_previewWidthDetail);
|
||||
$view->setParam('previewconverters', $settings->_converters['preview']);
|
||||
$view->setParam('cachedir', $settings->_cacheDir);
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,8 +44,11 @@ else
|
|||
$showfolders = false;
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'dropfolderdir'=>$dropfolderdir, 'dropfolderfile'=>$_GET["dropfolderfile"], 'form'=>$form));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('dropfolderdir', $dropfolderdir);
|
||||
$view->setParam('dropfolderfile', $_GET["dropfolderfile"]);
|
||||
$view->setParam('form', $form);
|
||||
$view->setParam('cachedir', $settings->_cacheDir);
|
||||
$view->setParam('previewWidthList', $settings->_previewWidthList);
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
|
|
|
@ -51,10 +51,14 @@ $accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
|||
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_documentcontent, SeedDMS_Core_AttributeDefinition::objtype_all));
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version, 'attrdefs'=>$attrdefs));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('attrdefs', $attrdefs);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -54,10 +54,14 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version, 'strictformcheck'=>$settings->_strictFormCheck));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('strictformcheck', $settings->_strictFormCheck);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,9 +43,11 @@ if (($user->getID()!=$event["userID"])&&(!$user->isAdmin())){
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'event'=>$event, 'strictformcheck'=>$settings->_strictFormCheck));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('event', $event);
|
||||
$view->setParam('strictformcheck', $settings->_strictFormCheck);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,9 +42,14 @@ if ($folder->getAccessMode($user) < M_READWRITE) {
|
|||
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_folder, SeedDMS_Core_AttributeDefinition::objtype_all));
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'attrdefs'=>$attrdefs, 'strictformcheck'=>$settings->_strictFormCheck, 'rootfolderid'=>$settings->_rootFolderID, 'orderby'=>$settings->_sortFoldersDefault));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('attrdefs', $attrdefs);
|
||||
$view->setParam('strictformcheck', $settings->_strictFormCheck);
|
||||
$view->setParam('rootfolderid', $settings->_rootFolderID);
|
||||
$view->setParam('orderby', $settings->_sortFoldersDefault);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,9 +44,13 @@ $allUsers = $dms->getAllUsers();
|
|||
$allGroups = $dms->getAllGroups();
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'allusers'=>$allUsers, 'allgroups'=>$allGroups, 'rootfolderid'=>$settings->_rootFolderID));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('allusers', $allUsers);
|
||||
$view->setParam('allgroups', $allGroups);
|
||||
$view->setParam('rootfolderid', $settings->_rootFolderID);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -20,9 +20,10 @@ include("../inc/inc.ClassUI.php");
|
|||
include("../inc/inc.Authentication.php");
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'passwordstrength'=>$settings->_passwordStrength));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('passwordstrength', $settings->_passwordStrength);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,9 +43,11 @@ if (is_bool($allGroups)) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'allusers'=>$allUsers, 'allgroups'=>$allGroups));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('allusers', $allUsers);
|
||||
$view->setParam('allgroups', $allGroups);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ if($view) {
|
|||
$view->setParam('dms', $dms);
|
||||
$view->setParam('user', $user);
|
||||
$view->setParam('context', $context);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,9 +42,12 @@ if(!$index) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'luceneclassdir'=>$settings->_luceneClassDir, 'lucenedir'=>$settings->_luceneDir, 'index'=>$index));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('luceneclassdir', $settings->_luceneClassDir);
|
||||
$view->setParam('lucenedir', $settings->_luceneDir);
|
||||
$view->setParam('index', $index);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -65,9 +65,15 @@ else {
|
|||
$folder = $dms->getFolder($folderid);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'index'=>$index, 'indexconf'=>$indexconf, 'recreate'=>(isset($_GET['create']) && $_GET['create']==1), 'folder'=>$folder, 'converters'=>$settings->_converters['fulltext'], 'timeout'=>$settings->_cmdTimeout));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('index', $index);
|
||||
$view->setParam('indexconf', $indexconf);
|
||||
$view->setParam('recreate', (isset($_GET['create']) && $_GET['create']==1));
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('converters', $settings->_converters['fulltext']);
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,4 +50,5 @@ if($view) {
|
|||
$view->setParam('availversions', $versions);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
|
@ -63,9 +63,11 @@ if(isset($_GET['targetid']) && $_GET['targetid']) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'target'=>$target));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('target', $target);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -31,9 +31,13 @@ if ($user->isGuest()) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'enableuserimage'=>$settings->_enableUserImage, 'passwordexpiration'=>$settings->_passwordExpiration, 'httproot'=>$settings->_httpRoot, 'quota'=>$settings->_quota));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('enableuserimage', $settings->_enableUserImage);
|
||||
$view->setParam('passwordexpiration', $settings->_passwordExpiration);
|
||||
$view->setParam('httproot', $settings->_httpRoot);
|
||||
$view->setParam('quota', $settings->_quota);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -48,9 +48,16 @@ if (isset($_GET["orderby"]) && strlen($_GET["orderby"])==1 ) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'orderby'=>$orderby, 'showinprocess'=>$showInProcess, 'workflowmode'=>$settings->_workflowMode, 'cachedir'=>$settings->_cacheDir, 'previewWidthList'=>$settings->_previewWidthList, 'previewconverters'=>$settings->_converters['preview'], 'timeout'=>$settings->_cmdTimeout));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('orderby', $orderby);
|
||||
$view->setParam('showinprocess', $showInProcess);
|
||||
$view->setParam('workflowmode', $settings->_workflowMode);
|
||||
$view->setParam('cachedir', $settings->_cacheDir);
|
||||
$view->setParam('previewWidthList', $settings->_previewWidthList);
|
||||
$view->setParam('previewconverters', $settings->_converters['preview']);
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -65,10 +65,13 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$content));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $content);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0) {
|
|||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('referrer'=>$referrer));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0) {
|
|||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('referrer'=>$referrer));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,9 +35,10 @@ if (!isset($_GET["arkname"]) || !file_exists($settings->_contentDir.$_GET["arkna
|
|||
$arkname = $_GET["arkname"];
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'archive'=>$arkname));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('archive', $arkname);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -54,10 +54,12 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -56,10 +56,13 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'file'=>$file));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('file', $file);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,9 +35,10 @@ if (!isset($_GET["dumpname"]) || !file_exists($settings->_contentDir.$_GET["dump
|
|||
$dumpname = $_GET["dumpname"];
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'dumpfile'=>$dumpname));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('dumpfile', $dumpname);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -39,9 +39,10 @@ if (($user->getID()!=$event["userID"])&&(!$user->isAdmin())){
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'event'=>$event));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('event', $event);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -45,9 +45,10 @@ if ($folder->getAccessMode($user) < M_ALL) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -39,9 +39,10 @@ if (!is_object($folder)) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,9 +40,10 @@ if (!is_object($group)) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'group'=>$group));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('group', $group);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -49,9 +49,11 @@ foreach($lognames as $file) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'lognames'=>$lognames, 'mode'=>$mode));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('lognames', $lognames);
|
||||
$view->setParam('mode', $mode);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,9 +50,11 @@ if ($rmuser->getID()==$user->getID()) {
|
|||
$allusers = $dms->getAllUsers($settings->_sortUsersInList);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'rmuser'=>$rmuser, 'allusers'=>$allusers));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('rmuser', $rmuser);
|
||||
$view->setParam('allusers', $allusers);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -63,10 +63,13 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,9 +41,10 @@ if (!is_object($workflow)) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'workflow'=>$workflow));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('workflow', $workflow);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -63,10 +63,13 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -63,9 +63,13 @@ if(isset($_POST["transition"]) && $_POST["transition"]) {
|
|||
$folder = $document->getFolder();
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version, 'transition'=>$transition));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('transition', $transition);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -73,10 +73,13 @@ if(!$reviews) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$content));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $content);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,9 +37,12 @@ if ($user->isGuest()) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'cachedir'=>$settings->_cacheDir, 'previewWidthList'=>$settings->_previewWidthList, 'timeout'=>$settings->_cmdTimeout));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('cachedir', $settings->_cacheDir);
|
||||
$view->setParam('previewWidthList', $settings->_previewWidthList);
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -63,10 +63,13 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -68,10 +68,14 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version, 'subworkflow'=>$subworkflow));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('subworkflow', $subworkflow);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,9 +44,14 @@ $allCats = $dms->getDocumentCategories();
|
|||
$allUsers = $dms->getAllUsers($settings->_sortUsersInList);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'attrdefs'=>$attrdefs, 'allcategories'=>$allCats, 'allusers'=>$allUsers, 'enablefullsearch'=>$settings->_enableFullSearch));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('attrdefs', $attrdefs);
|
||||
$view->setParam('allcategories', $allCats);
|
||||
$view->setParam('allusers', $allUsers);
|
||||
$view->setParam('enablefullsearch', $settings->_enableFullSearch);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -47,10 +47,12 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -63,10 +63,16 @@ if (!$accessop->maySetReviewersApprovers($document)) {
|
|||
$folder = $document->getFolder();
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$content, 'enableadminrevapp'=>$settings->_enableAdminRevApp, 'enableownerrevapp'=>$settings->_enableOwnerRevApp, 'enableselfrevapp'=>$settings->_enableSelfRevApp));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $content);
|
||||
$view->setParam('enableadminrevapp', $settings->_enableAdminRevApp);
|
||||
$view->setParam('enableownerrevapp', $settings->_enableOwnerRevApp);
|
||||
$view->setParam('enableselfrevapp', $settings->_enableSelfRevApp);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -54,10 +54,13 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -64,10 +64,14 @@ $folder = $document->getFolder();
|
|||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document, 'version'=>$version, 'transition'=>$transition));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view->setParam('version', $version);
|
||||
$view->setParam('transition', $transition);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -53,9 +53,11 @@ if ($remain < 0) {
|
|||
$folder = $document->getFolder();
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'document'=>$document));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('folder', $folder);
|
||||
$view->setParam('document', $document);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -32,9 +32,10 @@ if ($user->isGuest()) {
|
|||
$categories = $dms->getAllUserKeywordCategories($user->getID());
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'categories'=>$categories));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('categories', $categories);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,9 +38,12 @@ if (is_bool($users)) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'allusers'=>$users, 'enableuserimage'=>$settings->_enableUserImage, 'httproot'=>$settings->_httpRoot));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('allusers', $users);
|
||||
$view->setParam('enableuserimage', $settings->_enableUserImage);
|
||||
$view->setParam('httproot', $settings->_httpRoot);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,9 +35,10 @@ if (is_bool($event)&&!$event){
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'event'=>$event));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('event', $event);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,9 +43,11 @@ if (is_bool($workflowactions)) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'allworkflowactions'=>$workflowactions, 'selworkflowaction'=>$selworkflowaction));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('allworkflowactions', $workflowactions);
|
||||
$view->setParam('selworkflowaction', $selworkflowaction);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -51,9 +51,12 @@ if(isset($_GET['transition']) && $_GET['transition']) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'workflow'=>$workflow, 'transition'=>$transition, 'document'=>$document));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('workflow', $workflow);
|
||||
$view->setParam('transition', $transition);
|
||||
$view->setParam('document', $document);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -48,9 +48,12 @@ if(isset($_GET['workflowid']) && $_GET['workflowid']) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'selworkflow'=>$selworkflow, 'allworkflows'=>$workflows, 'allworkflowstates'=>$workflowstates));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('selworkflow', $selworkflow);
|
||||
$view->setParam('allworkflows', $workflows);
|
||||
$view->setParam('allworkflowstates', $workflowstates);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,9 +38,10 @@ if(isset($_GET['workflowstateid']) && $_GET['workflowstateid']) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'selworkflowstate'=>$selworkflowstate));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('selworkflowstate', $selworkflowstate);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,9 +37,14 @@ if ($user->isGuest()) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'cachedir'=>$settings->_cacheDir, 'workflowmode'=>$settings->_workflowMode, 'previewWidthList'=>$settings->_previewWidthList, 'previewconverters'=>$settings->_converters['preview'], 'timeout'=>$settings->_cmdTimeout));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
if($view) {
|
||||
$view->show();
|
||||
$view->setParam('cachedir', $settings->_cacheDir);
|
||||
$view->setParam('workflowmode', $settings->_workflowMode);
|
||||
$view->setParam('previewWidthList', $settings->_previewWidthList);
|
||||
$view->setParam('previewconverters', $settings->_converters['preview']);
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -31,30 +31,9 @@ require_once("class.Bootstrap.php");
|
|||
*/
|
||||
class SeedDMS_View_AddDocument extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$folder = $this->params['folder'];
|
||||
$enablelargefileupload = $this->params['enablelargefileupload'];
|
||||
$enableadminrevapp = $this->params['enableadminrevapp'];
|
||||
$enableownerrevapp = $this->params['enableownerrevapp'];
|
||||
$enableselfrevapp = $this->params['enableselfrevapp'];
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
$dropfolderdir = $this->params['dropfolderdir'];
|
||||
$libraryfolder = $this->params['libraryfolder'];
|
||||
$workflowmode = $this->params['workflowmode'];
|
||||
$presetexpiration = $this->params['presetexpiration'];
|
||||
$sortusersinlist = $this->params['sortusersinlist'];
|
||||
$orderby = $this->params['orderby'];
|
||||
$folderid = $folder->getId();
|
||||
|
||||
$this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))));
|
||||
$this->globalNavigation($folder);
|
||||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true), "view_folder", $folder);
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
function checkForm()
|
||||
{
|
||||
msg = new Array();
|
||||
|
@ -86,14 +65,41 @@ function checkForm()
|
|||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
});
|
||||
$('#new-file').click(function(event) {
|
||||
$("#upload-file").clone().appendTo("#upload-files").removeAttr("id").children('div').children('input').val('');
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<?php
|
||||
$this->printKeywordChooserJs("form1");
|
||||
$this->printDropFolderChooserJs("form1");
|
||||
} /* }}} */
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$folder = $this->params['folder'];
|
||||
$enablelargefileupload = $this->params['enablelargefileupload'];
|
||||
$enableadminrevapp = $this->params['enableadminrevapp'];
|
||||
$enableownerrevapp = $this->params['enableownerrevapp'];
|
||||
$enableselfrevapp = $this->params['enableselfrevapp'];
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
$dropfolderdir = $this->params['dropfolderdir'];
|
||||
$libraryfolder = $this->params['libraryfolder'];
|
||||
$workflowmode = $this->params['workflowmode'];
|
||||
$presetexpiration = $this->params['presetexpiration'];
|
||||
$sortusersinlist = $this->params['sortusersinlist'];
|
||||
$orderby = $this->params['orderby'];
|
||||
$folderid = $folder->getId();
|
||||
|
||||
$this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))));
|
||||
$this->globalNavigation($folder);
|
||||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true), "view_folder", $folder);
|
||||
|
||||
$msg = getMLText("max_upload_size").": ".ini_get( "upload_max_filesize");
|
||||
if($enablelargefileupload) {
|
||||
$msg .= "<p>".sprintf(getMLText('link_alt_updatedocument'), "out.AddMultiDocument.php?folderid=".$folderid."&showtree=".showtree())."</p>";
|
||||
|
@ -106,7 +112,7 @@ $(document).ready(function() {
|
|||
// privileges.
|
||||
$docAccess = $folder->getReadAccessList($enableadminrevapp, $enableownerrevapp);
|
||||
?>
|
||||
<form action="../op/op.AddDocument.php" enctype="multipart/form-data" method="post" name="form1" onsubmit="return checkForm();">
|
||||
<form action="../op/op.AddDocument.php" enctype="multipart/form-data" method="post" id="form1" name="form1">
|
||||
<?php echo createHiddenFieldWithKey('adddocument'); ?>
|
||||
<input type="hidden" name="folderid" value="<?php print $folderid; ?>">
|
||||
<input type="hidden" name="showtree" value="<?php echo showtree();?>">
|
||||
|
@ -126,7 +132,7 @@ $(document).ready(function() {
|
|||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("keywords");?>:</td>
|
||||
<td><?php $this->printKeywordChooser("form1");?></td>
|
||||
<td><?php $this->printKeywordChooserHtml("form1");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("categories")?>:</td>
|
||||
|
@ -213,7 +219,7 @@ $(document).ready(function() {
|
|||
<?php if($dropfolderdir) { ?>
|
||||
<tr>
|
||||
<td><?php printMLText("dropfolder_file");?>:</td>
|
||||
<td><?php $this->printDropFolderChooser("form1");?></td>
|
||||
<td><?php $this->printDropFolderChooserHtml("form1");?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if($libraryfolder) { ?>
|
||||
|
|
|
@ -31,19 +31,9 @@ require_once("class.Bootstrap.php");
|
|||
*/
|
||||
class SeedDMS_View_AddEvent extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
|
||||
$this->htmlStartPage(getMLText("calendar"));
|
||||
$this->globalNavigation();
|
||||
$this->contentStart();
|
||||
$this->pageNavigation("", "calendar");
|
||||
|
||||
$this->contentHeading(getMLText("add_event"));
|
||||
$this->contentContainerStart();
|
||||
|
||||
$expdate = date('Y-m-d');
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
function checkForm()
|
||||
{
|
||||
msg = new Array();
|
||||
|
@ -69,9 +59,30 @@ function checkForm()
|
|||
else
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<form action="../op/op.AddEvent.php" name="form1" onsubmit="return checkForm();" method="POST">
|
||||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
} /* }}} */
|
||||
|
||||
function show() { /* {{{ */
|
||||
|
||||
$this->htmlStartPage(getMLText("calendar"));
|
||||
$this->globalNavigation();
|
||||
$this->contentStart();
|
||||
$this->pageNavigation("", "calendar");
|
||||
|
||||
$this->contentHeading(getMLText("add_event"));
|
||||
$this->contentContainerStart();
|
||||
|
||||
$expdate = date('Y-m-d');
|
||||
?>
|
||||
|
||||
<form action="../op/op.AddEvent.php" id="form1" name="form1" method="post">
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td><?php printMLText("from");?>:</td>
|
||||
|
|
|
@ -31,21 +31,9 @@ require_once("class.Bootstrap.php");
|
|||
*/
|
||||
class SeedDMS_View_AddSubFolder extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$folder = $this->params['folder'];
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
$orderby = $this->params['orderby'];
|
||||
|
||||
$this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))));
|
||||
$this->globalNavigation($folder);
|
||||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true), "view_folder", $folder);
|
||||
$this->contentHeading(getMLText("add_subfolder"));
|
||||
$this->contentContainerStart();
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
function checkForm()
|
||||
{
|
||||
msg = new Array();
|
||||
|
@ -71,9 +59,31 @@ function checkForm()
|
|||
else
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
} /* }}} */
|
||||
|
||||
<form action="../op/op.AddSubFolder.php" name="form1" onsubmit="return checkForm();" method="POST">
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$folder = $this->params['folder'];
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
$orderby = $this->params['orderby'];
|
||||
|
||||
$this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))));
|
||||
$this->globalNavigation($folder);
|
||||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true), "view_folder", $folder);
|
||||
$this->contentHeading(getMLText("add_subfolder"));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
|
||||
<form action="../op/op.AddSubFolder.php" id="form1" name="form1" method="post">
|
||||
<?php echo createHiddenFieldWithKey('addsubfolder'); ?>
|
||||
<input type="Hidden" name="folderid" value="<?php print $folder->getId();?>">
|
||||
<input type="Hidden" name="showtree" value="<?php echo showtree();?>">
|
||||
|
|
|
@ -31,29 +31,9 @@ require_once("class.Bootstrap.php");
|
|||
*/
|
||||
class SeedDMS_View_ApproveDocument extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$folder = $this->params['folder'];
|
||||
$document = $this->params['document'];
|
||||
|
||||
$latestContent = $document->getLatestContent();
|
||||
$approvals = $latestContent->getApprovalStatus();
|
||||
|
||||
foreach($approvals as $approval) {
|
||||
if($approval['approveID'] == $_GET['approveid']) {
|
||||
$approvalStatus = $approval;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$this->htmlStartPage(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))));
|
||||
$this->globalNavigation($folder);
|
||||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
|
||||
$this->contentHeading(getMLText("add_approval"));
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
function checkIndForm()
|
||||
{
|
||||
msg = new Array();
|
||||
|
@ -76,9 +56,9 @@ function checkIndForm()
|
|||
function checkGrpForm()
|
||||
{
|
||||
msg = new Array();
|
||||
// if (document.form1.approvalGroup.value == "") msg.push("<?php printMLText("js_no_approval_group");?>");
|
||||
if (document.form1.approvalStatus.value == "") msg.push("<?php printMLText("js_no_approval_status");?>");
|
||||
if (document.form1.comment.value == "") msg.push("<?php printMLText("js_no_comment");?>");
|
||||
// if (document.form2.approvalGroup.value == "") msg.push("<?php printMLText("js_no_approval_group");?>");
|
||||
if (document.form2.approvalStatus.value == "") msg.push("<?php printMLText("js_no_approval_status");?>");
|
||||
if (document.form2.comment.value == "") msg.push("<?php printMLText("js_no_comment");?>");
|
||||
if (msg != "")
|
||||
{
|
||||
noty({
|
||||
|
@ -94,9 +74,40 @@ function checkGrpForm()
|
|||
else
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkIndForm()) return;
|
||||
event.preventDefault();
|
||||
});
|
||||
$('body').on('submit', '#form2', function(ev){
|
||||
if(checkGrpForm()) return;
|
||||
event.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
} /* }}} */
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$folder = $this->params['folder'];
|
||||
$document = $this->params['document'];
|
||||
|
||||
$latestContent = $document->getLatestContent();
|
||||
$approvals = $latestContent->getApprovalStatus();
|
||||
|
||||
foreach($approvals as $approval) {
|
||||
if($approval['approveID'] == $_GET['approveid']) {
|
||||
$approvalStatus = $approval;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$this->htmlStartPage(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))));
|
||||
$this->globalNavigation($folder);
|
||||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
|
||||
$this->contentHeading(getMLText("add_approval"));
|
||||
|
||||
$this->contentContainerStart();
|
||||
|
||||
|
@ -118,7 +129,7 @@ function checkGrpForm()
|
|||
print "</tr></tbody></table><br>\n";
|
||||
}
|
||||
?>
|
||||
<form method="post" action="../op/op.ApproveDocument.php" name="form1" enctype="multipart/form-data" onsubmit="return checkIndForm();">
|
||||
<form method="post" action="../op/op.ApproveDocument.php" id="form1" name="form1" enctype="multipart/form-data">
|
||||
<?php echo createHiddenFieldWithKey('approvedocument'); ?>
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -170,7 +181,7 @@ function checkGrpForm()
|
|||
}
|
||||
|
||||
?>
|
||||
<form method="POST" action="../op/op.ApproveDocument.php" name="form1" enctype="multipart/form-data" onsubmit="return checkGrpForm();">
|
||||
<form method="POST" action="../op/op.ApproveDocument.php" id="form2" name="form2" enctype="multipart/form-data">
|
||||
<?php echo createHiddenFieldWithKey('approvedocument'); ?>
|
||||
<table>
|
||||
<tr><td><?php printMLText("comment")?>:</td>
|
||||
|
|
|
@ -162,7 +162,7 @@ $(document).ready( function() {
|
|||
<?php
|
||||
}
|
||||
?>
|
||||
<table class="table-condensed">
|
||||
<table class="table table-condensed">
|
||||
<tr>
|
||||
<td>
|
||||
<?php printMLText("attrdef_name");?>:
|
||||
|
@ -315,6 +315,8 @@ $(document).ready( function() {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
|
|
|
@ -50,7 +50,7 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
|||
} /* }}} */
|
||||
|
||||
function htmlStartPage($title="", $bodyClass="", $base="") { /* {{{ */
|
||||
if(method_exists($this, 'js')) {
|
||||
if(1 || method_exists($this, 'js')) {
|
||||
/* We still need unsafe-eval, because printDocumentChooserHtml and
|
||||
* printFolderChooserHtml will include a javascript file with ajax
|
||||
* which is evaled by jquery
|
||||
|
@ -76,9 +76,9 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
|||
echo '<link href="../styles/'.$this->theme.'/datepicker/css/datepicker.css" rel="stylesheet">'."\n";
|
||||
echo '<link href="../styles/'.$this->theme.'/chosen/css/chosen.css" rel="stylesheet">'."\n";
|
||||
echo '<link href="../styles/'.$this->theme.'/jqtree/jqtree.css" rel="stylesheet">'."\n";
|
||||
echo '<link href="../styles/'.$this->theme.'/application.css" rel="stylesheet">'."\n";
|
||||
if($this->extraheader['css'])
|
||||
echo $this->extraheader['css'];
|
||||
echo '<link href="../styles/'.$this->theme.'/application.css" rel="stylesheet">'."\n";
|
||||
// echo '<link href="../styles/'.$this->theme.'/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.css" rel="stylesheet">'."\n";
|
||||
|
||||
echo '<script type="text/javascript" src="../styles/'.$this->theme.'/jquery/jquery.min.js"></script>'."\n";
|
||||
|
|
|
@ -182,6 +182,10 @@ class SeedDMS_View_Calendar extends SeedDMS_Bootstrap_Style {
|
|||
print "</table>\n";
|
||||
} /* }}} */
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript');
|
||||
} /* }}} */
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user