Merge branch 'seeddms-4.3.x' into seeddms-5.0.x

This commit is contained in:
Uwe Steinmann 2016-05-23 12:30:54 +02:00
commit fe0e67b2ad
33 changed files with 360 additions and 114 deletions

View File

@ -359,6 +359,14 @@ class SeedDMS_Preview_Previewer {
}
} /* }}} */
static function recurseRmdir($dir) {
$files = array_diff(scandir($dir), array('.','..'));
foreach ($files as $file) {
(is_dir("$dir/$file")) ? SeedDMS_Preview_Previewer::recurseRmdir("$dir/$file") : unlink("$dir/$file");
}
return rmdir($dir);
}
/**
* Delete all preview images belonging to a document
*
@ -373,16 +381,8 @@ class SeedDMS_Preview_Previewer {
if(!$this->previewDir)
return false;
function recurseRmdir($dir) {
$files = array_diff(scandir($dir), array('.','..'));
foreach ($files as $file) {
(is_dir("$dir/$file")) ? recurseRmdir("$dir/$file") : unlink("$dir/$file");
}
return rmdir($dir);
}
$dir = $this->previewDir.'/'.$document->getDir();
return recurseRmdir($dir);
return SeedDMS_Preview_Previewer::recurseRmdir($dir);
} /* }}} */
}

View File

@ -1,14 +1,16 @@
*********************************************
How to set up SeedDMS Preview on Synology NAS
How to set up a Synology NAS to run SeedDMS
*********************************************
**This guide has been updated and tested to work on Synology DSM 6.0. It should as well work with older DMS versions, however some steps or paths may be different.**
Introduction
############
SeedDMS provides a function creating a preview of each document which is displayed on the document page.
SeedDMS is a feature rich and lightweight document management system. Unfortunately, some of the tools which are part of many Linux distros, have not been made available by
Synology and therefore require additional steps to bring them to your Synology.
Synology stations do not support the creation of the previews by default due to a missing Ghostscript implementation. Therefore
loading of a document page can use a lot of time because SeedDMS tries to create the missing preview images each time the document
page is being loaded.
This guide covers the installation of the required tools to have all features of SeedDMS available. It does not cover the installation of 3rd party programs (like OPKG). It
does not cover the installation of SeedDMS as well, please refer to the separate README.Install.md file.
Prerequisites
#############
@ -20,7 +22,7 @@ In order to complete the steps outlined below, you must be able to carry out the
To complete the installation, the following prerequisites on your Synology must be met:
* IPKG or OPKG (OPKG preferred) installed
* Pear Package SeedDMS_Preview already installed
* PEAR installed from the Synology Package Center
Installation and configuration
##############################
@ -31,8 +33,8 @@ must be done on the terminal.
Install Ghostscript
***************************
The first step is to install Ghostscript to make ImageMagick capable of converting PDF files to images. Use IPKG or OPKG to complete this
step.
The first step is to install Ghostscript to make ImageMagick capable of converting PDF files to images which are then used for previews.
Use IPKG or OPKG to complete this step.
Make Ghostscript available to PHP
*****************************************
@ -42,21 +44,10 @@ use phpinfo and find **_SERVER["PATH"]**. If you can't find /opt inside, PHP can
update the paths or just make a symlink.
To create the symlink, cd to /usr/bin and type *ln -s /opt/bin/gs gs*. Verify the created symlink.
Fix Ghostscript package bug
****************************************
Unfortunately the version delivered by OPKG has a bug, making Ghostscript failing to work properly. The bug requries fixing at the time
of the writing are the following:
* Resource path pointing to a wrong version (9.10 instead of 9.16)
First, fix the resource path. Go to /opt/bin and find **gs** in there. Open the file with VI. Change the GS_LIB path from */opt/share/ghostscript/9.10/Resource*
to */opt/share/ghostscript/9.16/Resource*. This will now allow Ghostscript to find it's files in the proper path.
Fix ImageMagick
********************
Not only Ghostscript is affected by bugs, the default configuration files are missing. Unfortunately some work is required here as well.
Not only Ghostscript is affected by bugs, the default configuration files for ImageMagick are missing. Unfortunately some work is required here as well.
To check where ImageMagick looks for it's files, invoke the command *convert -debug configure logo: null:*. You will see some paths shown, these
are the paths where ImageMagic tries to locate it's configuration files. The first path shown will point to */usr/share/ImageMagick-6* followed by the
@ -99,11 +90,74 @@ If you want to test Ghostcript as well, invoke the follwing command:
This command should go through without any errors and as well output a png file.
If the tests above are successful, you are ready to use SeedDMS Preview. Go to your SeedDMS Installation and open a folder. For the first test you
may take a folder with less files in it. Be patient while the previews are generated. You may check the process using *top* on the terminal.
If the tests above are successful, you are ready to use SeedDMS Preview.
At the end your document page should show the previews like shown below:
Install PEAR packages
*********************
.. figure:: preview.png
:alt: Document previews
:scale: 75%
This step is similar to the installation on other Linux distros. Once you installed PEAR from the Package Center you can call it from the command line.
The following packages are required by SeedDMS:
* Auth_SASL
* HTTP_WebDAV_Server
* Log
* Mail
* Net_SMTP
Install these packages, then go to the next step.
Install additional packages
***************************
SeedDMS uses other small tools (for example the Slim Framework) to add some additional functionality. At the moment (Version 5.0.x) the list contains the following
tools:
* FeedWriter
* Slim
* parsedown
Copy the tools to a folder on your Synology. Using the console, copy the tools to **/volume1/@appstore/PEAR**.
Copy the whole folders as they are and do not change the structure. As the PEAR directory is already within
the PHP include path, no further configuration is required to get them working.
Fulltext Index
***************
If you do not intend to use the fulltext index, please skip this section and continue with the readme file to
install SeedDMS.
To create the fulltext index, SeedDMS needs to be able to convert the documents to text files to read the terms
out. Pdftotext is already available by default, so we just need to take care of the Microsoft Office formats.
For this guide, the following two tools have been selected:
docx2txt available from http://docx2txt.sourceforge.net/
xlsx2csv available from http://github.com/dilshod/xlsx2csv
Copy both files to your Synology.
**docx2txt**
This program runs without any kind of installation. Create a folder on your Synology and extract the contents of the archive.
In SeedDMS you can now configure the setting for Word documents to the path where you extracted the files in the step before. Point
to the docx2txt.sh file and you are done.
To make the configuration more simple you can add a symlink in **/usr/bin**. This will allow you to call docx2txt from any location of your Synology.
The symlink must point to docx2txt.sh to get it working. In SeedDMS you can now just configure docx2txt followed by any additional commands.
**xlsx2csv**
This one must be installed to get it working. The installation script is written in Python, so you need to get Python installed on your Synology.
As the version available from Synology does not properly work (you can't install PIP) it is strongly recommended to use OPKG or IPKG to install Python.
Install Python and PIP. Once completed, point to the directory where you copied xlsx2csv. Unpack the archive, then execute the installer (pip install xlsx2csv).
Once completed, xlsx2csv is available and can be configured within SeedDMS.
Complete the installation
*************************
Now you are ready to install SeedDMS and configure the database. Follow the README file to install SeedDMS.

View File

@ -221,6 +221,7 @@ URL: [url]',
'choose_workflow_action' => 'اختر اجراء مسار عمل',
'choose_workflow_state' => 'اختر حالة مسار عمل',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => '',
'clear_password' => '',
'clipboard' => 'لوحة القصاصات',
@ -361,6 +362,7 @@ URL: [url]',
'draft_pending_review' => 'مسودة - قيد المراجعة',
'drag_icon_here' => 'قم بسحب ايقونة المستند او المجلد الى هنا!',
'dropfolder_file' => 'ملف من مجلد التجميع',
'dropfolder_folder' => '',
'dropupload' => 'رفع سريع',
'drop_files_here' => 'أفلت الملفات هنا!',
'dump_creation' => 'انشاء مستخرج من قاعدة البيانات',
@ -399,6 +401,7 @@ URL: [url]',
'error' => 'خطأ',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'لم يتم اختيار مستند',
'error_no_folder_selected' => 'لم يتم اختيار مجلد',
'error_occured' => 'حدث خطأ',
@ -501,6 +504,7 @@ URL: [url]',
'identical_version' => 'الاصدار الجديد مماثل للاصدار الحالي.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'اشمل مستندات',
'include_subdirectories' => 'اشمل مجلدات فرعية',
@ -1235,6 +1239,7 @@ URL: [url]',
'splash_edit_user' => '',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => '',
'splash_importfs' => '',
'splash_invalid_folder_id' => '',
'splash_invalid_searchterm' => '',
'splash_moved_clipboard' => '',

View File

@ -206,6 +206,7 @@ $text = array(
'choose_workflow_action' => 'Изберете workflow действие',
'choose_workflow_state' => 'Изберете състояние на workflow',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => '',
'clear_password' => '',
'clipboard' => '',
@ -316,6 +317,7 @@ $text = array(
'draft_pending_review' => 'Чернова - очаква рецензия',
'drag_icon_here' => 'Провлачи икона или папка, или документ ТУК!',
'dropfolder_file' => 'Файл от drop папка',
'dropfolder_folder' => '',
'dropupload' => '',
'drop_files_here' => '',
'dump_creation' => 'Създаване дъмп на БД',
@ -354,6 +356,7 @@ $text = array(
'error' => 'Грешка',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Няма избрани документи',
'error_no_folder_selected' => 'Няма избрани папки',
'error_occured' => 'Стана грешка',
@ -432,6 +435,7 @@ $text = array(
'identical_version' => 'Новата версия е идентична с текущата.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Включи документи',
'include_subdirectories' => 'Включи под-папки',
@ -1100,6 +1104,7 @@ $text = array(
'splash_edit_user' => '',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => '',
'splash_importfs' => '',
'splash_invalid_folder_id' => '',
'splash_invalid_searchterm' => '',
'splash_moved_clipboard' => '',

View File

@ -19,7 +19,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// Translators: Admin (662)
// Translators: Admin (698)
$text = array(
'accept' => 'Acceptar',
@ -36,7 +36,7 @@ $text = array(
'access_permission_changed_email_body' => '',
'access_permission_changed_email_subject' => '',
'according_settings' => '',
'action' => '',
'action' => 'Acció',
'actions' => 'Accions',
'action_approve' => '',
'action_complete' => '',
@ -62,7 +62,7 @@ $text = array(
'add_revision' => '',
'add_role' => '',
'add_subfolder' => 'Afegir subdirectori',
'add_to_clipboard' => '',
'add_to_clipboard' => 'Emmagatzemar al portapapers',
'add_to_transmittal' => '',
'add_transmittal' => '',
'add_user' => 'Afegir nou usuari',
@ -106,7 +106,7 @@ URL: [url]',
'april' => 'Abril',
'archive_creation' => 'Creació d\'arxiu',
'archive_creation_warning' => 'Amb aquesta operació pot crear un arxiu que contingui els fitxers de les carpetes del DMS complet. Després de crear-lo, l\'arxiu es guardarà a la carpeta de dades del servidor. <br>ATENCIÓ: un fitxer creat com llegible per humans no es podrà usar com a còpia de seguretat del servidor.',
'ar_EG' => '',
'ar_EG' => 'Àrab',
'assign_approvers' => 'Assignar aprovadors',
'assign_reviewers' => 'Assignar revisors',
'assign_user_property_to' => 'Assignar propietats d\'usuari a',
@ -155,7 +155,7 @@ URL: [url]',
'backup_remove' => 'Eliminar fitxer de còpia de seguretat',
'backup_tools' => 'Eines de còpia de seguretat',
'between' => 'entre',
'bg_BG' => '',
'bg_BG' => 'Búlgar',
'browse' => '',
'calendar' => 'Calendari',
'calendar_week' => '',
@ -176,7 +176,7 @@ URL: [url]',
'category_info' => '',
'category_in_use' => '',
'category_noname' => '',
'ca_ES' => '',
'ca_ES' => 'Català',
'change_assignments' => 'Canviar assignacions',
'change_password' => '',
'change_password_message' => '',
@ -211,9 +211,10 @@ URL: [url]',
'choose_workflow_action' => '',
'choose_workflow_state' => '',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => '',
'clear_password' => '',
'clipboard' => '',
'clipboard' => 'Portapapers',
'close' => 'Tancar',
'comment' => 'Comentaris',
'comment_changed_email' => '',
@ -244,7 +245,7 @@ URL: [url]',
'create_fulltext_index' => '',
'create_fulltext_index_warning' => '',
'creation_date' => 'Creació',
'cs_CZ' => '',
'cs_CZ' => 'Txec',
'current_password' => '',
'current_quota' => '',
'current_state' => '',
@ -261,7 +262,7 @@ URL: [url]',
'delete' => 'Eliminar',
'details' => 'Detalls',
'details_version' => 'Detalls de la versió: [version]',
'de_DE' => '',
'de_DE' => 'Alemany',
'disclaimer' => 'Aquesta és una àrea restringida. Només es permet l\'accés a usuaris autoritzats. Qualsevol intrusió es perseguirà d\'acord amb les lleis internacionals.',
'discspace' => '',
'document' => 'Document',
@ -319,10 +320,11 @@ URL: [url]',
'draft' => '',
'draft_pending_approval' => 'Esborrany - pendent d\'aprovació',
'draft_pending_review' => 'Esborrany - pendent de revisió',
'drag_icon_here' => '',
'drag_icon_here' => 'Arrossegui aquí una icona de carpeta o document',
'dropfolder_file' => '',
'dropupload' => '',
'drop_files_here' => '',
'dropfolder_folder' => '',
'dropupload' => 'Pujada ràpida',
'drop_files_here' => 'Dugui arxius aquí',
'dump_creation' => 'Creació de bolcat de BDD',
'dump_creation_warning' => 'Amb aquesta operació es crearà un bolcat a fitxer del contingut de la base de dades. Després de la creació del bolcat, el fitxer es guardarà a la carpeta de dades del seu servidor.',
'dump_list' => 'Fitxers de bolcat existents',
@ -354,17 +356,18 @@ URL: [url]',
'email_not_given' => '',
'empty_folder_list' => '',
'empty_notify_list' => 'No hi ha entrades',
'en_GB' => '',
'en_GB' => 'Anglès (Regne Unit)',
'equal_transition_states' => '',
'error' => '',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => '',
'error_no_folder_selected' => '',
'error_occured' => 'Ha succeït un error',
'error_remove_permission' => '',
'error_toogle_permission' => '',
'es_ES' => '',
'es_ES' => 'Castellà',
'event_details' => 'Detalls de l\'event',
'exclude_items' => '',
'expired' => 'Caducat',
@ -404,7 +407,7 @@ URL: [url]',
'friday' => 'Divendres',
'friday_abbr' => '',
'from' => 'Des de',
'fr_FR' => '',
'fr_FR' => 'Francès',
'fullsearch' => '',
'fullsearch_hint' => '',
'fulltext_info' => '',
@ -430,18 +433,19 @@ URL: [url]',
'hook_name' => '',
'hourly' => 'Hourly',
'hours' => '',
'hr_HR' => '',
'hr_HR' => 'Croat',
'human_readable' => 'Arxiu llegible per humans',
'hu_HU' => '',
'hu_HU' => 'Hongarès',
'id' => 'ID',
'identical_version' => '',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Incloure documents',
'include_subdirectories' => 'Incloure subdirectoris',
'index_converters' => '',
'index_folder' => '',
'index_folder' => 'Carpeta d\'índex',
'individuals' => 'Individuals',
'indivіduals_in_groups' => '',
'inherited' => '',
@ -474,7 +478,7 @@ URL: [url]',
'in_workflow' => '',
'is_disabled' => '',
'is_hidden' => 'Amagar de la llista d\'usuaris',
'it_IT' => '',
'it_IT' => 'Italià',
'january' => 'Gener',
'js_no_approval_group' => 'Si us plau, seleccioneu grup d\'aprovació',
'js_no_approval_status' => 'Si us plau, seleccioneu l\'estat d\'aprovació',
@ -499,7 +503,7 @@ URL: [url]',
'keywords' => 'Mots clau',
'keywords_loading' => '',
'keyword_exists' => 'El mot clau ja existeix',
'ko_KR' => '',
'ko_KR' => 'Coreà',
'language' => 'Llenguatge',
'lastaccess' => '',
'last_update' => 'Última modificació',
@ -576,7 +580,7 @@ URL: [url]',
'new_subfolder_email_subject' => '',
'new_user_image' => 'Nova imatge',
'next_state' => '',
'nl_NL' => '',
'nl_NL' => 'Holandès',
'no' => 'No',
'notify_added_email' => 'Se us ha afegit a la llista de notificació',
'notify_added_email_body' => '',
@ -646,7 +650,7 @@ URL: [url]',
'pending_reviews' => '',
'pending_workflows' => '',
'personal_default_keywords' => 'Mots clau personals',
'pl_PL' => '',
'pl_PL' => 'Polonès',
'possible_substitutes' => '',
'preview' => '',
'preview_converters' => '',
@ -654,7 +658,7 @@ URL: [url]',
'preview_plain' => '',
'previous_state' => '',
'previous_versions' => 'Versions anteriors',
'pt_BR' => '',
'pt_BR' => 'Portuguès',
'quota' => '',
'quota_exceeded' => '',
'quota_is_disabled' => '',
@ -746,11 +750,11 @@ URL: [url]',
'role_name' => '',
'role_type' => '',
'role_user' => 'User',
'ro_RO' => '',
'ro_RO' => 'Romanès',
'run_subworkflow' => '',
'run_subworkflow_email_body' => '',
'run_subworkflow_email_subject' => '',
'ru_RU' => '',
'ru_RU' => 'Rus',
'saturday' => 'Dissabte',
'saturday_abbr' => '',
'save' => 'Guardar',
@ -1084,9 +1088,9 @@ URL: [url]',
'sign_in' => 'sign in',
'sign_out' => 'desconnectar',
'sign_out_user' => '',
'sk_SK' => '',
'sk_SK' => 'Eslovac',
'space_used_on_data_folder' => 'Espai utilitzat a la carpeta de dades',
'splash_added_to_clipboard' => '',
'splash_added_to_clipboard' => 'Emmagatzemat al portapapers',
'splash_add_attribute' => '',
'splash_add_group' => '',
'splash_add_group_member' => '',
@ -1097,14 +1101,15 @@ URL: [url]',
'splash_document_added' => '',
'splash_document_checkedout' => '',
'splash_document_edited' => '',
'splash_document_locked' => '',
'splash_document_unlocked' => '',
'splash_document_locked' => 'Document blocat',
'splash_document_unlocked' => 'Document desblocat',
'splash_edit_attribute' => '',
'splash_edit_group' => '',
'splash_edit_role' => '',
'splash_edit_user' => '',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => '',
'splash_importfs' => '',
'splash_invalid_folder_id' => '',
'splash_invalid_searchterm' => '',
'splash_moved_clipboard' => '',
@ -1112,8 +1117,8 @@ URL: [url]',
'splash_move_folder' => '',
'splash_removed_from_clipboard' => '',
'splash_rm_attribute' => '',
'splash_rm_document' => '',
'splash_rm_folder' => '',
'splash_rm_document' => 'Document esborrat',
'splash_rm_folder' => 'Carpeta esborrada',
'splash_rm_group' => '',
'splash_rm_group_member' => '',
'splash_rm_role' => '',
@ -1154,14 +1159,14 @@ URL: [url]',
'submit_revision' => '',
'submit_userinfo' => '',
'substitute_to_user' => '',
'substitute_user' => '',
'substitute_user' => 'Canviar usuari',
'success_add_aro' => '',
'success_add_permission' => '',
'success_remove_permission' => '',
'success_toogle_permission' => '',
'sunday' => 'Diumenge',
'sunday_abbr' => '',
'sv_SE' => '',
'sv_SE' => 'Suec',
'switched_to' => '',
'takeOverGrpApprover' => '',
'takeOverGrpReviewer' => '',
@ -1202,12 +1207,12 @@ URL: [url]',
'transmittal_size' => '',
'tree_loading' => 'Espereu mentre l\'arbre de documents es carrega...',
'trigger_workflow' => '',
'tr_TR' => '',
'tr_TR' => 'Turc',
'tuesday' => 'Dimarts',
'tuesday_abbr' => '',
'type_of_hook' => '',
'type_to_search' => '',
'uk_UA' => '',
'uk_UA' => 'Ucraïnès',
'under_folder' => 'A carpeta',
'unknown_attrdef' => '',
'unknown_command' => 'Ordre no reconeguda.',
@ -1290,7 +1295,7 @@ URL: [url]',
'workflow_user_summary' => '',
'year_view' => 'Vista d\'any',
'yes' => 'Sí',
'zh_CN' => '',
'zh_TW' => '',
'zh_CN' => 'Xinès (Xina)',
'zh_TW' => 'Xina (Taiwan)',
);
?>

View File

@ -228,6 +228,7 @@ URL: [url]',
'choose_workflow_action' => 'Zvolte akci pracovního postupu',
'choose_workflow_state' => 'Zvolit akci pracovního postupu',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Vyčistit schránku',
'clear_password' => '',
'clipboard' => 'Schránka',
@ -368,6 +369,7 @@ URL: [url]',
'draft_pending_review' => 'Návrh - čeká na kontrolu',
'drag_icon_here' => 'Přetáhnout ikonu složky nebo dokumentu sem!',
'dropfolder_file' => 'Soubor z "přetažené" složky',
'dropfolder_folder' => '',
'dropupload' => 'Rychlý upload',
'drop_files_here' => 'Soubory dát sem!',
'dump_creation' => 'Vytvoření zálohy databáze',
@ -406,6 +408,7 @@ URL: [url]',
'error' => 'Error',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Není vybrán žádný dokument.',
'error_no_folder_selected' => 'Není vybrána žádná složka',
'error_occured' => 'Vyskytla se chyba',
@ -508,6 +511,7 @@ URL: [url]',
'identical_version' => 'Nová verze je identická s verzí současnou',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Včetně dokumentů',
'include_subdirectories' => 'Včetně podadresářů',
@ -1244,6 +1248,7 @@ URL: [url]',
'splash_edit_user' => 'Uživatel uložen',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Změny složky uloženy',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Neplatné ID složky',
'splash_invalid_searchterm' => 'Neplatný vyhledávací dotaz',
'splash_moved_clipboard' => 'Schránka přenesena do aktuální složky',

View File

@ -19,7 +19,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// Translators: Admin (2229), dgrutsch (21)
// Translators: Admin (2234), dgrutsch (21)
$text = array(
'accept' => 'Übernehmen',
@ -233,6 +233,7 @@ URL: [url]',
'choose_workflow_action' => 'Workflow-Aktion wählen',
'choose_workflow_state' => 'Workflow-Status wählen',
'class_name' => 'Klassenname',
'clear_cache' => 'Cache löschen',
'clear_clipboard' => 'Zwischenablage leeren',
'clear_password' => 'Passwort löschen',
'clipboard' => 'Zwischenablage',
@ -373,6 +374,7 @@ URL: [url]',
'draft_pending_review' => 'Entwurf - bevorstehende Prüfung',
'drag_icon_here' => 'Icon eines Ordners oder Dokuments hier hin ziehen!',
'dropfolder_file' => 'Datei aus Ablageordner',
'dropfolder_folder' => 'Ordner aus Ablageordner',
'dropupload' => 'Direkt Hochladen',
'drop_files_here' => 'Dateien hier hin ziehen!',
'dump_creation' => 'DB dump erzeugen',
@ -411,6 +413,7 @@ URL: [url]',
'error' => 'Fehler',
'error_add_aro' => 'Fehler beim Hinzufügen des Zugriffsobjekt',
'error_add_permission' => 'Fehler beim Hinzufügen der Berechtigung',
'error_importfs' => 'Fehler beim Importieren aus dem Dateisystem',
'error_no_document_selected' => 'Kein Dokument ausgewählt',
'error_no_folder_selected' => 'Kein Ordner ausgewählt',
'error_occured' => 'Ein Fehler ist aufgetreten. Bitte Administrator benachrichtigen.',
@ -513,6 +516,7 @@ URL: [url]',
'identical_version' => 'Neue Version ist identisch zu aktueller Version.',
'import' => 'Importiere',
'importfs' => 'Importiere aus Dateisystem',
'import_fs' => 'Aus Dateisystem importieren',
'include_content' => 'Inhalte mit exportieren',
'include_documents' => 'Dokumente miteinbeziehen',
'include_subdirectories' => 'Unterverzeichnisse miteinbeziehen',
@ -1281,6 +1285,7 @@ URL: [url]',
'splash_edit_user' => 'Benutzer gespeichert',
'splash_error_add_to_transmittal' => 'Fehler beim Hinzufügen zur Dokumentenliste',
'splash_folder_edited' => 'Änderungen am Ordner gespeichert',
'splash_importfs' => '[docs] Dokumente und [folders] Ordner importiert',
'splash_invalid_folder_id' => 'Ungültige Ordner-ID',
'splash_invalid_searchterm' => 'Ungültiger Suchbegriff',
'splash_moved_clipboard' => 'Inhalt der Zwischenablage in aktuellen Ordner verschoben',

View File

@ -19,7 +19,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// Translators: Admin (1375), dgrutsch (7), netixw (14)
// Translators: Admin (1380), dgrutsch (7), netixw (14)
$text = array(
'accept' => 'Accept',
@ -233,6 +233,7 @@ URL: [url]',
'choose_workflow_action' => 'Choose workflow action',
'choose_workflow_state' => 'Choose workflow state',
'class_name' => 'Name of class',
'clear_cache' => 'Clear cache',
'clear_clipboard' => 'Clear clipboard',
'clear_password' => 'Clear password',
'clipboard' => 'Clipboard',
@ -373,6 +374,7 @@ URL: [url]',
'draft_pending_review' => 'Draft - pending review',
'drag_icon_here' => 'Drag icon of folder or document here!',
'dropfolder_file' => 'File from drop folder',
'dropfolder_folder' => 'Folder from drop folder',
'dropupload' => 'Fast upload',
'drop_files_here' => 'Drop files here!',
'dump_creation' => 'DB dump creation',
@ -411,6 +413,7 @@ URL: [url]',
'error' => 'Error',
'error_add_aro' => 'Error while adding access request object',
'error_add_permission' => 'Error while add permission',
'error_importfs' => 'Error while importing form file system',
'error_no_document_selected' => 'No document selected',
'error_no_folder_selected' => 'No folder selected',
'error_occured' => 'An error has occurred',
@ -513,6 +516,7 @@ URL: [url]',
'identical_version' => 'New version is identical to current version.',
'import' => 'Import',
'importfs' => 'Import from Filesystem',
'import_fs' => 'Import from filesystem',
'include_content' => 'Include content',
'include_documents' => 'Include documents',
'include_subdirectories' => 'Include subdirectories',
@ -1282,6 +1286,7 @@ URL: [url]',
'splash_edit_user' => 'User saved',
'splash_error_add_to_transmittal' => 'Error while adding document to transmittal',
'splash_folder_edited' => 'Save folder changes',
'splash_importfs' => 'Imported [docs] documents and [folders] folders',
'splash_invalid_folder_id' => 'Invalid folder ID',
'splash_invalid_searchterm' => 'Invalid search term',
'splash_moved_clipboard' => 'Clipboard moved into current folder',

View File

@ -228,6 +228,7 @@ URL: [url]',
'choose_workflow_action' => 'Seleccione acción del flujo de trabajo',
'choose_workflow_state' => 'Seleccione estado del flujo de trabajo',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Limpiar portapapeles',
'clear_password' => '',
'clipboard' => 'Portapapeles',
@ -368,6 +369,7 @@ URL: [url]',
'draft_pending_review' => 'Borrador - pendiente de revisión',
'drag_icon_here' => 'Arrastre carpeta o documento aquí!',
'dropfolder_file' => 'Fichero de la carpeta destino',
'dropfolder_folder' => '',
'dropupload' => 'Carga Rapida',
'drop_files_here' => 'Arrastre archivos aquí!',
'dump_creation' => 'Creación de volcado de BDD',
@ -406,6 +408,7 @@ URL: [url]',
'error' => 'Error',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Ningún documento seleccionado',
'error_no_folder_selected' => 'Ninguna carpeta seleccionada',
'error_occured' => 'Ha ocurrido un error',
@ -508,6 +511,7 @@ URL: [url]',
'identical_version' => 'La nueva versión es idéntica a la actual.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Incluir documentos',
'include_subdirectories' => 'Incluir subcarpetas',
@ -1250,6 +1254,7 @@ URL: [url]',
'splash_edit_user' => 'Usuario guardado',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Cambios a la carpeta guardados',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'ID de carpeta inválido',
'splash_invalid_searchterm' => 'Término de búsqueda inválido',
'splash_moved_clipboard' => 'Portapapeles movido a la carpeta actual',

View File

@ -228,6 +228,7 @@ URL: [url]',
'choose_workflow_action' => 'Choose une action de workflow',
'choose_workflow_state' => 'Choisir un état de workflow',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Vider le presse-papier',
'clear_password' => '',
'clipboard' => 'Presse-papier',
@ -368,6 +369,7 @@ URL: [url]',
'draft_pending_review' => 'Ebauche - En cours de correction',
'drag_icon_here' => 'Glisser/déposer le fichier ou document ici!',
'dropfolder_file' => 'Fichier du dossier déposé',
'dropfolder_folder' => '',
'dropupload' => 'Téléchargement rapide',
'drop_files_here' => 'Glissez fichiers ici!',
'dump_creation' => 'création sauvegarde BD',
@ -406,6 +408,7 @@ URL: [url]',
'error' => 'Erreur',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Aucun document sélectionné',
'error_no_folder_selected' => 'Aucun dossier sélectionné',
'error_occured' => 'Une erreur s\'est produite',
@ -508,6 +511,7 @@ URL: [url]',
'identical_version' => 'Nouvelle version identique à l\'actuelle.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Inclure les documents',
'include_subdirectories' => 'Inclure les sous-dossiers',
@ -1226,6 +1230,7 @@ URL: [url]',
'splash_edit_user' => 'Utilisateur modifié',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => '',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Identifiant de répertoire invalide',
'splash_invalid_searchterm' => 'Recherche invalide',
'splash_moved_clipboard' => 'Presse-papier déplacé dans le répertoire courant',

View File

@ -233,6 +233,7 @@ Internet poveznica: [url]',
'choose_workflow_action' => 'Odaberite radnju toka rada',
'choose_workflow_state' => 'Odaberite status toka rada',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Očistite međuspremnik',
'clear_password' => '',
'clipboard' => 'Međuspremnik',
@ -373,6 +374,7 @@ Internet poveznica: [url]',
'draft_pending_review' => 'Skica - čeka pregled',
'drag_icon_here' => 'Ovdje povuci ikonu mape ili dokumenta!',
'dropfolder_file' => 'Datoteka iz padajuće mape',
'dropfolder_folder' => '',
'dropupload' => 'Zona za brzo učitavanje',
'drop_files_here' => 'Ovdje ispusti datoteku!',
'dump_creation' => 'Izrada odlagališta baze podataka',
@ -411,6 +413,7 @@ Internet poveznica: [url]',
'error' => 'Greška',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Nije odabran dokument',
'error_no_folder_selected' => 'Nije odabrana mapa',
'error_occured' => 'Dogodila se greška',
@ -513,6 +516,7 @@ Internet poveznica: [url]',
'identical_version' => 'Nova verzija je identična trenutnoj verziji.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => 'Uključi sadržaj',
'include_documents' => 'Sadrži dokumente',
'include_subdirectories' => 'Sadrži podmape',
@ -1271,6 +1275,7 @@ Internet poveznica: [url]',
'splash_edit_user' => 'Korisnik pohranjen',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Pohrani izmjene mape',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Nevažeći ID mape',
'splash_invalid_searchterm' => 'Nevažeći traženi pojam',
'splash_moved_clipboard' => 'Međuspremnik je premješten u trenutnu mapu',

View File

@ -228,6 +228,7 @@ URL: [url]',
'choose_workflow_action' => 'Válasszon munkafolyamat műveletet',
'choose_workflow_state' => 'Válasszon munkafolyamat állapotot',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Vágólap törlése',
'clear_password' => '',
'clipboard' => 'Vágólap',
@ -368,6 +369,7 @@ URL: [url]',
'draft_pending_review' => 'Piszkozat - felülvizsgálat folyamatban',
'drag_icon_here' => 'Húzza a mappa vagy dokumentum ikonját ide!',
'dropfolder_file' => 'Állomány a dropfolder-ből',
'dropfolder_folder' => '',
'dropupload' => 'Gyors feltöltés',
'drop_files_here' => 'Húzz ide egy fájlt',
'dump_creation' => 'Adatbázis mentés létrehozása',
@ -406,6 +408,7 @@ URL: [url]',
'error' => 'Hiba',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Nincs kijelölt dokumentum',
'error_no_folder_selected' => 'Nincs kijelölt mappa',
'error_occured' => 'Hiba történt',
@ -508,6 +511,7 @@ URL: [url]',
'identical_version' => 'Az új verzió megegyezik az eredetivel.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Tartalmazó dokumentumok',
'include_subdirectories' => 'Tartalmazó alkönyvtárak',
@ -1249,6 +1253,7 @@ URL: [url]',
'splash_edit_user' => 'Felhasználó mentve',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Mappa változásainak mentése',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Érvénytelen mappa azonosító',
'splash_invalid_searchterm' => 'Érvénytelen keresési feltétel',
'splash_moved_clipboard' => 'Vágólap tartalom áthelyezve az aktuális mappába',

View File

@ -234,6 +234,7 @@ URL: [url]',
'choose_workflow_action' => 'Seleziona l\'azione del flusso di lavoro',
'choose_workflow_state' => 'Seleziona lo stato del flusso di lavoro',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Cancella appunti',
'clear_password' => '',
'clipboard' => 'Appunti',
@ -374,6 +375,7 @@ URL: [url]',
'draft_pending_review' => 'Bozza - in revisione',
'drag_icon_here' => 'Trascina qui l\'icona della cartella o del documento',
'dropfolder_file' => 'Scegli file dal server',
'dropfolder_folder' => '',
'dropupload' => 'Caricamento Rapido',
'drop_files_here' => 'Trascina qui il file',
'dump_creation' => 'Creazione del DB dump',
@ -412,6 +414,7 @@ URL: [url]',
'error' => 'Errore',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Nessun documento selezionato',
'error_no_folder_selected' => 'Nessuna cartella selezionata',
'error_occured' => 'Ooops... Si è verificato un errore',
@ -514,6 +517,7 @@ URL: [url]',
'identical_version' => 'La nuova versione è identica a quella attuale.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => 'Includi contenuto',
'include_documents' => 'Includi documenti',
'include_subdirectories' => 'Includi sottocartelle',
@ -1273,6 +1277,7 @@ URL: [url]',
'splash_edit_user' => 'Utente modificato',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Cartella modificata',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'ID cartella non valido',
'splash_invalid_searchterm' => 'Termine di ricerca non valido',
'splash_moved_clipboard' => 'Appunti trasferiti nella cartella corrente',

View File

@ -235,6 +235,7 @@ URL: [url]',
'choose_workflow_action' => '워크플로우 작업 선택',
'choose_workflow_state' => '워크플로우 상태 선택',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => '클립 보드 제거',
'clear_password' => '',
'clipboard' => '클립보드',
@ -373,6 +374,7 @@ URL: [url]',
'draft_pending_review' => '초안 - 검토 대기',
'drag_icon_here' => '여기에 폴더 나 문서의 아이콘을 끌어!',
'dropfolder_file' => '드롭 폴더 파일',
'dropfolder_folder' => '',
'dropupload' => '빠른 업로드',
'drop_files_here' => '이곳에 파일을 올려놓으세요!',
'dump_creation' => 'DB 덤프 생성',
@ -411,6 +413,7 @@ URL: [url]',
'error' => '오류',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => '선택되지 문서는',
'error_no_folder_selected' => '어떤 폴더를 선택하지',
'error_occured' => '오류가 발생했습니다',
@ -513,6 +516,7 @@ URL: [url]',
'identical_version' => '새 버전은 최신 버전으로 동일하다.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '내용을 포함',
'include_documents' => '문서 포함',
'include_subdirectories' => '서브 디렉토리를 포함',
@ -1264,6 +1268,7 @@ URL : [url]',
'splash_edit_user' => '사용자 저장',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => '저장 폴더 변경',
'splash_importfs' => '',
'splash_invalid_folder_id' => '잘못된 폴더 ID',
'splash_invalid_searchterm' => '잘못된 검색 범위',
'splash_moved_clipboard' => '클립 보드가 현재 폴더로 이동',

View File

@ -226,6 +226,7 @@ URL: [url]',
'choose_workflow_action' => 'Kies workflow actie',
'choose_workflow_state' => 'kiest workflowstatus',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Vrijgeven klembord',
'clear_password' => '',
'clipboard' => 'Klembord',
@ -366,6 +367,7 @@ URL: [url]',
'draft_pending_review' => 'Draft - in afwachting van controle',
'drag_icon_here' => 'Versleep icoon van de folder of bestand hier!',
'dropfolder_file' => 'Bestand van dropfolder',
'dropfolder_folder' => '',
'dropupload' => 'Snel toevoegen',
'drop_files_here' => 'Sleep bestanden hierheen!',
'dump_creation' => 'DB dump aanmaken',
@ -404,6 +406,7 @@ URL: [url]',
'error' => 'Fout',
'error_add_aro' => 'Verzoek om toegang toegevoegd',
'error_add_permission' => 'Voeg permissie toe',
'error_importfs' => '',
'error_no_document_selected' => 'Geen document geselecteerd',
'error_no_folder_selected' => 'Geen map geselecteerd',
'error_occured' => 'Er is een fout opgetreden',
@ -506,6 +509,7 @@ URL: [url]',
'identical_version' => 'Nieuwe versie is identiek aan de huidige versie',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => 'inclusief inhoud',
'include_documents' => 'Inclusief documenten',
'include_subdirectories' => 'Inclusief submappen',
@ -1277,6 +1281,7 @@ URL: [url]',
'splash_edit_user' => 'Gebruiker opgeslagen',
'splash_error_add_to_transmittal' => 'Fout: toevoeging aan verzending',
'splash_folder_edited' => 'Opslaan mapwijzigingen',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Ongeldige map ID',
'splash_invalid_searchterm' => 'Ongeldige zoekterm',
'splash_moved_clipboard' => 'Klembord verplaatst naar de huidige map',

View File

@ -221,6 +221,7 @@ URL: [url]',
'choose_workflow_action' => 'Wybierz działanie procesu',
'choose_workflow_state' => 'Wybierz stan obiegu',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Oczyść schowek',
'clear_password' => '',
'clipboard' => 'Schowek',
@ -361,6 +362,7 @@ URL: [url]',
'draft_pending_review' => 'Szkic - w oczekiwaniu na opinię',
'drag_icon_here' => 'Przeciągnij ikonę folderu lub dokumentu tutaj!',
'dropfolder_file' => 'Plik z folderu rozwijanego',
'dropfolder_folder' => '',
'dropupload' => 'Szybki upload',
'drop_files_here' => 'Przeciągnij tu pliki!',
'dump_creation' => 'Utworzenie zrzutu bazy danych',
@ -399,6 +401,7 @@ URL: [url]',
'error' => 'Błąd',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Brak wybranych dokumentów',
'error_no_folder_selected' => 'Brak wybranych katalogów',
'error_occured' => 'Wystąpił błąd',
@ -501,6 +504,7 @@ URL: [url]',
'identical_version' => 'Nowa wersja jest identyczna z obecną',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Uwzględnij dokumenty',
'include_subdirectories' => 'Uwzględnij podkatalogi',
@ -1229,6 +1233,7 @@ URL: [url]',
'splash_edit_user' => 'Zapisano użytkownika',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Zapisz zmiany folderu',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Nieprawidłowy identyfikator folderu',
'splash_invalid_searchterm' => 'Nieprawidłowa wartość wyszukiwania',
'splash_moved_clipboard' => 'Schowek został przeniesiony do bieżącego folderu',

View File

@ -228,6 +228,7 @@ URL: [url]',
'choose_workflow_action' => 'Escolha a ação de fluxo de trabalho',
'choose_workflow_state' => 'Escolha um estado de fluxo de trabalho',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Limpar área de transferência',
'clear_password' => '',
'clipboard' => 'Área de transferência',
@ -367,6 +368,7 @@ URL: [url]',
'draft_pending_review' => 'Draft - pending review',
'drag_icon_here' => 'Arraste ícone de pasta ou documento para aqui!',
'dropfolder_file' => 'Arquivo de pasta suspensa',
'dropfolder_folder' => '',
'dropupload' => 'Upload rápido',
'drop_files_here' => 'Solte os arquivos aqui!',
'dump_creation' => 'DB dump creation',
@ -405,6 +407,7 @@ URL: [url]',
'error' => 'Erro',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Nenhum documento selecionado',
'error_no_folder_selected' => 'Nenhuma pasta selecionada',
'error_occured' => 'Ocorreu um erro',
@ -507,6 +510,7 @@ URL: [url]',
'identical_version' => 'Nova versão é idêntica à versão atual.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Include documents',
'include_subdirectories' => 'Include subdirectories',
@ -1247,6 +1251,7 @@ URL: [url]',
'splash_edit_user' => 'Usuário salvo',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Salvar modificação de pastas',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'ID de pasta inválida',
'splash_invalid_searchterm' => 'Termo de pesquisa inválido',
'splash_moved_clipboard' => 'Área de transferência movida para a pasta corrente',

View File

@ -233,6 +233,7 @@ URL: [url]',
'choose_workflow_action' => 'Alege acțiune workflow',
'choose_workflow_state' => 'Alege stare workflow',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Goleste clipboard',
'clear_password' => '',
'clipboard' => 'Clipboard',
@ -373,6 +374,7 @@ URL: [url]',
'draft_pending_review' => 'Proiect - în așteptarea revizuirii',
'drag_icon_here' => 'Trageți iconul de folder sau document aici!',
'dropfolder_file' => 'Fișiere din folderele aruncate (File from drop folder)',
'dropfolder_folder' => '',
'dropupload' => 'Încărcare rapidă',
'drop_files_here' => 'Aruncă fișierele aici!',
'dump_creation' => 'Creare fisier imagine baza de date',
@ -411,6 +413,7 @@ URL: [url]',
'error' => 'Eroare',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Nici un document selectat',
'error_no_folder_selected' => 'Nici un folder selectat',
'error_occured' => 'An error has occured',
@ -513,6 +516,7 @@ URL: [url]',
'identical_version' => 'Noua versiune este identică cu versiunea curentă.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Include documente',
'include_subdirectories' => 'Include subfoldere',
@ -1272,6 +1276,7 @@ URL: [url]',
'splash_edit_user' => 'Utilizator salvat',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Salvați modificările folderului',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'ID folder invalid',
'splash_invalid_searchterm' => 'Termen de căutare invalid',
'splash_moved_clipboard' => 'Clipboard mutat în folderul curent',

View File

@ -233,6 +233,7 @@ URL: [url]',
'choose_workflow_action' => 'Выберите действие процесса',
'choose_workflow_state' => 'Выберите статус процесса',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Очистить буфер обмена',
'clear_password' => '',
'clipboard' => 'Буфер обмена',
@ -373,6 +374,7 @@ URL: [url]',
'draft_pending_review' => '<b>Черновик</b> — ожидает рецензии',
'drag_icon_here' => 'Перетащите сюда значок каталога или документа.',
'dropfolder_file' => 'Файл из проходного каталога',
'dropfolder_folder' => '',
'dropupload' => 'Быстрая загрузка',
'drop_files_here' => 'Переместите файлы сюда',
'dump_creation' => 'Создать дамп БД',
@ -411,6 +413,7 @@ URL: [url]',
'error' => 'Ошибка',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Нет выбранных документов',
'error_no_folder_selected' => 'Нет выбранных каталогов',
'error_occured' => 'Произошла ошибка',
@ -513,6 +516,7 @@ URL: [url]',
'identical_version' => 'Новая версия идентична текущей.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => 'Включая содержимое',
'include_documents' => 'Включая документы',
'include_subdirectories' => 'Включая подкаталоги',
@ -1279,6 +1283,7 @@ URL: [url]',
'splash_edit_user' => 'Пользователь сохранён',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Изменения каталога сохранены',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Неверный идентификатор каталога',
'splash_invalid_searchterm' => 'Неверный поисковый запрос',
'splash_moved_clipboard' => 'Буфер обмена перенесён в текущий каталог',

View File

@ -210,6 +210,7 @@ URL: [url]',
'choose_workflow_action' => '',
'choose_workflow_state' => '',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => '',
'clear_password' => '',
'clipboard' => 'Schránka',
@ -320,6 +321,7 @@ URL: [url]',
'draft_pending_review' => 'Návrh - čaká na kontrolu',
'drag_icon_here' => 'Sem myšou pretiahnite ikonu, zložku alebo dokument',
'dropfolder_file' => '',
'dropfolder_folder' => '',
'dropupload' => 'Rýchlo nahraj',
'drop_files_here' => 'Sem vložte súbory!',
'dump_creation' => 'Vytvorenie výstupu DB',
@ -358,6 +360,7 @@ URL: [url]',
'error' => 'Chyba',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => '',
'error_no_folder_selected' => '',
'error_occured' => 'Vyskytla sa chyba',
@ -436,6 +439,7 @@ URL: [url]',
'identical_version' => '',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Vrátane súborov',
'include_subdirectories' => 'Vrátane podzložiek',
@ -1104,6 +1108,7 @@ URL: [url]',
'splash_edit_user' => '',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => '',
'splash_importfs' => '',
'splash_invalid_folder_id' => '',
'splash_invalid_searchterm' => '',
'splash_moved_clipboard' => '',

View File

@ -221,6 +221,7 @@ URL: [url]',
'choose_workflow_action' => 'Välj åtgärd för arbetsflödet',
'choose_workflow_state' => 'Välj status för arbetsflödet',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Rensa urklipp',
'clear_password' => '',
'clipboard' => 'Urklipp',
@ -361,6 +362,7 @@ URL: [url]',
'draft_pending_review' => 'Utkast: väntar på granskning',
'drag_icon_here' => 'Dra ikon av mappen eller dokument hit!',
'dropfolder_file' => 'Fil från mellanlagrings-mappen',
'dropfolder_folder' => '',
'dropupload' => 'Snabb uppladdning',
'drop_files_here' => 'Släpp filer här!',
'dump_creation' => 'Skapa DB-dump',
@ -399,6 +401,7 @@ URL: [url]',
'error' => 'Fel',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Inget dokument har valts',
'error_no_folder_selected' => 'Ingen katalog har valts',
'error_occured' => 'Ett fel har inträffat.',
@ -501,6 +504,7 @@ URL: [url]',
'identical_version' => 'Ny version är lika med den aktuella versionen.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Inkludera dokument',
'include_subdirectories' => 'Inkludera under-kataloger',
@ -1235,6 +1239,7 @@ URL: [url]',
'splash_edit_user' => 'Användare sparat',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Spara katalog ändringar',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Ogiltigt katalog ID',
'splash_invalid_searchterm' => 'Ogiltigt sökord',
'splash_moved_clipboard' => 'Urklipp flyttades till aktuella katalogen',

View File

@ -19,7 +19,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// Translators: Admin (1032), aydin (83)
// Translators: Admin (1036), aydin (83)
$text = array(
'accept' => 'Kabul',
@ -52,7 +52,7 @@ URL: [url]',
'add_approval' => 'Onay ver',
'add_document' => 'Doküman ekle',
'add_document_link' => 'Link ekle',
'add_document_notify' => '',
'add_document_notify' => 'Hatırlatma ekte',
'add_doc_reviewer_approver_warning' => 'NOT: Dokümanlara onay veren veya gözden geçiren kimse atanmamışsa otomatik olarak yayınlanırlar.',
'add_doc_workflow_warning' => 'NOT: Dokümanlara iş akışı atanmamışsa otomatik olarak yayınlanırlar.',
'add_event' => 'Etkinlik ekle',
@ -227,6 +227,7 @@ URL: [url]',
'choose_workflow_action' => 'İş akış eylemi seçiniz',
'choose_workflow_state' => 'İş akış durumunu seçiniz',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Panoyu temizle',
'clear_password' => '',
'clipboard' => 'Pano',
@ -367,6 +368,7 @@ URL: [url]',
'draft_pending_review' => 'Taslak - kontrol bekliyor',
'drag_icon_here' => 'Klasör veya dokümanın ikonunu buraya sürükleyin!',
'dropfolder_file' => 'Sürüklenen klasörden dosya',
'dropfolder_folder' => '',
'dropupload' => 'Hızlı yükleme',
'drop_files_here' => 'Dosyaları buraya sürükleyin!',
'dump_creation' => 'Veritabanı dump oluşturma',
@ -405,6 +407,7 @@ URL: [url]',
'error' => 'Hata',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Hiçbir doküman seçilmedi',
'error_no_folder_selected' => 'Hiçbir klasör seçilmedi',
'error_occured' => 'Bir hata oluştu',
@ -507,6 +510,7 @@ URL: [url]',
'identical_version' => 'Yeni versiyon güncel versiyonla aynı.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => 'Dokümanları kapsa',
'include_subdirectories' => 'Alt klasörleri kapsa',
@ -567,7 +571,7 @@ URL: [url]',
'keep' => 'Değiştirmeyin',
'keep_doc_status' => 'Doküman durumunu değiştirme',
'keywords' => 'Anahtar kelimeler',
'keywords_loading' => '',
'keywords_loading' => 'Anahtar sözcük listesi yüklenene kadar lütfen bekleyin...',
'keyword_exists' => 'Anahtar kelime zaten mevcut',
'ko_KR' => 'Korece',
'language' => 'Dil',
@ -925,12 +929,12 @@ URL: [url]',
'select_grp_ind_notification' => '',
'select_grp_ind_recipients' => '',
'select_grp_ind_reviewers' => '',
'select_grp_notification' => '',
'select_grp_notification' => 'Gruplar için hatırlatma seçmek için tıklayın',
'select_grp_recipients' => '',
'select_grp_reviewers' => 'Grup kontrol edeni seçmek için tıklayın',
'select_grp_revisors' => '',
'select_ind_approvers' => 'Bireysel onaylanı seçmek için tıklayın',
'select_ind_notification' => '',
'select_ind_notification' => 'Bireysel hatırlatma seçmek için tıklayın',
'select_ind_recipients' => '',
'select_ind_reviewers' => 'Biresysel kontrol edeni seçmek için tıklayın',
'select_ind_revisors' => '',
@ -1251,6 +1255,7 @@ URL: [url]',
'splash_edit_user' => 'Kullanıcı kaydedildi',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Klasör değişiklikleri kaydedildi',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Hatalı klasör ID',
'splash_invalid_searchterm' => 'Hatalı arama terimi',
'splash_moved_clipboard' => 'Pano mevcut klasöre taşındı',

View File

@ -233,6 +233,7 @@ URL: [url]',
'choose_workflow_action' => 'Оберіть дію процесу',
'choose_workflow_state' => 'Оберіть статус процесу',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => 'Очистити буфер обміну',
'clear_password' => '',
'clipboard' => 'Буфер обміну',
@ -373,6 +374,7 @@ URL: [url]',
'draft_pending_review' => '<b>Чернетка</b> — Очікує на рецензію',
'drag_icon_here' => 'Перетягніть сюди значок документа чи каталогу',
'dropfolder_file' => 'Файл з прохідного каталогу',
'dropfolder_folder' => '',
'dropupload' => 'Швидке завантаження',
'drop_files_here' => 'Перемістіть файли сюди',
'dump_creation' => 'Створити дамп БД',
@ -411,6 +413,7 @@ URL: [url]',
'error' => 'Помилка',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => 'Немає вибраних документів',
'error_no_folder_selected' => 'Немає вибраних каталогів',
'error_occured' => 'Виникла помилка',
@ -513,6 +516,7 @@ URL: [url]',
'identical_version' => 'Нова версія ідентична поточній.',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => 'Включно з вмістом',
'include_documents' => 'Включно з документами',
'include_subdirectories' => 'Включно з підкаталогами',
@ -1272,6 +1276,7 @@ URL: [url]',
'splash_edit_user' => 'Користувача збережено',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => 'Зміни каталогу збережено',
'splash_importfs' => '',
'splash_invalid_folder_id' => 'Невірний ідентифікатор каталогу',
'splash_invalid_searchterm' => 'Невірний пошуковий запит',
'splash_moved_clipboard' => 'Буфер обміну перенесено в поточний каталог',

View File

@ -19,7 +19,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// Translators: Admin (632), fengjohn (5)
// Translators: Admin (633), fengjohn (5)
$text = array(
'accept' => '接受',
@ -210,6 +210,7 @@ URL: [url]',
'choose_workflow_action' => '',
'choose_workflow_state' => '',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => '清除粘贴板',
'clear_password' => '',
'clipboard' => '剪切板',
@ -322,6 +323,7 @@ URL: [url]',
'draft_pending_review' => '待校对',
'drag_icon_here' => '拖动图标到这里',
'dropfolder_file' => '所选文件夹的文件',
'dropfolder_folder' => '',
'dropupload' => '快速上传',
'drop_files_here' => '拖入这里',
'dump_creation' => '转储数据',
@ -360,6 +362,7 @@ URL: [url]',
'error' => '错误',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => '请选择文档',
'error_no_folder_selected' => '请选择文件夹',
'error_occured' => '出错',
@ -438,6 +441,7 @@ URL: [url]',
'identical_version' => '',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => '包含文档',
'include_subdirectories' => '包含子目录',
@ -878,7 +882,7 @@ URL: [url]',
'settings_enableDuplicateDocNames_desc' => '',
'settings_enableEmail' => '开启邮件',
'settings_enableEmail_desc' => '开启/关闭邮件自动提醒',
'settings_enableFolderTree' => '',
'settings_enableFolderTree' => '开启目录树',
'settings_enableFolderTree_desc' => '',
'settings_enableFullSearch' => '允许全文搜索',
'settings_enableFullSearch_desc' => '允许全文搜索',
@ -1106,6 +1110,7 @@ URL: [url]',
'splash_edit_user' => '',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => '',
'splash_importfs' => '',
'splash_invalid_folder_id' => '',
'splash_invalid_searchterm' => '',
'splash_moved_clipboard' => '',

View File

@ -19,7 +19,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// Translators: Admin (2355)
// Translators: Admin (2359)
$text = array(
'accept' => '接受',
@ -125,12 +125,12 @@ URL: [url]',
'attrdef_objtype' => '類別',
'attrdef_regex' => '規則運算式',
'attrdef_type' => '類型',
'attrdef_type_boolean' => '',
'attrdef_type_boolean' => '布林數',
'attrdef_type_date' => '日期',
'attrdef_type_email' => '',
'attrdef_type_float' => '',
'attrdef_type_int' => '',
'attrdef_type_string' => '',
'attrdef_type_float' => '浮點數',
'attrdef_type_int' => '整數',
'attrdef_type_string' => '字串',
'attrdef_type_url' => '',
'attrdef_valueset' => '屬性值',
'attributes' => '屬性',
@ -210,6 +210,7 @@ URL: [url]',
'choose_workflow_action' => '選擇流程行為',
'choose_workflow_state' => '選擇流程狀態',
'class_name' => '',
'clear_cache' => '',
'clear_clipboard' => '清除剪貼簿',
'clear_password' => '',
'clipboard' => '剪貼簿',
@ -320,6 +321,7 @@ URL: [url]',
'draft_pending_review' => '待校對',
'drag_icon_here' => '拖動圖示到這裡',
'dropfolder_file' => '',
'dropfolder_folder' => '',
'dropupload' => '快速上傳',
'drop_files_here' => '拖入這裡',
'dump_creation' => '轉儲數據',
@ -358,6 +360,7 @@ URL: [url]',
'error' => '',
'error_add_aro' => '',
'error_add_permission' => '',
'error_importfs' => '',
'error_no_document_selected' => '請選擇文檔',
'error_no_folder_selected' => '請選擇資料夾',
'error_occured' => '出錯',
@ -436,6 +439,7 @@ URL: [url]',
'identical_version' => '',
'import' => '',
'importfs' => '',
'import_fs' => '',
'include_content' => '',
'include_documents' => '包含文檔',
'include_subdirectories' => '包含子目錄',
@ -1104,6 +1108,7 @@ URL: [url]',
'splash_edit_user' => '',
'splash_error_add_to_transmittal' => '',
'splash_folder_edited' => '',
'splash_importfs' => '',
'splash_invalid_folder_id' => '',
'splash_invalid_searchterm' => '',
'splash_moved_clipboard' => '',

View File

@ -13,8 +13,7 @@ if (!isset($_GET["targetid"]) || !is_numeric($_GET["targetid"]) || $_GET["target
$targetid = $_GET["targetid"];
$folder = $dms->getFolder($targetid);
if (!is_object($folder)) {
echo "Could not find specified folder\n";
exit(1);
UI::exitError(getMLText("admin_tools"),getMLText("invalid_target_folder"));
}
if ($folder->getAccessMode($user) < M_READWRITE) {
@ -30,7 +29,7 @@ if(!is_dir($dirname)) {
}
function import_folder($dirname, $folder) { /* {{{ */
global $user;
global $user, $doccount, $foldercount;
$d = dir($dirname);
$sequence = 1;
@ -56,27 +55,40 @@ function import_folder($dirname, $folder) { /* {{{ */
if (is_bool($lastDotIndex) && !$lastDotIndex) $filetype = ".";
else $filetype = substr($path, $lastDotIndex);
echo $mimetype." - ".$filetype." - ".$path."\n";
$res = $folder->addDocument($name, $comment, $expires, $user, $keywords,
// echo $mimetype." - ".$filetype." - ".$path."\n";
if($res = $folder->addDocument($name, $comment, $expires, $user, $keywords,
$categories, $filetmp, $name,
$filetype, $mimetype, $sequence, $reviewers,
$approvers, $reqversion, $version_comment);
if (is_bool($res) && !$res) {
echo "Could not add document to folder\n";
exit(1);
$approvers, $reqversion, $version_comment)) {
$doccount++;
} else {
return false;
}
set_time_limit(1200);
set_time_limit(30);
} elseif(is_dir($path)) {
$name = basename($path);
$newfolder = $folder->addSubFolder($name, '', $user, $sequence);
import_folder($path, $newfolder);
if($newfolder = $folder->addSubFolder($name, '', $user, $sequence)) {
$foldercount++;
if(!import_folder($path, $newfolder))
return false;
} else {
return false;
}
}
$sequence++;
}
}
return true;
} /* }}} */
header("Content-Type: text/plain");
import_folder($dirname, $folder);
$foldercount = $doccount = 0;
if($newfolder = $folder->addSubFolder($_GET["dropfolderfileform1"], '', $user, 1)) {
if(!import_folder($dirname, $newfolder))
$session->setSplashMsg(array('type'=>'error', 'msg'=>getMLText('error_importfs')));
else
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_importfs', array('docs'=>$doccount, 'folders'=>$foldercount))));
} else {
$session->setSplashMsg(array('type'=>'error', 'msg'=>getMLText('error_importfs')));
}
header("Location:../out/out.ViewFolder.php?folderid=".$newfolder->getID());

View File

@ -215,6 +215,29 @@ function getFolderPath($id) { /* {{{ */
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$data));
} /* }}} */
function getFolderAttributes($id) { /* {{{ */
global $app, $dms, $userobj;
$folder = $dms->getFolder($id);
if($folder) {
if ($folder->getAccessMode($userobj) >= M_READ) {
$recs = array();
$attributes = $folder->getAttributes();
foreach($attributes as $attribute) {
$recs[] = array(
'id'=>$attribute->getId(),
'value'=>$attribute->getValue(),
'name'=>$attribute->getAttributeDefinition()->getName(),
);
}
$app->response()->header('Content-Type', 'application/json');
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
} else {
$app->response()->status(404);
}
}
} /* }}} */
function getFolderChildren($id) { /* {{{ */
global $app, $dms, $userobj;
if($id == 0) {
@ -649,6 +672,29 @@ function getDocumentLinks($id) { /* {{{ */
}
} /* }}} */
function getDocumentAttributes($id) { /* {{{ */
global $app, $dms, $userobj;
$document = $dms->getDocument($id);
if($document) {
if ($document->getAccessMode($userobj) >= M_READ) {
$recs = array();
$attributes = $document->getAttributes();
foreach($attributes as $attribute) {
$recs[] = array(
'id'=>$attribute->getId(),
'value'=>$attribute->getValue(),
'name'=>$attribute->getAttributeDefinition()->getName(),
);
}
$app->response()->header('Content-Type', 'application/json');
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
} else {
$app->response()->status(404);
}
}
} /* }}} */
function getAccount() { /* {{{ */
global $app, $dms, $userobj;
if($userobj) {
@ -838,8 +884,7 @@ function doSearchByAttr() { /* {{{ */
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
} /* }}} */
function checkIfAdmin()
{
function checkIfAdmin() { /* {{{ */
global $app, $dms, $userobj;
if(!$userobj) {
$app->response()->header('Content-Type', 'application/json');
@ -853,8 +898,7 @@ function checkIfAdmin()
}
return true;
}
} /* }}} */
function createAccount() { /* {{{ */
global $app, $dms, $userobj;
@ -1063,7 +1107,7 @@ function changeGroupMembership($id, $operationType) { /* {{{ */
function addUserToGroup($id) { /* {{{ */
changeGroupMembership($id, 'add');
}
} /* }}} */
function removeUserFromGroup($id) { /* {{{ */
changeGroupMembership($id, 'remove');
@ -1231,7 +1275,6 @@ function changeFolderAccess($id, $operationType, $userOrGroup) { /* {{{ */
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$data));
} /* }}} */
function clearFolderAccessList($id) { /* {{{ */
global $app, $dms, $userobj;
checkIfAdmin();
@ -1289,6 +1332,7 @@ $app->delete('/folder/:id', 'deleteFolder');
$app->get('/folder/:id/children', 'getFolderChildren');
$app->get('/folder/:id/parent', 'getFolderParent');
$app->get('/folder/:id/path', 'getFolderPath');
$app->get('/folder/:id/attributes', 'getFolderAttributes');
$app->post('/folder/:id/createfolder', 'createFolder');
$app->put('/folder/:id/document', 'uploadDocument');
$app->get('/document/:id', 'getDocument');
@ -1300,6 +1344,7 @@ $app->get('/document/:id/version/:version', 'getDocumentVersion');
$app->get('/document/:id/files', 'getDocumentFiles');
$app->get('/document/:id/file/:fileid', 'getDocumentFile');
$app->get('/document/:id/links', 'getDocumentLinks');
$app->get('/document/:id/attributes', 'getDocumentAttributes');
$app->put('/account/fullname', 'setFullName');
$app->put('/account/email', 'setEmail');
$app->get('/account/locked', 'getLockedDocuments');

View File

@ -32,8 +32,6 @@ require_once("class.Bootstrap.php");
class SeedDMS_View_ForcePasswordChange extends SeedDMS_Bootstrap_Style {
function js() { /* {{{ */
$strictformcheck = $this->params['strictformcheck'];
header('Content-Type: application/javascript');
?>
function checkForm()

View File

@ -52,12 +52,12 @@ class SeedDMS_View_ImportFS extends SeedDMS_Bootstrap_Style {
$this->contentContainerStart();
print "<form class=\"form-horizontal\" action=\"../op/op.ImportFS.php\" name=\"form1\">";
print "<div class=\"control-group\"><label class=\"control-label\"></label><div class=\"controls\">";
print "<div class=\"control-group\"><label class=\"control-label\">".getMLText('choose_target_folder')."</label><div class=\"controls\">";
$this->printFolderChooserHtml("form1",M_READWRITE);
print "</div></div>";
if($dropfolderdir) {
print "<div class=\"control-group\"><label class=\"control-label\">";
printMLText("dropfolder_file");
printMLText("dropfolder_folder");
echo ": ";
print "</label><div class=\"controls\">";
/* Setting drop folder dir to "" will force to take the default from settings.xml */

View File

@ -451,7 +451,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
$this->pageList($pageNumber, $totalpages, "../out/out.Search.php", $urlparams);
// $this->contentContainerStart();
print "<table class=\"table\">";
print "<table class=\"table table-hover\">";
print "<thead>\n<tr>\n";
print "<th></th>\n";
print "<th>".getMLText("name")."</th>\n";

View File

@ -48,7 +48,10 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
$this->contentContainerStart();
?>
<table class="table table-condensed">
<tr><th><?php printMLText('name'); ?></th><th><?php printMLText('email');?></th><th><?php printMLText('groups'); ?></th><th></th></tr>
<thead>
<tr><th><?php printMLText('name'); ?></th><th><?php printMLText('email');?></th><th><?php printMLText('groups'); ?></th><th></th></tr>
</thead>
<tbody>
<?php
foreach ($allUsers as $currUser) {
echo "<tr>";
@ -76,6 +79,7 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
echo "</td>";
echo "</tr>";
}
echo "</tbody>";
echo "</table>";
$this->contentContainerEnd();

View File

@ -165,6 +165,23 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
$this->printDocumentChooserJs("form1");
} /* }}} */
function preview() { /* {{{ */
$document = $this->params['document'];
$latestContent = $document->getLatestContent();
switch($latestContent->getMimeType()) {
case 'audio/mpeg':
case 'audio/ogg':
case 'audio/wav':
$this->contentHeading(getMLText("preview"));
?>
<audio controls style="width: 100%;">
<source src="../op/op.Download.php?documentid=<?php echo $document->getID(); ?>&version=<?php echo $latestContent->getVersion(); ?>" type="audio/mpeg">
</audio>
<?php
break;
}
} /* }}} */
function show() { /* {{{ */
parent::show();
$dms = $this->params['dms'];
@ -371,6 +388,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
if(is_string($txt))
echo $txt;
$this->contentContainerEnd();
// $this->preview();
?>
</div>
<div class="span9">

View File

@ -283,7 +283,7 @@ function folderSelected(id, name) {
if(is_string($txt))
echo $txt;
else {
print "<table id=\"viewfolder-table\" class=\"table table-condensed\">";
print "<table id=\"viewfolder-table\" class=\"table table-condensed table-hover\">";
print "<thead>\n<tr>\n";
print "<th></th>\n";
print "<th><a href=\"../out/out.ViewFolder.php?folderid=". $folderid .($orderby=="n"?"&orderby=s":"&orderby=n")."\">".getMLText("name")."</a></th>\n";