mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
Merge branch 'seeddms-4.3.8' into develop
Conflicts: styles/bootstrap/application.js views/bootstrap/class.Bootstrap.php
This commit is contained in:
commit
c180f17f98
|
@ -6,6 +6,13 @@
|
|||
opened (Bug #136)
|
||||
- fix error in command line indexer, now uses converters in settings.xml (Bug #137)
|
||||
- more condensed output of full text info page
|
||||
- use settings for enable theme and language selector in profile (Bug #142)
|
||||
- restrict number of items in pager on search result page
|
||||
- іssue error if end date is before start when adding an event (Bug #146)
|
||||
- blank categories and keywords cannot be saved anymore (Bug #148)
|
||||
- add missing error msg in attribute editor (Bug #149)
|
||||
- better user feedback after reseting password (Bug #139)
|
||||
- add page with statistical data (pie charts)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 4.3.7
|
||||
|
|
|
@ -2032,6 +2032,83 @@ class SeedDMS_Core_DMS {
|
|||
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Returns statitical information
|
||||
*
|
||||
* This method returns all kind of statistical information like
|
||||
* documents or used space per user, recent activity, etc.
|
||||
*
|
||||
* @param string $type type of statistic
|
||||
* @param array statistical data
|
||||
*/
|
||||
function getStatisticalData($type='') { /* {{{ */
|
||||
switch($type) {
|
||||
case 'docsperuser':
|
||||
$queryStr = "select b.fullname as `key`, count(owner) as total from tblDocuments a left join tblUsers b on a.owner=b.id group by owner";
|
||||
$resArr = $this->db->getResultArray($queryStr);
|
||||
if (!$resArr)
|
||||
return false;
|
||||
|
||||
return $resArr;
|
||||
case 'docspermimetype':
|
||||
$queryStr = "select b.mimeType as `key`, count(mimeType) as total from tblDocuments a left join tblDocumentContent b on a.id=b.document group by b.mimeType";
|
||||
$resArr = $this->db->getResultArray($queryStr);
|
||||
if (!$resArr)
|
||||
return false;
|
||||
|
||||
return $resArr;
|
||||
case 'docspercategory':
|
||||
$queryStr = "select b.name as `key`, count(a.categoryID) as total from tblDocumentCategory a left join tblCategory b on a.categoryID=b.id group by a.categoryID";
|
||||
$resArr = $this->db->getResultArray($queryStr);
|
||||
if (!$resArr)
|
||||
return false;
|
||||
|
||||
return $resArr;
|
||||
case 'docsperstatus':
|
||||
$queryStr = "select b.status as `key`, count(b.status) as total from (select a.id, max(b.version), max(c.statusLogId) as maxlog from tblDocuments a left join tblDocumentStatus b on a.id=b.documentid left join tblDocumentStatusLog c on b.statusid=c.statusid group by a.id, b.version order by a.id, b.statusid) a left join tblDocumentStatusLog b on a.maxlog=b.statusLogId group by b.status";
|
||||
$queryStr = "select b.status as `key`, count(b.status) as total from (select a.id, max(c.statusLogId) as maxlog from tblDocuments a left join tblDocumentStatus b on a.id=b.documentid left join tblDocumentStatusLog c on b.statusid=c.statusid group by a.id order by a.id, b.statusid) a left join tblDocumentStatusLog b on a.maxlog=b.statusLogId group by b.status";
|
||||
$resArr = $this->db->getResultArray($queryStr);
|
||||
if (!$resArr)
|
||||
return false;
|
||||
|
||||
return $resArr;
|
||||
case 'docspermonth':
|
||||
$queryStr = "select `key`, count(`key`) as total from (select ".$this->db->getDateExtract("date")." as `key` from tblDocuments) a group by `key` order by `key`";
|
||||
$resArr = $this->db->getResultArray($queryStr);
|
||||
if (!$resArr)
|
||||
return false;
|
||||
|
||||
return $resArr;
|
||||
case 'docsaccumulated':
|
||||
$queryStr = "select `key`, count(`key`) as total from (select ".$this->db->getDateExtract("date")." as `key` from tblDocuments) a group by `key` order by `key`";
|
||||
$resArr = $this->db->getResultArray($queryStr);
|
||||
if (!$resArr)
|
||||
return false;
|
||||
|
||||
$sum = 0;
|
||||
foreach($resArr as &$res) {
|
||||
$sum += $res['total'];
|
||||
/* auxially variable $key is need because sqlite returns
|
||||
* a key '`key`'
|
||||
*/
|
||||
$key = mktime(12, 0, 0, substr($res['key'], 5, 2), substr($res['key'], 8, 2), substr($res['key'], 0, 4)) * 1000;
|
||||
unset($res['key']);
|
||||
$res['key'] = $key;
|
||||
$res['total'] = $sum;
|
||||
}
|
||||
return $resArr;
|
||||
case 'sizeperuser':
|
||||
$queryStr = "select c.fullname as `key`, sum(fileSize) as total from tblDocuments a left join tblDocumentContent b on a.id=b.document left join tblUsers c on a.owner=c.id group by a.owner";
|
||||
$resArr = $this->db->getResultArray($queryStr);
|
||||
if (!$resArr)
|
||||
return false;
|
||||
|
||||
return $resArr;
|
||||
default:
|
||||
return array();
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Set a callback function
|
||||
*
|
||||
|
|
|
@ -432,6 +432,26 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
}
|
||||
return false;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Return sql statement for extracting the date part from a field
|
||||
* containing a unix timestamp
|
||||
*
|
||||
* @param string $fieldname name of field containing the timestamp
|
||||
* @return string sql code
|
||||
*/
|
||||
function getDateExtract($fieldname) { /* {{{ */
|
||||
switch($this->_driver) {
|
||||
case 'mysql':
|
||||
return "from_unixtime(`".$fieldname."`, '%Y-%m-%d')";
|
||||
break;
|
||||
case 'sqlite':
|
||||
return "date(`".$fieldname."`, 'unixepoch')";
|
||||
break;
|
||||
}
|
||||
return '';
|
||||
} /* }}} */
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
<email>uwe@steinmann.cx</email>
|
||||
<active>yes</active>
|
||||
</lead>
|
||||
<date>2014-03-21</date>
|
||||
<date>2014-04-01</date>
|
||||
<time>09:03:59</time>
|
||||
<version>
|
||||
<release>4.3.7</release>
|
||||
<api>4.3.7</api>
|
||||
<release>4.3.8</release>
|
||||
<api>4.3.8</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
|
@ -24,7 +24,7 @@
|
|||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
no changes
|
||||
- new method SeedDMS_Core_DMS::getStatisticalData()
|
||||
</notes>
|
||||
<contents>
|
||||
<dir baseinstalldir="SeedDMS" name="/">
|
||||
|
@ -651,5 +651,21 @@ no changes
|
|||
- add new method SeedDMS_Core_Document::getReverseDocumentLinks()
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2014-03-21</date>
|
||||
<time>09:03:59</time>
|
||||
<version>
|
||||
<release>4.3.7</release>
|
||||
<api>4.3.7</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
<api>stable</api>
|
||||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
no changes
|
||||
</notes>
|
||||
</release>
|
||||
</changelog>
|
||||
</package>
|
||||
|
|
|
@ -172,6 +172,8 @@ class Settings { /* {{{ */
|
|||
var $_previewWidthList = 40;
|
||||
// Preview image width on document details page
|
||||
var $_previewWidthDetail = 100;
|
||||
// Show form to submit missing translations at end of page
|
||||
var $_showMissingTranslations = false;
|
||||
// Extra Path to additional software, will be added to include path
|
||||
var $_extraPath = null;
|
||||
// DB-Driver used by adodb (see adodb-readme)
|
||||
|
@ -459,6 +461,7 @@ class Settings { /* {{{ */
|
|||
$this->_siteDefaultPage = strval($tab["siteDefaultPage"]);
|
||||
$this->_rootFolderID = intval($tab["rootFolderID"]);
|
||||
$this->_titleDisplayHack = Settings::boolval($tab["titleDisplayHack"]);
|
||||
$this->_showMissingTranslations = Settings::boolval($tab["showMissingTranslations"]);
|
||||
|
||||
// XML Path: /configuration/advanced/authentication
|
||||
$node = $xml->xpath('/configuration/advanced/authentication');
|
||||
|
@ -722,6 +725,7 @@ class Settings { /* {{{ */
|
|||
$this->setXMLAttributValue($node, "siteDefaultPage", $this->_siteDefaultPage);
|
||||
$this->setXMLAttributValue($node, "rootFolderID", $this->_rootFolderID);
|
||||
$this->setXMLAttributValue($node, "titleDisplayHack", $this->_titleDisplayHack);
|
||||
$this->setXMLAttributValue($node, "showMissingTranslations", $this->_showMissingTranslations);
|
||||
|
||||
// XML Path: /configuration/advanced/authentication
|
||||
$node = $this->getXMLNode($xml, '/configuration/advanced', 'authentication');
|
||||
|
|
|
@ -76,6 +76,7 @@ class UI extends UI_Default {
|
|||
$view->setParam('enablelanguageselector', $settings->_enableLanguageSelector);
|
||||
$view->setParam('workflowmode', $settings->_workflowMode);
|
||||
$view->setParam('partitionsize', $settings->_partitionSize);
|
||||
$view->setParam('showmissingtranslations', $settings->_showMissingTranslations);
|
||||
return $view;
|
||||
}
|
||||
return null;
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
$LANG = array();
|
||||
$MISSING_LANG = array();
|
||||
foreach(getLanguages() as $_lang) {
|
||||
if(file_exists($settings->_rootDir . "languages/" . $_lang . "/lang.inc")) {
|
||||
include $settings->_rootDir . "languages/" . $_lang . "/lang.inc";
|
||||
|
@ -64,7 +65,7 @@ function getLanguages()
|
|||
* @param string $lang use this language instead of the currently set lang
|
||||
*/
|
||||
function getMLText($key, $replace = array(), $defaulttext = "", $lang="") { /* {{{ */
|
||||
GLOBAL $settings, $LANG, $session;
|
||||
GLOBAL $settings, $LANG, $session, $MISSING_LANG;
|
||||
|
||||
$trantext = '';
|
||||
if(0 && $settings->_otrance) {
|
||||
|
@ -80,10 +81,12 @@ function getMLText($key, $replace = array(), $defaulttext = "", $lang="") { /* {
|
|||
|
||||
if(!isset($LANG[$lang][$key]) || !$LANG[$lang][$key]) {
|
||||
if (!$defaulttext) {
|
||||
if(isset($LANG[$settings->_language][$key]))
|
||||
$MISSING_LANG[$key] = $lang; //$_SERVER['SCRIPT_NAME'];
|
||||
if(!empty($LANG[$settings->_language][$key])) {
|
||||
$tmpText = $LANG[$settings->_language][$key];
|
||||
else
|
||||
$tmpText = '';
|
||||
} else {
|
||||
$tmpText = '**'.$key.'**';
|
||||
}
|
||||
} else
|
||||
$tmpText = $defaulttext;
|
||||
} else
|
||||
|
|
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'ادارة تعريف السمات',
|
||||
'attrdef_maxvalues' => 'اكبر عدد من القيم',
|
||||
'attrdef_minvalues' => 'اقل عدد من القيم',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'السماح باكثر من قيمة',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'اسم',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'نوع الكائن',
|
||||
'attrdef_regex' => '',
|
||||
'attrdef_type' => 'نوع',
|
||||
|
@ -117,6 +120,8 @@ Parent folder: [folder_path]
|
|||
User: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - تم تغيير سمة',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => '',
|
||||
'at_least_n_users_of_group' => '',
|
||||
'august' => 'أغسطس',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'تغيير كلمة السر',
|
||||
'change_password_message' => 'تم تغيير كلمة السر.',
|
||||
'change_status' => 'تغيير الحالة',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'من فضلك اختر تعريف السمة',
|
||||
'choose_category' => 'من فضلك اختر',
|
||||
'choose_group' => 'اختر المجموعة',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'اشمل مستندات',
|
||||
'include_subdirectories' => 'اشمل مجلدات فرعية',
|
||||
'index_converters' => 'فهرس تحويل المستند',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'افراد',
|
||||
'inherited' => 'موروث',
|
||||
'inherits_access_copy_msg' => 'نسخ قائمة صلاحيات موروثة.',
|
||||
|
@ -553,6 +568,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'لايوجد مستندات حالية في انتظار الموافقة',
|
||||
'no_docs_to_look_at' => 'لايوجد مستندات حاليا تستدعي انتباهك',
|
||||
'no_docs_to_review' => 'لايوجد مستندات حاليا متاحة للمراجعة',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'لايوجد فهرس للنص الكامل متاح',
|
||||
'no_groups' => 'لايوجد مجموعات',
|
||||
'no_group_members' => 'هذه المجموعة لايوجد بها اعضاء',
|
||||
|
@ -588,6 +604,8 @@ URL: [url]',
|
|||
'password_forgotten_text' => 'قم بملء النموذج التالي واتبع التعليمات التى سيتم ارسالها اليك بالبريد الالكتروني',
|
||||
'password_forgotten_title' => 'ارسال كلمة السر',
|
||||
'password_repeat' => 'تكرار كلمة السر',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'قوة كلمة السر',
|
||||
'password_strength_insuffient' => 'قوة كلمة السر غير كافية',
|
||||
'password_wrong' => 'كلمة سر خاطئة',
|
||||
|
@ -897,6 +915,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID of root-folder (mostly no need to change)',
|
||||
'settings_SaveError' => 'Configuration file save error',
|
||||
'settings_Server' => 'Server settings',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'الموقع',
|
||||
'settings_siteDefaultPage' => 'Site Default Page',
|
||||
'settings_siteDefaultPage_desc' => 'Default page on login. If empty defaults to out/out.ViewFolder.php',
|
||||
|
@ -1018,6 +1038,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'خ',
|
||||
'to' => 'الى',
|
||||
'toggle_manager' => 'رجح مدير',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'تم تحريك انتقال مسار العمل',
|
||||
'transition_triggered_email_body' => 'تم تحريك انتقال مسار العمل
|
||||
المستند: [name]
|
||||
|
@ -1035,6 +1056,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'ث',
|
||||
'type_to_search' => 'اكتب لتبحث',
|
||||
'under_folder' => 'في المجلد',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'لم يتم التعرف على الأمر.',
|
||||
'unknown_document_category' => 'قسم مجهول',
|
||||
'unknown_group' => 'معرف قسم مجهول',
|
||||
|
|
|
@ -93,8 +93,11 @@ $text = array(
|
|||
'attrdef_management' => '',
|
||||
'attrdef_maxvalues' => '',
|
||||
'attrdef_minvalues' => '',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => '',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => '',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => '',
|
||||
'attrdef_regex' => '',
|
||||
'attrdef_type' => '',
|
||||
|
@ -102,6 +105,8 @@ $text = array(
|
|||
'attributes' => '',
|
||||
'attribute_changed_email_body' => '',
|
||||
'attribute_changed_email_subject' => '',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => '',
|
||||
'at_least_n_users_of_group' => '',
|
||||
'august' => 'Agost',
|
||||
|
@ -134,6 +139,15 @@ $text = array(
|
|||
'change_password' => '',
|
||||
'change_password_message' => '',
|
||||
'change_status' => 'Canviar estat',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => '',
|
||||
'choose_category' => '--Elegir categoria--',
|
||||
'choose_group' => '--Seleccionar grup--',
|
||||
|
@ -328,6 +342,7 @@ $text = array(
|
|||
'include_documents' => 'Incloure documents',
|
||||
'include_subdirectories' => 'Incloure subdirectoris',
|
||||
'index_converters' => '',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Individuals',
|
||||
'inherited' => '',
|
||||
'inherits_access_copy_msg' => 'Copiar llista d\'accés heretat',
|
||||
|
@ -462,6 +477,7 @@ $text = array(
|
|||
'no_docs_to_approve' => 'Actualmente no hi ha documents que necessitin aprovació.',
|
||||
'no_docs_to_look_at' => 'No hi ha documents que necessitin atenció.',
|
||||
'no_docs_to_review' => 'Actualmente no hi ha documents que necessitin revisió.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => '',
|
||||
'no_groups' => 'No hi ha grups',
|
||||
'no_group_members' => 'Aquest grup no té membres',
|
||||
|
@ -491,6 +507,8 @@ $text = array(
|
|||
'password_forgotten_text' => '',
|
||||
'password_forgotten_title' => '',
|
||||
'password_repeat' => '',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => '',
|
||||
'password_strength_insuffient' => '',
|
||||
'password_wrong' => '',
|
||||
|
@ -764,6 +782,8 @@ $text = array(
|
|||
'settings_rootFolderID_desc' => 'ID of root-folder (mostly no need to change)',
|
||||
'settings_SaveError' => 'Configuration file save error',
|
||||
'settings_Server' => 'Server settings',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Site',
|
||||
'settings_siteDefaultPage' => 'Site Default Page',
|
||||
'settings_siteDefaultPage_desc' => 'Default page on login. If empty defaults to out/out.ViewFolder.php',
|
||||
|
@ -885,6 +905,7 @@ $text = array(
|
|||
'thursday_abbr' => '',
|
||||
'to' => 'Fins',
|
||||
'toggle_manager' => 'Intercanviar manager',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => '',
|
||||
'transition_triggered_email_body' => '',
|
||||
'transition_triggered_email_subject' => '',
|
||||
|
@ -893,6 +914,7 @@ $text = array(
|
|||
'tuesday_abbr' => '',
|
||||
'type_to_search' => '',
|
||||
'under_folder' => 'A carpeta',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Ordre no reconeguda.',
|
||||
'unknown_document_category' => 'Unknown category',
|
||||
'unknown_group' => 'Id de grup desconegut',
|
||||
|
|
|
@ -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 (610), kreml (389)
|
||||
// Translators: Admin (610), kreml (394)
|
||||
|
||||
$text = array(
|
||||
'accept' => 'Přijmout',
|
||||
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Správa definic atributů',
|
||||
'attrdef_maxvalues' => 'Max. počet hodnot',
|
||||
'attrdef_minvalues' => 'Min. počet hodnot',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Povolit více hodnot',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Název',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Typ objektu',
|
||||
'attrdef_regex' => 'Regulární výraz',
|
||||
'attrdef_type' => 'Typ',
|
||||
|
@ -117,6 +120,8 @@ Nadřazená složka: [folder_path]
|
|||
Uživatel: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Atributy změněny',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => 'Hodnota atributu nesouhlasí s regulárním výrazem',
|
||||
'at_least_n_users_of_group' => 'Alespoň [number_of_users] uživatelů z [group]',
|
||||
'august' => 'Srpen',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Změnit heslo',
|
||||
'change_password_message' => 'Vaše heslo bylo změněno.',
|
||||
'change_status' => 'Změna stavu',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Zvolte definici atributů',
|
||||
'choose_category' => '--Vyberte prosím--',
|
||||
'choose_group' => '--Vyberte skupinu--',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'Včetně dokumentů',
|
||||
'include_subdirectories' => 'Včetně podadresářů',
|
||||
'index_converters' => 'Index konverze dokumentu',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Jednotlivci',
|
||||
'inherited' => 'Zděděno',
|
||||
'inherits_access_copy_msg' => 'Zkopírovat zděděný seznam řízení přístupu',
|
||||
|
@ -553,6 +568,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'Momentálně neexistují žádné dokumenty, které vyžadují schválení.',
|
||||
'no_docs_to_look_at' => 'Žádné dokumenty, které vyžadují pozornost.',
|
||||
'no_docs_to_review' => 'Momentálně neexistují žádné dokumenty, které vyžadují kontrolu.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'Není k dispozici "fulltext index"',
|
||||
'no_groups' => 'Žádné skupiny',
|
||||
'no_group_members' => 'Tato skupina nemá žádné členy',
|
||||
|
@ -592,6 +608,8 @@ Pokud budete mít problém s přihlášením i po změně hesla, kontaktujte Adm
|
|||
'password_forgotten_text' => 'Vyplňte následující formulář a následujte instrukce v emailu, který vám bude odeslán.',
|
||||
'password_forgotten_title' => 'Heslo odesláno',
|
||||
'password_repeat' => 'Opakujte heslo',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'Síla hesla',
|
||||
'password_strength_insuffient' => 'Nedostatečná síla hesla',
|
||||
'password_wrong' => 'Špatné heslo',
|
||||
|
@ -635,7 +653,7 @@ Nadřazená složka: [folder_path]
|
|||
Uživatel: [username]
|
||||
URL: [url]',
|
||||
'return_from_subworkflow_email_subject' => '[sitename]: [name] - Návrat z vedlejšího pracovního postupu',
|
||||
'reverse_links' => '',
|
||||
'reverse_links' => 'Dokumenty, které mají vazbu na aktuální dokument',
|
||||
'reviewers' => 'Kontroloři',
|
||||
'reviewer_already_assigned' => 'je už pověřen jako kontrolor',
|
||||
'reviewer_already_removed' => 'už byl odstraněn z procesu kontroly nebo poslal kontrolu',
|
||||
|
@ -883,10 +901,10 @@ URL: [url]',
|
|||
'settings_php_gd2' => 'PHP extension : php_gd2',
|
||||
'settings_php_mbstring' => 'PHP extension : php_mbstring',
|
||||
'settings_php_version' => 'Verze PHP',
|
||||
'settings_previewWidthDetail' => '',
|
||||
'settings_previewWidthDetail_desc' => '',
|
||||
'settings_previewWidthList' => '',
|
||||
'settings_previewWidthList_desc' => '',
|
||||
'settings_previewWidthDetail' => 'Šířka náhledů (detail)',
|
||||
'settings_previewWidthDetail_desc' => 'Šířka náhledu na stránce podrobností',
|
||||
'settings_previewWidthList' => 'Šířka náhledů (seznam)',
|
||||
'settings_previewWidthList_desc' => 'Šířka náhledů v seznamech',
|
||||
'settings_printDisclaimer' => 'Print Disclaimer',
|
||||
'settings_printDisclaimer_desc' => 'If true the disclaimer message the lang.inc files will be print on the bottom of the page',
|
||||
'settings_quota' => 'Kvóta uživatele',
|
||||
|
@ -899,6 +917,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID of root-folder (mostly no need to change)',
|
||||
'settings_SaveError' => 'Configuration file save error',
|
||||
'settings_Server' => 'Server settings',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Site',
|
||||
'settings_siteDefaultPage' => 'Site Default Page',
|
||||
'settings_siteDefaultPage_desc' => 'Default page on login. If empty defaults to out/out.ViewFolder.php',
|
||||
|
@ -1020,6 +1040,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'Čt',
|
||||
'to' => 'Do',
|
||||
'toggle_manager' => 'Přepnout správce',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'Transformace pracovního postupu spuštěna',
|
||||
'transition_triggered_email_body' => 'Transformace pracovního postupu spuštěna
|
||||
Dokument: [jméno]
|
||||
|
@ -1037,6 +1058,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'Út',
|
||||
'type_to_search' => 'Zadejte hledaný výraz',
|
||||
'under_folder' => 'Ve složce',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Příkaz nebyl rozpoznán.',
|
||||
'unknown_document_category' => 'Neznámá kategorie',
|
||||
'unknown_group' => 'Neznámé ID skupiny',
|
||||
|
|
|
@ -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 (1835)
|
||||
// Translators: Admin (1860)
|
||||
|
||||
$text = array(
|
||||
'accept' => 'Übernehmen',
|
||||
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Attributdefinitions-Management',
|
||||
'attrdef_maxvalues' => 'Max. Anzahl Werte',
|
||||
'attrdef_minvalues' => 'Min. Anzahl Werte',
|
||||
'attrdef_min_greater_max' => 'Zahl der minimalen Werte ist größer als Zahl der maximalen Werte',
|
||||
'attrdef_multiple' => 'Mehrfachwerte erlaubt',
|
||||
'attrdef_must_be_multiple' => 'Attribut muss mehr als einen Wert haben, erlaubt aber keine Mehrfachwerte',
|
||||
'attrdef_name' => 'Name',
|
||||
'attrdef_noname' => 'Kein Name für die Attributedefinition eingegeben',
|
||||
'attrdef_objtype' => 'Objekttyp',
|
||||
'attrdef_regex' => 'Regulärer Ausdruck',
|
||||
'attrdef_type' => 'Typ',
|
||||
|
@ -117,6 +120,8 @@ Elternordner: [folder_path]
|
|||
Benutzer: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Attribut geändert',
|
||||
'attribute_count' => 'Anzahl Verwendungen',
|
||||
'attribute_value' => 'Attributwert',
|
||||
'attr_no_regex_match' => 'The attribute value does not match the regular expression',
|
||||
'at_least_n_users_of_group' => 'Mindestens [number_of_users] Benutzer der Gruppe [group]',
|
||||
'august' => 'August',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Password ändern',
|
||||
'change_password_message' => 'Ihr Passwort wurde geändert.',
|
||||
'change_status' => 'Status ändern',
|
||||
'charts' => 'Diagramme',
|
||||
'chart_docsaccumulated_title' => 'Anzahl Dokumente',
|
||||
'chart_docspercategory_title' => 'Dokumente pro Kategorie',
|
||||
'chart_docspermimetype_title' => 'Dokumente pro Mime-Type',
|
||||
'chart_docspermonth_title' => 'Neue Dokumente pro Monat',
|
||||
'chart_docsperstatus_title' => 'Dokumente pro Status',
|
||||
'chart_docsperuser_title' => 'Dokumente pro Benutzer',
|
||||
'chart_selection' => 'Diagrammauswahl',
|
||||
'chart_sizeperuser_title' => 'Speicherplatz pro Benutzer',
|
||||
'choose_attrdef' => '--Attributdefinition wählen--',
|
||||
'choose_category' => '--Kategorie wählen--',
|
||||
'choose_group' => '--Gruppe wählen--',
|
||||
|
@ -306,7 +320,7 @@ URL: [url]',
|
|||
'error' => 'Fehler',
|
||||
'error_no_document_selected' => 'Kein Dokument ausgewählt',
|
||||
'error_no_folder_selected' => 'Kein Ordner ausgewählt',
|
||||
'error_occured' => 'Ein Fehler ist aufgetreten.<br />Bitte Administrator benachrichtigen.<p>',
|
||||
'error_occured' => 'Ein Fehler ist aufgetreten. Bitte Administrator benachrichtigen.',
|
||||
'es_ES' => 'Spanisch',
|
||||
'event_details' => 'Ereignisdetails',
|
||||
'expired' => 'abgelaufen',
|
||||
|
@ -553,6 +567,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'Es gibt zur Zeit keine Dokumente, die eine Freigabe erfordern.',
|
||||
'no_docs_to_look_at' => 'Keine Dokumente, nach denen geschaut werden müsste.',
|
||||
'no_docs_to_review' => 'Es gibt zur Zeit keine Dokumente, die eine Prüfung erfordern.',
|
||||
'no_email_or_login' => 'Login und E-Mail müssen eingegeben werden',
|
||||
'no_fulltextindex' => 'Kein Volltext-Index verfügbar',
|
||||
'no_groups' => 'keine Gruppen',
|
||||
'no_group_members' => 'Diese Gruppe hat keine Mitglieder',
|
||||
|
@ -596,6 +611,8 @@ Sollen Sie danach immer noch Problem bei der Anmeldung haben, dann kontaktieren
|
|||
'password_forgotten_text' => 'Fill out the form below and follow the instructions in the email, which will be sent to you.',
|
||||
'password_forgotten_title' => 'Passwort gesendet',
|
||||
'password_repeat' => 'Passwort wiederholen',
|
||||
'password_send' => 'Passwort verschickt',
|
||||
'password_send_text' => 'Ihr neues Passwort wurde an die angegebene E-Mail-Adresse versandt, wenn ein Benutzer mit diesem Login und dieser E-Mail-Adresse exitiert. Sollten Sie innerhalb der nächsten Minuten keine E-Mail bekommen, dann überprüfen Sie nochmal die Angaben und wiederholen Sie den Vorgang.',
|
||||
'password_strength' => 'Passwortstärke',
|
||||
'password_strength_insuffient' => 'Ungenügend starkes Passwort',
|
||||
'password_wrong' => 'Falsches Passwort',
|
||||
|
@ -780,8 +797,8 @@ URL: [url]',
|
|||
'settings_enableAdminRevApp_desc' => 'Anwählen, um Administratoren in der Liste der Prüfer und Freigeber auszugeben',
|
||||
'settings_enableCalendar' => 'Kalender einschalten',
|
||||
'settings_enableCalendar_desc' => 'Kalender ein/ausschalten',
|
||||
'settings_enableClipboard' => 'Enable Clipboard',
|
||||
'settings_enableClipboard_desc' => 'Enable/disable the clipboard',
|
||||
'settings_enableClipboard' => 'Zwischenablage einschalten',
|
||||
'settings_enableClipboard_desc' => 'Schaltet die Zwischenablage ein/aus',
|
||||
'settings_enableConverting' => 'Dokumentenkonvertierung einschalten',
|
||||
'settings_enableConverting_desc' => 'Ein/Auschalten der automatischen Konvertierung von Dokumenten',
|
||||
'settings_enableDuplicateDocNames' => 'Erlaube doppelte Dokumentennamen',
|
||||
|
@ -905,6 +922,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'Id des Wurzelordners in SeedDMS (kann in der Regel unverändert bleiben)',
|
||||
'settings_SaveError' => 'Fehler beim Speichern der Konfiguration',
|
||||
'settings_Server' => 'Server-Einstellungen',
|
||||
'settings_showMissingTranslations' => 'Zeige fehlende Übersetzungen',
|
||||
'settings_showMissingTranslations_desc' => 'Listet die fehlenden Übersetzungen der Seite unterhalb der Fußzeile und erlaubt dem Benutzer Vorschläge einzureichen. Diese Vorschläge werden in einer CSV-Datei gespeichert. Diese Funktion sollte nicht in Produktionssystemen eingeschaltet sein.',
|
||||
'settings_Site' => 'Site',
|
||||
'settings_siteDefaultPage' => 'Startseite',
|
||||
'settings_siteDefaultPage_desc' => 'Erste Seite nach der Anmeldung. Voreingestellt ist \'out/out.ViewFolder.php\'',
|
||||
|
@ -1026,6 +1045,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'Do',
|
||||
'to' => 'bis',
|
||||
'toggle_manager' => 'Managerstatus wechseln',
|
||||
'to_before_from' => 'Endedatum darf nicht vor dem Startdatum liegen',
|
||||
'transition_triggered_email' => 'Workflow transition triggered',
|
||||
'transition_triggered_email_body' => 'Workflow transition triggered
|
||||
Document: [name]
|
||||
|
@ -1043,6 +1063,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'Di',
|
||||
'type_to_search' => 'Hier tippen zum Suchen',
|
||||
'under_folder' => 'In Ordner',
|
||||
'unknown_attrdef' => 'Unbekannte Attributdefinition',
|
||||
'unknown_command' => 'unbekannter Befehl',
|
||||
'unknown_document_category' => 'Unbekannte Kategorie',
|
||||
'unknown_group' => 'unbekannte Gruppenidentifikation',
|
||||
|
|
|
@ -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 (990), netixw (14)
|
||||
// Translators: Admin (1012), netixw (14)
|
||||
|
||||
$text = array(
|
||||
'accept' => 'Accept',
|
||||
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Attribute definition management',
|
||||
'attrdef_maxvalues' => 'Max. number of values',
|
||||
'attrdef_minvalues' => 'Min. number of values',
|
||||
'attrdef_min_greater_max' => 'Minimum number of values is larger than maximum number of values',
|
||||
'attrdef_multiple' => 'Allow multiple values',
|
||||
'attrdef_must_be_multiple' => 'Attribute must have more than one value, but is not set multiple value',
|
||||
'attrdef_name' => 'Name',
|
||||
'attrdef_noname' => 'Missing name for attribute definition',
|
||||
'attrdef_objtype' => 'Object type',
|
||||
'attrdef_regex' => 'Regular expression',
|
||||
'attrdef_type' => 'Type',
|
||||
|
@ -117,6 +120,8 @@ Parent folder: [folder_path]
|
|||
User: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Attribute changed',
|
||||
'attribute_count' => 'Number of uses',
|
||||
'attribute_value' => 'Value of attribute',
|
||||
'attr_no_regex_match' => 'The attribute value does not match the regular expression',
|
||||
'at_least_n_users_of_group' => 'At least [number_of_users] users of [group]',
|
||||
'august' => 'August',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Change password',
|
||||
'change_password_message' => 'Your password has been changed.',
|
||||
'change_status' => 'Change Status',
|
||||
'charts' => 'Charts',
|
||||
'chart_docsaccumulated_title' => 'Number of documents',
|
||||
'chart_docspercategory_title' => 'Documents per category',
|
||||
'chart_docspermimetype_title' => 'Documents per mime-type',
|
||||
'chart_docspermonth_title' => 'New documents per month',
|
||||
'chart_docsperstatus_title' => 'Documents per status',
|
||||
'chart_docsperuser_title' => 'Documents per user',
|
||||
'chart_selection' => 'Select chart',
|
||||
'chart_sizeperuser_title' => 'Diskspace per user',
|
||||
'choose_attrdef' => 'Please choose attribute definition',
|
||||
'choose_category' => 'Please choose',
|
||||
'choose_group' => 'Choose group',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'Include documents',
|
||||
'include_subdirectories' => 'Include subdirectories',
|
||||
'index_converters' => 'Index document conversion',
|
||||
'index_folder' => 'Index folder',
|
||||
'individuals' => 'Individuals',
|
||||
'inherited' => 'inherited',
|
||||
'inherits_access_copy_msg' => 'Copy inherited access list',
|
||||
|
@ -552,6 +567,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'There are currently no documents that require approval.',
|
||||
'no_docs_to_look_at' => 'No documents that need attention.',
|
||||
'no_docs_to_review' => 'There are currently no documents that require review.',
|
||||
'no_email_or_login' => 'Login and email must be entered',
|
||||
'no_fulltextindex' => 'No fulltext index available',
|
||||
'no_groups' => 'No groups',
|
||||
'no_group_members' => 'This group has no members',
|
||||
|
@ -595,6 +611,8 @@ If you have still problems to login, then please contact your administrator.',
|
|||
'password_forgotten_text' => 'Fill out the form below and follow the instructions in the email, which will be sent to you.',
|
||||
'password_forgotten_title' => 'Password sent',
|
||||
'password_repeat' => 'Repeat password',
|
||||
'password_send' => 'Password send',
|
||||
'password_send_text' => 'Your new password has been send to the given email address, if the login and email matches an existing user. If you do not receive an email within the next minutes, then make sure both login and email are correct and restart the process again.',
|
||||
'password_strength' => 'Password strength',
|
||||
'password_strength_insuffient' => 'Insuffient password strength',
|
||||
'password_wrong' => 'Wrong password',
|
||||
|
@ -904,6 +922,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID of root-folder (mostly no need to change)',
|
||||
'settings_SaveError' => 'Configuration file save error',
|
||||
'settings_Server' => 'Server settings',
|
||||
'settings_showMissingTranslations' => 'Show missing translations',
|
||||
'settings_showMissingTranslations_desc' => 'List all missing translations on the page at the bottom of the page. The logged in user will be able to submit a proposal for a missing translation which will be saved in a csv file. Do not turn this function on if in a production environment!',
|
||||
'settings_Site' => 'Site',
|
||||
'settings_siteDefaultPage' => 'Site Default Page',
|
||||
'settings_siteDefaultPage_desc' => 'Default page on login. If empty defaults to out/out.ViewFolder.php',
|
||||
|
@ -1025,6 +1045,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'Th',
|
||||
'to' => 'To',
|
||||
'toggle_manager' => 'Toggle manager',
|
||||
'to_before_from' => 'End date may not be before start date',
|
||||
'transition_triggered_email' => 'Workflow transition triggered',
|
||||
'transition_triggered_email_body' => 'Workflow transition triggered
|
||||
Document: [name]
|
||||
|
@ -1042,6 +1063,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'Tu',
|
||||
'type_to_search' => 'Type to search',
|
||||
'under_folder' => 'In Folder',
|
||||
'unknown_attrdef' => 'Unknown attribute definition',
|
||||
'unknown_command' => 'Command not recognized.',
|
||||
'unknown_document_category' => 'Unknown category',
|
||||
'unknown_group' => 'Unknown group id',
|
||||
|
|
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Gestión de definición de atributos',
|
||||
'attrdef_maxvalues' => 'Núm. máximo de valores',
|
||||
'attrdef_minvalues' => 'Núm. mínimo de valores',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Permitir múltiples valores',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Nombre',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Tipo de objeto',
|
||||
'attrdef_regex' => '',
|
||||
'attrdef_type' => 'Tipo',
|
||||
|
@ -117,6 +120,8 @@ Carpeta principal: [folder_path]
|
|||
Usario: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Atributo modificado',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => '',
|
||||
'at_least_n_users_of_group' => '',
|
||||
'august' => 'Agosto',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'cambiar contraseña',
|
||||
'change_password_message' => 'Su contraseña se ha modificado.',
|
||||
'change_status' => 'cambiar estado',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Por favor, seleccione definición de atributo',
|
||||
'choose_category' => 'Seleccione categoría',
|
||||
'choose_group' => 'Seleccione grupo',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'Incluir documentos',
|
||||
'include_subdirectories' => 'Incluir subcarpetas',
|
||||
'index_converters' => 'Conversión de índice de documentos',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Individuales',
|
||||
'inherited' => 'heredado',
|
||||
'inherits_access_copy_msg' => 'Copiar lista de acceso heredado',
|
||||
|
@ -553,6 +568,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'Actualmente no hay documentos que necesiten aprobación.',
|
||||
'no_docs_to_look_at' => 'No hay documentos que necesiten atención.',
|
||||
'no_docs_to_review' => 'Actualmente no hay documentos que necesiten revisión.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'No hay índice de texto completo disponible',
|
||||
'no_groups' => 'No hay grupos',
|
||||
'no_group_members' => 'Este grupo no tiene miembros',
|
||||
|
@ -596,6 +612,8 @@ Si continua teniendo problemas de acceso, por favor contacte con el administrado
|
|||
'password_forgotten_text' => 'Rellene el siguiente formulario y siga las instrucciones del correo que se le enviará.',
|
||||
'password_forgotten_title' => 'Envío de contraseña',
|
||||
'password_repeat' => 'Repetir contraseña',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'Seguridad de la contraseña',
|
||||
'password_strength_insuffient' => 'Insuficiente Seguridad de la contraseña',
|
||||
'password_wrong' => 'Contraseña incorrecta',
|
||||
|
@ -905,6 +923,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID de la carpeta raíz (normalmente no es necesario cambiar)',
|
||||
'settings_SaveError' => 'Error guardando archivo de configuración',
|
||||
'settings_Server' => 'Configuración del servidor',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Sitio',
|
||||
'settings_siteDefaultPage' => 'Página por defecto del sitio',
|
||||
'settings_siteDefaultPage_desc' => 'Página por defecto al conectar. Si está vacío se dirige a out/out.ViewFolder.php',
|
||||
|
@ -1026,6 +1046,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'J',
|
||||
'to' => 'Hasta',
|
||||
'toggle_manager' => 'Intercambiar mánager',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'Workflow transition triggered',
|
||||
'transition_triggered_email_body' => 'Workflow transition triggered
|
||||
Documento: [name]
|
||||
|
@ -1043,6 +1064,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'M',
|
||||
'type_to_search' => 'Tipo de búsqueda',
|
||||
'under_folder' => 'En carpeta',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Orden no reconocida.',
|
||||
'unknown_document_category' => 'Categoría desconocida',
|
||||
'unknown_group' => 'Id de grupo desconocido',
|
||||
|
|
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Gestion des définitions d\'attributs',
|
||||
'attrdef_maxvalues' => 'Nombre maximum de valeurs',
|
||||
'attrdef_minvalues' => 'Nombre minimum de valeurs',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Permettre des valeurs multiples',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Nom',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Type objet',
|
||||
'attrdef_regex' => 'Expression régulière',
|
||||
'attrdef_type' => 'Type',
|
||||
|
@ -117,6 +120,8 @@ Répertoire parent: [folder_path]
|
|||
Utilisateur: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Attribut changé',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => 'La valeur de l\'attribut ne correspond pas à l\'expression régulière.',
|
||||
'at_least_n_users_of_group' => '',
|
||||
'august' => 'Août',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Changer de mot de passe',
|
||||
'change_password_message' => 'Votre mot de passe a été changé.',
|
||||
'change_status' => 'Modifier le statut',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Choisissez une définition d\'attribut',
|
||||
'choose_category' => 'SVP choisir',
|
||||
'choose_group' => 'Choisir un groupe',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'Inclure les documents',
|
||||
'include_subdirectories' => 'Inclure les sous-dossiers',
|
||||
'index_converters' => 'Conversion de document Index',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Individuels',
|
||||
'inherited' => 'hérité',
|
||||
'inherits_access_copy_msg' => 'Copier la liste des accès hérités',
|
||||
|
@ -552,6 +567,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'Aucun document ne nécessite actuellement une approbation',
|
||||
'no_docs_to_look_at' => 'Aucun document à surveiller',
|
||||
'no_docs_to_review' => 'Aucun document en attente de correction',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'Aucun fichier d\'index disponibles',
|
||||
'no_groups' => 'Aucun groupe',
|
||||
'no_group_members' => 'Ce groupe ne contient aucun membre',
|
||||
|
@ -593,6 +609,8 @@ En cas de problème persistant, veuillez contacter votre administrateur.',
|
|||
'password_forgotten_text' => 'Remplissez le formulaire ci-dessous et suivez les instructions dans le courrier électronique qui vous sera envoyé.',
|
||||
'password_forgotten_title' => 'Mot de passe envoyé',
|
||||
'password_repeat' => 'Répétez le mot de passe',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'Fiabilité du mot de passe',
|
||||
'password_strength_insuffient' => 'Mot de passe trop faible',
|
||||
'password_wrong' => 'Mauvais mot de passe',
|
||||
|
@ -881,6 +899,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID du répertoire racine (la plupart du temps pas besoin de changer)',
|
||||
'settings_SaveError' => 'Erreur de sauvegarde du fichier de configuration',
|
||||
'settings_Server' => 'Paramètres serveur',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Site',
|
||||
'settings_siteDefaultPage' => 'Page par défaut du site',
|
||||
'settings_siteDefaultPage_desc' => 'Page par défaut lors de la connexion. Si vide, valeur par défaut à out/out.ViewFolder.php',
|
||||
|
@ -1002,6 +1022,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'Jeu.',
|
||||
'to' => 'Au',
|
||||
'toggle_manager' => 'Basculer \'Responsable\'',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'Transition de workflow activé',
|
||||
'transition_triggered_email_body' => '',
|
||||
'transition_triggered_email_subject' => '',
|
||||
|
@ -1010,6 +1031,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'Mar.',
|
||||
'type_to_search' => 'Effectuer une recherche',
|
||||
'under_folder' => 'Dans le dossier',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Commande non reconnue.',
|
||||
'unknown_document_category' => 'Catégorie inconnue',
|
||||
'unknown_group' => 'Identifiant de groupe inconnu',
|
||||
|
|
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Jellemző meghatározás kezelése',
|
||||
'attrdef_maxvalues' => 'Legnagyobb érték',
|
||||
'attrdef_minvalues' => 'Legkisebb érték',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Több érték is megadható',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Név',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Objektum típus',
|
||||
'attrdef_regex' => 'Szabályos kifejezés',
|
||||
'attrdef_type' => 'Típus',
|
||||
|
@ -117,6 +120,8 @@ Szülő mappa: [folder_path]
|
|||
Felhasználó: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Jellemző módosult',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => 'A jellemző értéke nem felel meg a szabályos kifejezésnek',
|
||||
'at_least_n_users_of_group' => 'Legalább [number_of_users] felhasználó a [group] csoportban',
|
||||
'august' => 'Augusztus',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Jelszó módosítása',
|
||||
'change_password_message' => 'Jelszava módosításra került.',
|
||||
'change_status' => 'Állapot módosítása',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Kérem válasszon jellemző meghatározást',
|
||||
'choose_category' => 'Kérjük válasszon',
|
||||
'choose_group' => 'Válasszon csoportot',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'Tartalmazó dokumentumok',
|
||||
'include_subdirectories' => 'Tartalmazó alkönyvtárak',
|
||||
'index_converters' => 'Index dokumentum konverzió',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Egyedek',
|
||||
'inherited' => 'örökölt',
|
||||
'inherits_access_copy_msg' => 'Örökített hozzáférési lista másolása',
|
||||
|
@ -553,6 +568,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'Nincsenek jóváhagyandó dokumentumok.',
|
||||
'no_docs_to_look_at' => 'Nincs karbantartást igénylő dokumentum.',
|
||||
'no_docs_to_review' => 'Nincsenek felülvizsgálandó dokumentumok.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'Nincs elérhető teljes szöveg index',
|
||||
'no_groups' => 'Nincsenek csoportok',
|
||||
'no_group_members' => 'Ennek a csoportnak nincsenek tagjai',
|
||||
|
@ -596,6 +612,8 @@ Amennyiben problémákba ütközik a bejelentkezés során, kérjük vegye fel a
|
|||
'password_forgotten_text' => 'Töltse ki a következő űrlapot és kövesse az Önnek küldött, elektronikus levélben szereplő utasításokat.',
|
||||
'password_forgotten_title' => 'Jelszó küldés',
|
||||
'password_repeat' => 'Jelszó mégegyszer',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'Jelszó erősség',
|
||||
'password_strength_insuffient' => 'Jelszó erőssége elégtelen',
|
||||
'password_wrong' => 'Hibás jelszó',
|
||||
|
@ -904,6 +922,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'Gyökér mappa azonosítója (általában nem kell módosítani)',
|
||||
'settings_SaveError' => 'Konfigurációs állomány mentési hiba',
|
||||
'settings_Server' => 'Kiszolgáló beállítások',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Webhely',
|
||||
'settings_siteDefaultPage' => 'Webhely kezdőlap',
|
||||
'settings_siteDefaultPage_desc' => 'Alapértelmezett oldal a bejelentkezést követően. Ha üres, akkor az alapértelmezett out/out.ViewFolder.php',
|
||||
|
@ -1025,6 +1045,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'Cs',
|
||||
'to' => 'ig',
|
||||
'toggle_manager' => 'Kulcs kezelő',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'Munkamenet átmenet kiváltva',
|
||||
'transition_triggered_email_body' => 'Munkafolyamat átmenet kiváltva
|
||||
Dokumentum: [name]
|
||||
|
@ -1042,6 +1063,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'Ke',
|
||||
'type_to_search' => 'Adja meg a keresendő kifejezést',
|
||||
'under_folder' => 'Mappában',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Parancs nem ismerhető fel.',
|
||||
'unknown_document_category' => 'Ismeretlen kategória',
|
||||
'unknown_group' => 'Ismeretlen csoport azonosító',
|
||||
|
|
|
@ -93,8 +93,11 @@ $text = array(
|
|||
'attrdef_management' => 'Gestione Definizione Attributi',
|
||||
'attrdef_maxvalues' => 'Numero di valori Max.',
|
||||
'attrdef_minvalues' => 'Numero di valori Min.',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Permetti valori multipli',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Nome',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Tipo oggetto',
|
||||
'attrdef_regex' => '',
|
||||
'attrdef_type' => 'Tipo',
|
||||
|
@ -102,6 +105,8 @@ $text = array(
|
|||
'attributes' => 'Attributi',
|
||||
'attribute_changed_email_body' => '',
|
||||
'attribute_changed_email_subject' => '',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => '',
|
||||
'at_least_n_users_of_group' => '',
|
||||
'august' => 'Agosto',
|
||||
|
@ -134,6 +139,15 @@ $text = array(
|
|||
'change_password' => 'Cambia password',
|
||||
'change_password_message' => 'La tua password è stata cambiata.',
|
||||
'change_status' => 'Modifica lo Stato',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Scegli attributo',
|
||||
'choose_category' => 'Seleziona',
|
||||
'choose_group' => '--Seleziona gruppo--',
|
||||
|
@ -328,6 +342,7 @@ $text = array(
|
|||
'include_documents' => 'Includi documenti',
|
||||
'include_subdirectories' => 'Includi sottocartelle',
|
||||
'index_converters' => 'Indice di conversione documenti',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Singoli',
|
||||
'inherited' => '',
|
||||
'inherits_access_copy_msg' => 'Modifica la lista degli accessi ereditati',
|
||||
|
@ -462,6 +477,7 @@ $text = array(
|
|||
'no_docs_to_approve' => 'Non ci sono documenti che richiedano approvazione.',
|
||||
'no_docs_to_look_at' => 'Non ci sono documenti che richiedano attenzione.',
|
||||
'no_docs_to_review' => 'Non ci sono documenti che richiedano revisioni.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'Nessun indice fulltext disponibile',
|
||||
'no_groups' => 'Nessun gruppo',
|
||||
'no_group_members' => 'Questo gruppo non ha membri',
|
||||
|
@ -499,6 +515,8 @@ Se hai ancora problemi al login, allora contatta il tuo amministratore di sistem
|
|||
'password_forgotten_text' => 'Compilare le informazioni seguenti e segui le istruzioni nell\'e-mail che ti sarà inviata a breve.',
|
||||
'password_forgotten_title' => 'Password inviata',
|
||||
'password_repeat' => 'Ripetere password',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => '',
|
||||
'password_strength_insuffient' => 'Efficacia della password insufficiente',
|
||||
'password_wrong' => 'Password errata',
|
||||
|
@ -772,6 +790,8 @@ Se hai ancora problemi al login, allora contatta il tuo amministratore di sistem
|
|||
'settings_rootFolderID_desc' => 'ID of root-folder (mostly no need to change)',
|
||||
'settings_SaveError' => 'Configuration file save error',
|
||||
'settings_Server' => 'Server settings',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Site',
|
||||
'settings_siteDefaultPage' => 'Site Default Page',
|
||||
'settings_siteDefaultPage_desc' => 'Default page on login. If empty defaults to out/out.ViewFolder.php',
|
||||
|
@ -893,6 +913,7 @@ Se hai ancora problemi al login, allora contatta il tuo amministratore di sistem
|
|||
'thursday_abbr' => '',
|
||||
'to' => 'A',
|
||||
'toggle_manager' => 'Manager',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => '',
|
||||
'transition_triggered_email_body' => '',
|
||||
'transition_triggered_email_subject' => '',
|
||||
|
@ -901,6 +922,7 @@ Se hai ancora problemi al login, allora contatta il tuo amministratore di sistem
|
|||
'tuesday_abbr' => '',
|
||||
'type_to_search' => '',
|
||||
'under_folder' => 'Nella cartella',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Commando non riconosciuto.',
|
||||
'unknown_document_category' => 'Unknown category',
|
||||
'unknown_group' => 'ID gruppo sconosciuto',
|
||||
|
|
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Kenmerk definitie beheer',
|
||||
'attrdef_maxvalues' => 'Max. aantal waarden',
|
||||
'attrdef_minvalues' => 'Min. aantal waarden',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Meerdere waarden toegestaan',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Naam',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Object type',
|
||||
'attrdef_regex' => 'Veelgebruikte uitdrukking',
|
||||
'attrdef_type' => 'Type',
|
||||
|
@ -117,6 +120,8 @@ Bovenliggende map: [folder_path]
|
|||
Gebruiker: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Attribuut gewijzigd',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => 'De waarde van het attribuut komt niet overeen met de veelgebruikte uitdrukking (regular expression)',
|
||||
'at_least_n_users_of_group' => 'Minimaal [number_of_users] gebruikers van [group]',
|
||||
'august' => 'augustus',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Wijzig wachtwoord',
|
||||
'change_password_message' => 'Wachtwoord is gewijzigd.',
|
||||
'change_status' => 'Wijzig Status',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Selecteer een kenmerk definitie',
|
||||
'choose_category' => 'Selecteer a.u.b.',
|
||||
'choose_group' => 'Selecteer Groep',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'Inclusief documenten',
|
||||
'include_subdirectories' => 'Inclusief submappen',
|
||||
'index_converters' => 'Index document conversie',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Individuen',
|
||||
'inherited' => 'overgeerfd',
|
||||
'inherits_access_copy_msg' => 'Kopie lijst overerfde toegang',
|
||||
|
@ -552,6 +567,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'Er zijn momenteel geen documenten die Goedkeuring behoeven.',
|
||||
'no_docs_to_look_at' => 'Geen documenten die aandacht behoeven.',
|
||||
'no_docs_to_review' => 'Er zijn momenteel geen documenten die Controle behoeven.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'Geen volledigetekst index beschikbaar',
|
||||
'no_groups' => 'Geen Groepen',
|
||||
'no_group_members' => 'Deze Groep heeft geen leden',
|
||||
|
@ -595,6 +611,8 @@ Als u nog steed problemen ondervind met het inloggen, neem aub contact op met uw
|
|||
'password_forgotten_text' => 'Vul het formulier hieronder in en volg de instructie in de email, welke naar u verzonden zal worden.',
|
||||
'password_forgotten_title' => 'Wachtwoord verzonden',
|
||||
'password_repeat' => 'Herhaal wachtwoord',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'Sterkte wachtwoord',
|
||||
'password_strength_insuffient' => 'Onvoldoende wachtwoord sterkte',
|
||||
'password_wrong' => 'Verkeerde wachtwoord',
|
||||
|
@ -902,6 +920,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID van basismap (meestal geen verandering nodig)',
|
||||
'settings_SaveError' => 'Opslagfout Configuratiebestand',
|
||||
'settings_Server' => 'Server instellingen',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Web Locatie',
|
||||
'settings_siteDefaultPage' => 'Locatie standaard pagina',
|
||||
'settings_siteDefaultPage_desc' => 'Standaard pagina bij inloggen. Indien leeg is out/out.ViewFolder.php de standaard',
|
||||
|
@ -1023,6 +1043,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'Th',
|
||||
'to' => 'Aan',
|
||||
'toggle_manager' => 'Wijzig Beheerder',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'Workflow overgang geactiveerd',
|
||||
'transition_triggered_email_body' => 'Workflow transition triggered
|
||||
Document: [name]
|
||||
|
@ -1040,6 +1061,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'Tu',
|
||||
'type_to_search' => 'voer in om te zoeken',
|
||||
'under_folder' => 'In map',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Opdracht niet herkend.',
|
||||
'unknown_document_category' => 'Onbekende categorie',
|
||||
'unknown_group' => 'Onbekende Groep ID',
|
||||
|
|
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Zarządzanie definicją atrybutu',
|
||||
'attrdef_maxvalues' => 'Max. ilość wartości',
|
||||
'attrdef_minvalues' => 'Min. ilość wartości',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Pozwól na wiele wartości',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Nazwa',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Typ obiektu',
|
||||
'attrdef_regex' => 'Wyrażenie regularne',
|
||||
'attrdef_type' => 'Typ',
|
||||
|
@ -117,6 +120,8 @@ Folder nadrzędny: [folder_path]
|
|||
Użytkownik: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Zmiana atrybutu',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => 'Wartość atrybutu nie pasuje do wyrażenia regularnego',
|
||||
'at_least_n_users_of_group' => 'Przynajmniej [number_of_users] użytkowników grupy [group]',
|
||||
'august' => 'Sierpień',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Zmiana hasła',
|
||||
'change_password_message' => 'Twoje hasło zostało zmienione.',
|
||||
'change_status' => 'Zmień status',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Proszę wybrać definicję atrybutu',
|
||||
'choose_category' => 'Proszę wybrać',
|
||||
'choose_group' => 'Wybierz grupę',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'Uwzględnij dokumenty',
|
||||
'include_subdirectories' => 'Uwzględnij podkatalogi',
|
||||
'index_converters' => 'Konwersja indeksu dokumentów',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Indywidualni',
|
||||
'inherited' => 'dziedziczony',
|
||||
'inherits_access_copy_msg' => 'Kopiuj odziedziczoną listę dostępu',
|
||||
|
@ -553,6 +568,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'Aktualnie nie ma dokumentów wymagających akceptacji.',
|
||||
'no_docs_to_look_at' => 'Brak dokumentów wymagających uwagi.',
|
||||
'no_docs_to_review' => 'Aktualnie nie ma dokumentów oczekujących na recenzję.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'Brak indeksu pełnotekstowego',
|
||||
'no_groups' => 'Brak grup',
|
||||
'no_group_members' => 'Ta grupa nie ma członków',
|
||||
|
@ -596,6 +612,8 @@ Jeśli nadal będą problemy z zalogowaniem, prosimy o kontakt z administratorem
|
|||
'password_forgotten_text' => 'Wypełnij pola poniżej i postępuj wg instrukcji z emaila, który zostanie do Ciebie wysłany.',
|
||||
'password_forgotten_title' => 'Hasło wysłane',
|
||||
'password_repeat' => 'Powtórz hasło',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'Siła hasła',
|
||||
'password_strength_insuffient' => 'Niewystarczająca siła hasła',
|
||||
'password_wrong' => 'Złe hasło',
|
||||
|
@ -891,6 +909,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID katalogu głównego (zazwyczaj nie trzeba tego zmieniać)',
|
||||
'settings_SaveError' => 'Błąd zapisu pliku konfiguracyjnego',
|
||||
'settings_Server' => 'Ustawienia serwera',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Strona',
|
||||
'settings_siteDefaultPage' => 'Domyślna strona',
|
||||
'settings_siteDefaultPage_desc' => 'Strona wyświetlana domyślnie po zalogowaniu. Domyślnie jest to out/out.ViewFolder.php',
|
||||
|
@ -1012,6 +1032,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'Cz',
|
||||
'to' => 'Do',
|
||||
'toggle_manager' => 'Przełączanie zarządcy',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'Uruchomiono proces przepływu',
|
||||
'transition_triggered_email_body' => 'Uruchomiono proces przepływu
|
||||
Dokument: [name]
|
||||
|
@ -1029,6 +1050,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'Wt',
|
||||
'type_to_search' => 'Wpisz wyszukiwane',
|
||||
'under_folder' => 'W folderze',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Polecenie nie rozpoznane.',
|
||||
'unknown_document_category' => 'Nieznana kategoria',
|
||||
'unknown_group' => 'Nieznany ID grupy',
|
||||
|
|
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Gerência de definição de atributo',
|
||||
'attrdef_maxvalues' => 'Max. número de valores',
|
||||
'attrdef_minvalues' => 'Min. número de valores',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Permitir múltiplos valores',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Nome',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Tipo de objeto',
|
||||
'attrdef_regex' => 'Expressão regular',
|
||||
'attrdef_type' => 'Tipo',
|
||||
|
@ -117,6 +120,8 @@ Pasta mãe: [folder_path]
|
|||
Usuário: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Atributo modificado',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => 'O valor do atributo não corresponde à expressão regular',
|
||||
'at_least_n_users_of_group' => 'Pelo menos [nuber_of_users] usuários de [group]',
|
||||
'august' => 'August',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Modificar senha',
|
||||
'change_password_message' => 'Sua senha foi modificada.',
|
||||
'change_status' => 'Change Status',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Por favor escolha a definição de atributo',
|
||||
'choose_category' => '--Por favor escolha--',
|
||||
'choose_group' => '--Escolher grupo--',
|
||||
|
@ -394,6 +408,7 @@ URL: [url]',
|
|||
'include_documents' => 'Include documents',
|
||||
'include_subdirectories' => 'Include subdirectories',
|
||||
'index_converters' => 'Índice de conversão de documentos',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Individuals',
|
||||
'inherited' => 'herdado',
|
||||
'inherits_access_copy_msg' => 'Copy inherited access list',
|
||||
|
@ -551,6 +566,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'There are currently no documents that require approval.',
|
||||
'no_docs_to_look_at' => 'Não há documentos que precisam de atenção.',
|
||||
'no_docs_to_review' => 'There are currently no documents that require review.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'Nenhum índice de texto completo disponível',
|
||||
'no_groups' => 'Sem grupos',
|
||||
'no_group_members' => 'Este grupo no tem membros',
|
||||
|
@ -594,6 +610,8 @@ Se você ainda tiver problemas para fazer o login, por favor, contate o administ
|
|||
'password_forgotten_text' => 'Preencha o formulário abaixo e siga as instruções do e-mail que será enviado para você.',
|
||||
'password_forgotten_title' => 'Senha enviada',
|
||||
'password_repeat' => 'Repetir a senha',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'Força da senha',
|
||||
'password_strength_insuffient' => 'A força da senha é insuficiente',
|
||||
'password_wrong' => 'Senha errada',
|
||||
|
@ -902,6 +920,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID da pasta-raiz (na maioria das vezes não precisa ser mudado)',
|
||||
'settings_SaveError' => 'Erro no arquivo de configuração salvo',
|
||||
'settings_Server' => 'Configuraçoes do servidor',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Site',
|
||||
'settings_siteDefaultPage' => 'Página Padrão do Site',
|
||||
'settings_siteDefaultPage_desc' => 'Página padrão no login. Se os padrões estiverem vazios para out/out.ViewFolder.php',
|
||||
|
@ -1023,6 +1043,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'Th',
|
||||
'to' => 'To',
|
||||
'toggle_manager' => 'Toggle manager',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'Transição de fluxo de trabalho desencadeado',
|
||||
'transition_triggered_email_body' => 'Transição do fluxo de trabalho triggered
|
||||
Document: [name]
|
||||
|
@ -1040,6 +1061,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'Tu',
|
||||
'type_to_search' => 'Tipo de pesquisa',
|
||||
'under_folder' => 'Na pasta',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Command not recognized.',
|
||||
'unknown_document_category' => 'Categoria desconhecida',
|
||||
'unknown_group' => 'Unknown group id',
|
||||
|
|
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Управление определениями атрибутов',
|
||||
'attrdef_maxvalues' => 'Макс. количество значений',
|
||||
'attrdef_minvalues' => 'Мин. количество значений',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Несколько значений',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Название',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Тип объекта',
|
||||
'attrdef_regex' => 'Регулярное выражение',
|
||||
'attrdef_type' => 'Тип',
|
||||
|
@ -117,6 +120,8 @@ URL: [url]',
|
|||
Пользователь: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: изменён атрибут «[name]»',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => 'Значение атрибута не соответствует регулярному выражению',
|
||||
'at_least_n_users_of_group' => '[number_of_users] польз. группы [group]',
|
||||
'august' => 'Август',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Изменить пароль',
|
||||
'change_password_message' => 'Пароль изменён',
|
||||
'change_status' => 'Изменить статус',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Выберите атрибут',
|
||||
'choose_category' => 'Выберите категорию',
|
||||
'choose_group' => 'Выберите группу',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'Включая документы',
|
||||
'include_subdirectories' => 'Включая подкаталоги',
|
||||
'index_converters' => 'Индексирование документов',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Пользователи',
|
||||
'inherited' => 'унаследованный',
|
||||
'inherits_access_copy_msg' => 'Скопировать наследованный список',
|
||||
|
@ -552,6 +567,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'Нет документов, нуждающихся в утверждении',
|
||||
'no_docs_to_look_at' => 'Нет документов, нуждающихся во внимании',
|
||||
'no_docs_to_review' => 'Нет документов, нуждающихся в рецензии',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'Полнотекстовый индекс не доступен',
|
||||
'no_groups' => 'Нет групп',
|
||||
'no_group_members' => 'Группа не имеет членов',
|
||||
|
@ -593,6 +609,8 @@ URL: [url]',
|
|||
'password_forgotten_text' => 'Заполните форму и следуйте инструкциям в письме',
|
||||
'password_forgotten_title' => 'Пароль выслан',
|
||||
'password_repeat' => 'Повторите пароль',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'Надёжность пароля',
|
||||
'password_strength_insuffient' => 'Недостаточная надёжность пароля',
|
||||
'password_wrong' => 'Неверный пароль',
|
||||
|
@ -902,6 +920,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID каждого корневого каталога (можно не менять).',
|
||||
'settings_SaveError' => 'Ошибка при сохранении конфигурации',
|
||||
'settings_Server' => 'Настройки сервера',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Сайт',
|
||||
'settings_siteDefaultPage' => 'Страница по умолчанию',
|
||||
'settings_siteDefaultPage_desc' => 'Страница, отображаемая после входа. По умолчанию: out/out.ViewFolder.php',
|
||||
|
@ -1023,6 +1043,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'Чт',
|
||||
'to' => 'До',
|
||||
'toggle_manager' => 'Изменить как менеджера',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'Изменено состояние процесса',
|
||||
'transition_triggered_email_body' => 'Изменено состояние процесса
|
||||
Документ: [name]
|
||||
|
@ -1040,6 +1061,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'Вт',
|
||||
'type_to_search' => 'Введите запрос',
|
||||
'under_folder' => 'В каталоге',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Команда не опознана.',
|
||||
'unknown_document_category' => 'Неизвестная категория',
|
||||
'unknown_group' => 'Неизвестный идентификатор группы',
|
||||
|
|
|
@ -93,8 +93,11 @@ $text = array(
|
|||
'attrdef_management' => '',
|
||||
'attrdef_maxvalues' => '',
|
||||
'attrdef_minvalues' => '',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => '',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => '',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => '',
|
||||
'attrdef_regex' => '',
|
||||
'attrdef_type' => '',
|
||||
|
@ -102,6 +105,8 @@ $text = array(
|
|||
'attributes' => '',
|
||||
'attribute_changed_email_body' => '',
|
||||
'attribute_changed_email_subject' => '',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => '',
|
||||
'at_least_n_users_of_group' => '',
|
||||
'august' => 'August',
|
||||
|
@ -134,6 +139,15 @@ $text = array(
|
|||
'change_password' => '',
|
||||
'change_password_message' => '',
|
||||
'change_status' => 'Zmeniť stav',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => '',
|
||||
'choose_category' => '--Vyberte prosím--',
|
||||
'choose_group' => '--Vyberte skupinu--',
|
||||
|
@ -328,6 +342,7 @@ $text = array(
|
|||
'include_documents' => 'Vrátane súborov',
|
||||
'include_subdirectories' => 'Vrátane podzložiek',
|
||||
'index_converters' => '',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Jednotlivci',
|
||||
'inherited' => '',
|
||||
'inherits_access_copy_msg' => 'Skopírovať zdedený zoznam riadenia prístupu',
|
||||
|
@ -462,6 +477,7 @@ $text = array(
|
|||
'no_docs_to_approve' => 'Momentálne neexistujú žiadne dokumenty, ktoré vyžadujú schválenie.',
|
||||
'no_docs_to_look_at' => '',
|
||||
'no_docs_to_review' => 'Momentálne neexistujú žiadne dokumenty, ktoré vyžadujú kontrolu.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => '',
|
||||
'no_groups' => 'Žiadne skupiny',
|
||||
'no_group_members' => 'Táto skupina nemá žiadnych členov',
|
||||
|
@ -491,6 +507,8 @@ $text = array(
|
|||
'password_forgotten_text' => '',
|
||||
'password_forgotten_title' => '',
|
||||
'password_repeat' => '',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => '',
|
||||
'password_strength_insuffient' => '',
|
||||
'password_wrong' => '',
|
||||
|
@ -764,6 +782,8 @@ $text = array(
|
|||
'settings_rootFolderID_desc' => '',
|
||||
'settings_SaveError' => '',
|
||||
'settings_Server' => '',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => '',
|
||||
'settings_siteDefaultPage' => '',
|
||||
'settings_siteDefaultPage_desc' => '',
|
||||
|
@ -885,6 +905,7 @@ $text = array(
|
|||
'thursday_abbr' => '',
|
||||
'to' => 'Do',
|
||||
'toggle_manager' => 'Prepnúť stav manager',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => '',
|
||||
'transition_triggered_email_body' => '',
|
||||
'transition_triggered_email_subject' => '',
|
||||
|
@ -893,6 +914,7 @@ $text = array(
|
|||
'tuesday_abbr' => '',
|
||||
'type_to_search' => '',
|
||||
'under_folder' => 'V zložke',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Príkaz nebol rozpoznaný.',
|
||||
'unknown_document_category' => '',
|
||||
'unknown_group' => 'Neznámy ID skupiny',
|
||||
|
|
|
@ -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 (1074), tmichelfelder (56)
|
||||
// Translators: Admin (1074), tmichelfelder (58)
|
||||
|
||||
$text = array(
|
||||
'accept' => 'Godkänn',
|
||||
|
@ -102,8 +102,11 @@ URL: [url]',
|
|||
'attrdef_management' => 'Hantering av attributdefinitioner',
|
||||
'attrdef_maxvalues' => 'Max tillåtna värde',
|
||||
'attrdef_minvalues' => 'Min tillåtna värde',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => 'Tillåt flera värden',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => 'Namn',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => 'Objekttyp',
|
||||
'attrdef_regex' => 'Regulär uttryck',
|
||||
'attrdef_type' => 'Typ',
|
||||
|
@ -117,6 +120,8 @@ Attribut: [attribute]
|
|||
Användare: [username]
|
||||
URL: [url]',
|
||||
'attribute_changed_email_subject' => '[sitename]: [name] - Ändrad attribut',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => 'Värdet av attributet stämmer inte överens med regulära uttrycket',
|
||||
'at_least_n_users_of_group' => 'Åtminstone [number_of_users] användare av [group]',
|
||||
'august' => 'augusti',
|
||||
|
@ -149,6 +154,15 @@ URL: [url]',
|
|||
'change_password' => 'Ändra lösenord',
|
||||
'change_password_message' => 'Ditt lösenord har ändrats.',
|
||||
'change_status' => 'Ändra status',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => 'Välj attributdefinition',
|
||||
'choose_category' => 'Välj',
|
||||
'choose_group' => 'Välj grupp',
|
||||
|
@ -395,6 +409,7 @@ URL: [url]',
|
|||
'include_documents' => 'Inkludera dokument',
|
||||
'include_subdirectories' => 'Inkludera under-kataloger',
|
||||
'index_converters' => 'Omvandling av indexdokument',
|
||||
'index_folder' => '',
|
||||
'individuals' => 'Personer',
|
||||
'inherited' => 'ärvd',
|
||||
'inherits_access_copy_msg' => 'Kopiera behörighetsarvslista',
|
||||
|
@ -553,6 +568,7 @@ URL: [url]',
|
|||
'no_docs_to_approve' => 'Det finns inga dokument som du behöver godkänna.',
|
||||
'no_docs_to_look_at' => 'Det finns inga dokument som behöver godkännas eller granskas.',
|
||||
'no_docs_to_review' => 'Det finns inga dokument som du behöver granska.',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => 'Fulltext-index saknas',
|
||||
'no_groups' => 'Inga grupper',
|
||||
'no_group_members' => 'Denna grupp har inga medlemmar',
|
||||
|
@ -588,6 +604,8 @@ URL: [url]',
|
|||
'password_forgotten_text' => 'Fyll i formuläret nedan och följ instruktionerna som skickas till din e-postadress.',
|
||||
'password_forgotten_title' => 'Glömt lösenord',
|
||||
'password_repeat' => 'Upprepa lösenord',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => 'Lösenordskvalitet',
|
||||
'password_strength_insuffient' => 'För låg kvalitet på lösenordet',
|
||||
'password_wrong' => 'Fel lösenord',
|
||||
|
@ -897,6 +915,8 @@ URL: [url]',
|
|||
'settings_rootFolderID_desc' => 'ID för root-mappen (oftast behövs ingen ändring här)',
|
||||
'settings_SaveError' => 'Fel när konfigurationsfilen sparades',
|
||||
'settings_Server' => 'Server-inställningar',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => 'Sida',
|
||||
'settings_siteDefaultPage' => 'Standardsida',
|
||||
'settings_siteDefaultPage_desc' => 'Standardsida efter inloggning. Om fältet är tomt, används standard-out/out.ViewFolder.php',
|
||||
|
@ -916,8 +936,8 @@ URL: [url]',
|
|||
'settings_sortFoldersDefault' => '',
|
||||
'settings_sortFoldersDefault_desc' => '',
|
||||
'settings_sortFoldersDefault_val_name' => '',
|
||||
'settings_sortFoldersDefault_val_sequence' => '',
|
||||
'settings_sortFoldersDefault_val_unsorted' => '',
|
||||
'settings_sortFoldersDefault_val_sequence' => 'efter sorteringsordning',
|
||||
'settings_sortFoldersDefault_val_unsorted' => 'osorterat',
|
||||
'settings_sortUsersInList' => 'Sortera användare i listan',
|
||||
'settings_sortUsersInList_desc' => 'Sortering av användare i urvalsmenyer efter person- eller inloggningsnamn',
|
||||
'settings_sortUsersInList_val_fullname' => 'Sortera efter namn',
|
||||
|
@ -1018,6 +1038,7 @@ URL: [url]',
|
|||
'thursday_abbr' => 'to',
|
||||
'to' => 'till',
|
||||
'toggle_manager' => 'Byt manager',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => 'Arbetsflödesövergång utlöstes',
|
||||
'transition_triggered_email_body' => 'Arbetsflödesövergång utlöstes
|
||||
Dokument: [name]
|
||||
|
@ -1035,6 +1056,7 @@ URL: [url]',
|
|||
'tuesday_abbr' => 'ti',
|
||||
'type_to_search' => 'Skriv för att söka',
|
||||
'under_folder' => 'I katalogen',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => 'Okänt kommando.',
|
||||
'unknown_document_category' => 'Okänd kategori',
|
||||
'unknown_group' => 'Okänt grupp-ID',
|
||||
|
|
|
@ -93,8 +93,11 @@ $text = array(
|
|||
'attrdef_management' => '',
|
||||
'attrdef_maxvalues' => '',
|
||||
'attrdef_minvalues' => '',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => '',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => '',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => '',
|
||||
'attrdef_regex' => '',
|
||||
'attrdef_type' => '',
|
||||
|
@ -102,6 +105,8 @@ $text = array(
|
|||
'attributes' => '属性',
|
||||
'attribute_changed_email_body' => '',
|
||||
'attribute_changed_email_subject' => '',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => '',
|
||||
'at_least_n_users_of_group' => '',
|
||||
'august' => '八 月',
|
||||
|
@ -134,6 +139,15 @@ $text = array(
|
|||
'change_password' => '',
|
||||
'change_password_message' => '',
|
||||
'change_status' => '变更状态',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => '',
|
||||
'choose_category' => '请选择',
|
||||
'choose_group' => '选择组别',
|
||||
|
@ -328,6 +342,7 @@ $text = array(
|
|||
'include_documents' => '包含文档',
|
||||
'include_subdirectories' => '包含子目录',
|
||||
'index_converters' => '',
|
||||
'index_folder' => '',
|
||||
'individuals' => '个人',
|
||||
'inherited' => '',
|
||||
'inherits_access_copy_msg' => '复制继承访问权限列表',
|
||||
|
@ -462,6 +477,7 @@ $text = array(
|
|||
'no_docs_to_approve' => '当前没有需要审核的文档',
|
||||
'no_docs_to_look_at' => '没有需要关注的文档',
|
||||
'no_docs_to_review' => '当前没有需要校对的文档',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => '',
|
||||
'no_groups' => '无组别',
|
||||
'no_group_members' => '该组没有成员',
|
||||
|
@ -491,6 +507,8 @@ $text = array(
|
|||
'password_forgotten_text' => '',
|
||||
'password_forgotten_title' => '',
|
||||
'password_repeat' => '',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => '',
|
||||
'password_strength_insuffient' => '',
|
||||
'password_wrong' => '',
|
||||
|
@ -764,6 +782,8 @@ $text = array(
|
|||
'settings_rootFolderID_desc' => '',
|
||||
'settings_SaveError' => '',
|
||||
'settings_Server' => '',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => '',
|
||||
'settings_siteDefaultPage' => '',
|
||||
'settings_siteDefaultPage_desc' => '',
|
||||
|
@ -885,6 +905,7 @@ $text = array(
|
|||
'thursday_abbr' => '',
|
||||
'to' => '到',
|
||||
'toggle_manager' => '角色切换',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => '',
|
||||
'transition_triggered_email_body' => '',
|
||||
'transition_triggered_email_subject' => '',
|
||||
|
@ -893,6 +914,7 @@ $text = array(
|
|||
'tuesday_abbr' => '',
|
||||
'type_to_search' => '',
|
||||
'under_folder' => '文件夹内',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => '未知命令',
|
||||
'unknown_document_category' => '',
|
||||
'unknown_group' => '未知组ID号',
|
||||
|
|
|
@ -93,8 +93,11 @@ $text = array(
|
|||
'attrdef_management' => '',
|
||||
'attrdef_maxvalues' => '',
|
||||
'attrdef_minvalues' => '',
|
||||
'attrdef_min_greater_max' => '',
|
||||
'attrdef_multiple' => '',
|
||||
'attrdef_must_be_multiple' => '',
|
||||
'attrdef_name' => '',
|
||||
'attrdef_noname' => '',
|
||||
'attrdef_objtype' => '',
|
||||
'attrdef_regex' => '',
|
||||
'attrdef_type' => '',
|
||||
|
@ -102,6 +105,8 @@ $text = array(
|
|||
'attributes' => '',
|
||||
'attribute_changed_email_body' => '',
|
||||
'attribute_changed_email_subject' => '',
|
||||
'attribute_count' => '',
|
||||
'attribute_value' => '',
|
||||
'attr_no_regex_match' => '',
|
||||
'at_least_n_users_of_group' => '',
|
||||
'august' => '',
|
||||
|
@ -134,6 +139,15 @@ $text = array(
|
|||
'change_password' => '',
|
||||
'change_password_message' => '',
|
||||
'change_status' => '',
|
||||
'charts' => '',
|
||||
'chart_docsaccumulated_title' => '',
|
||||
'chart_docspercategory_title' => '',
|
||||
'chart_docspermimetype_title' => '',
|
||||
'chart_docspermonth_title' => '',
|
||||
'chart_docsperstatus_title' => '',
|
||||
'chart_docsperuser_title' => '',
|
||||
'chart_selection' => '',
|
||||
'chart_sizeperuser_title' => '',
|
||||
'choose_attrdef' => '',
|
||||
'choose_category' => '',
|
||||
'choose_group' => '',
|
||||
|
@ -328,6 +342,7 @@ $text = array(
|
|||
'include_documents' => '',
|
||||
'include_subdirectories' => '',
|
||||
'index_converters' => '',
|
||||
'index_folder' => '',
|
||||
'individuals' => '',
|
||||
'inherited' => '',
|
||||
'inherits_access_copy_msg' => '',
|
||||
|
@ -462,6 +477,7 @@ $text = array(
|
|||
'no_docs_to_approve' => '',
|
||||
'no_docs_to_look_at' => '',
|
||||
'no_docs_to_review' => '',
|
||||
'no_email_or_login' => '',
|
||||
'no_fulltextindex' => '',
|
||||
'no_groups' => '',
|
||||
'no_group_members' => '',
|
||||
|
@ -491,6 +507,8 @@ $text = array(
|
|||
'password_forgotten_text' => '',
|
||||
'password_forgotten_title' => '',
|
||||
'password_repeat' => '',
|
||||
'password_send' => '',
|
||||
'password_send_text' => '',
|
||||
'password_strength' => '',
|
||||
'password_strength_insuffient' => '',
|
||||
'password_wrong' => '',
|
||||
|
@ -764,6 +782,8 @@ $text = array(
|
|||
'settings_rootFolderID_desc' => '',
|
||||
'settings_SaveError' => '',
|
||||
'settings_Server' => '',
|
||||
'settings_showMissingTranslations' => '',
|
||||
'settings_showMissingTranslations_desc' => '',
|
||||
'settings_Site' => '',
|
||||
'settings_siteDefaultPage' => '',
|
||||
'settings_siteDefaultPage_desc' => '',
|
||||
|
@ -885,6 +905,7 @@ $text = array(
|
|||
'thursday_abbr' => '',
|
||||
'to' => '',
|
||||
'toggle_manager' => '',
|
||||
'to_before_from' => '',
|
||||
'transition_triggered_email' => '',
|
||||
'transition_triggered_email_body' => '',
|
||||
'transition_triggered_email_subject' => '',
|
||||
|
@ -893,6 +914,7 @@ $text = array(
|
|||
'tuesday_abbr' => '',
|
||||
'type_to_search' => '',
|
||||
'under_folder' => '',
|
||||
'unknown_attrdef' => '',
|
||||
'unknown_command' => '',
|
||||
'unknown_document_category' => '',
|
||||
'unknown_group' => '',
|
||||
|
|
|
@ -60,7 +60,8 @@ if(isset($_POST["to"])) {
|
|||
}
|
||||
|
||||
if ($to<=$from){
|
||||
$to = $from + 86400 -1;
|
||||
// $to = $from + 86400 -1;
|
||||
UI::exitError(getMLText("add_event"),getMLText("to_before_from"));
|
||||
}
|
||||
|
||||
$res = addEvent($from, $to, $name, $comment);
|
||||
|
|
|
@ -55,7 +55,7 @@ if (isset($_COOKIE["mydms_session"])) {
|
|||
|
||||
$command = $_REQUEST["command"];
|
||||
switch($command) {
|
||||
case 'checkpwstrength':
|
||||
case 'checkpwstrength': /* {{{ */
|
||||
$ps = new Password_Strength();
|
||||
$ps->set_password($_REQUEST["pwd"]);
|
||||
if($settings->_passwordStrengthAlgorithm == 'simple')
|
||||
|
@ -72,7 +72,7 @@ switch($command) {
|
|||
} else {
|
||||
echo json_encode(array('error'=>0, 'strength'=>$score));
|
||||
}
|
||||
break;
|
||||
break; /* }}} */
|
||||
|
||||
case 'sessioninfo': /* {{{ */
|
||||
if($user) {
|
||||
|
@ -262,5 +262,21 @@ switch($command) {
|
|||
}
|
||||
break; /* }}} */
|
||||
|
||||
case 'submittranslation': /* {{{ */
|
||||
if($settings->_showMissingTranslations) {
|
||||
if($user && !empty($_POST['phrase'])) {
|
||||
if($fp = fopen('/tmp/newtranslations.txt', 'a+')) {
|
||||
fputcsv($fp, array(date('Y-m-d H:i:s'), $user->getLogin(), $_POST['key'], $_POST['lang'], $_POST['phrase']));
|
||||
fclose($fp);
|
||||
}
|
||||
header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'Thank you for your contribution', 'data'=>''));
|
||||
} else {
|
||||
header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Missing translation', 'data'=>''));
|
||||
}
|
||||
}
|
||||
break; /* }}} */
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -40,6 +40,9 @@ if ($action == "addcategory") {
|
|||
}
|
||||
|
||||
$name = $_POST["name"];
|
||||
if (!$name) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("error_occured"));
|
||||
}
|
||||
if (is_object($dms->getKeywordCategoryByName($name, $user->getID()))) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("keyword_exists"));
|
||||
}
|
||||
|
|
|
@ -47,8 +47,7 @@ if (isset($_POST["login"])) {
|
|||
}
|
||||
|
||||
if (empty($email) || empty($login)) {
|
||||
header('Location: ../out/out.PasswordForgotten.php');
|
||||
exit;
|
||||
UI::exitError(getMLText("password_forgotten"),getMLText("no_email_or_login"));
|
||||
}
|
||||
|
||||
$user = $dms->getUserByLogin($login, $email);
|
||||
|
@ -65,6 +64,6 @@ if($user) {
|
|||
}
|
||||
}
|
||||
|
||||
header('Location: ../out/out.Login.php');
|
||||
header('Location: ../out/out.PasswordSend.php');
|
||||
exit;
|
||||
?>
|
||||
|
|
|
@ -134,6 +134,7 @@ if ($action == "saveSettings")
|
|||
$settings->_siteDefaultPage = $_POST["siteDefaultPage"];
|
||||
$settings->_rootFolderID = intval($_POST["rootFolderID"]);
|
||||
$settings->_titleDisplayHack = getBoolValue("titleDisplayHack");
|
||||
$settings->_showMissingTranslations = getBoolValue("showMissingTranslations");
|
||||
|
||||
// SETTINGS - ADVANCED - AUTHENTICATION
|
||||
$settings->_guestID = intval($_POST["guestID"]);
|
||||
|
|
51
out/out.Charts.php
Normal file
51
out/out.Charts.php
Normal file
|
@ -0,0 +1,51 @@
|
|||
<?php
|
||||
// MyDMS. Document Management System
|
||||
// Copyright (C) 2010 Matteo Lucarelli
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation; either version 2 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
include("../inc/inc.Settings.php");
|
||||
include("../inc/inc.DBInit.php");
|
||||
include("../inc/inc.Utils.php");
|
||||
include("../inc/inc.Language.php");
|
||||
include("../inc/inc.ClassUI.php");
|
||||
include("../inc/inc.Authentication.php");
|
||||
|
||||
if (!$user->isAdmin()) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("access_denied"));
|
||||
}
|
||||
$rootfolder = $dms->getFolder($settings->_rootFolderID);
|
||||
|
||||
$type = 'docsperuser';
|
||||
if(!empty($_GET['type'])) {
|
||||
$type = $_GET['type'];
|
||||
}
|
||||
$data = $dms->getStatisticalData($type);
|
||||
switch($type) {
|
||||
case 'docsperstatus':
|
||||
foreach($data as &$rec) {
|
||||
$rec['key'] = getOverallStatusText((int) $rec['key']);
|
||||
}
|
||||
break;
|
||||
}
|
||||
//print_r($data);
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'rootfolder'=>$rootfolder, 'type'=>$type, 'data'=>$data));
|
||||
if($view) {
|
||||
$view->show();
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
|
@ -34,7 +34,7 @@ if (!$user->isAdmin() && ($settings->_disableSelfEdit)) {
|
|||
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'enableuserimage'=>$settings->_enableUserImage, 'passwordstrength'=>$settings->_passwordStrength, 'httproot'=>$settings->_httpRoot));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'enableuserimage'=>$settings->_enableUserImage, 'enablelanguageselector'=>$settings->_enableLanguageSelector, 'enablethemeselector'=>$settings->_enableThemeSelector, 'passwordstrength'=>$settings->_passwordStrength, 'httproot'=>$settings->_httpRoot));
|
||||
if($view) {
|
||||
$view->show();
|
||||
exit;
|
||||
|
|
39
out/out.PasswordSend.php
Normal file
39
out/out.PasswordSend.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
// MyDMS. Document Management System
|
||||
// Copyright (C) 2002-2005 Markus Westphal
|
||||
// Copyright (C) 2006-2008 Malcolm Cowe
|
||||
// Copyright (C) 2010-2011 Uwe Steinmann
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation; either version 2 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
include("../inc/inc.Settings.php");
|
||||
include("../inc/inc.Language.php");
|
||||
include("../inc/inc.ClassUI.php");
|
||||
|
||||
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
||||
|
||||
if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0) {
|
||||
$referrer = $_REQUEST["referuri"];
|
||||
} else {
|
||||
$referrer = '';
|
||||
}
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('referrer'=>$referrer));
|
||||
if($view) {
|
||||
$view->show();
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
720
restapi/index.php
Normal file
720
restapi/index.php
Normal file
|
@ -0,0 +1,720 @@
|
|||
<?php
|
||||
define('USE_PHP_SESSION', 0);
|
||||
|
||||
include("../inc/inc.Settings.php");
|
||||
require_once "SeedDMS/Core.php";
|
||||
|
||||
$db = new SeedDMS_Core_DatabaseAccess($settings->_dbDriver, $settings->_dbHostname, $settings->_dbUser, $settings->_dbPass, $settings->_dbDatabase);
|
||||
$db->connect() or die ("Could not connect to db-server \"" . $settings->_dbHostname . "\"");
|
||||
$dms = new SeedDMS_Core_DMS($db, $settings->_contentDir.$settings->_contentOffsetDir);
|
||||
|
||||
if(USE_PHP_SESSION) {
|
||||
session_start();
|
||||
$userobj = null;
|
||||
if(isset($_SESSION['userid']))
|
||||
$userobj = $dms->getUser($_SESSION['userid']);
|
||||
elseif($settings->_enableGuestLogin)
|
||||
$userobj = $dms->getUser($settings->_guestID);
|
||||
else
|
||||
exit;
|
||||
$dms->setUser($userobj);
|
||||
} else {
|
||||
require_once("../inc/inc.ClassSession.php");
|
||||
$session = new SeedDMS_Session($db);
|
||||
if (isset($_COOKIE["mydms_session"])) {
|
||||
$dms_session = $_COOKIE["mydms_session"];
|
||||
if(!$resArr = $session->load($dms_session)) {
|
||||
/* Delete Cookie */
|
||||
setcookie("mydms_session", $dms_session, time()-3600, $settings->_httpRoot);
|
||||
if($settings->_enableGuestLogin)
|
||||
$userobj = $dms->getUser($settings->_guestID);
|
||||
else
|
||||
exit;
|
||||
}
|
||||
|
||||
/* Load user data */
|
||||
$userobj = $dms->getUser($resArr["userID"]);
|
||||
if (!is_object($userobj)) {
|
||||
/* Delete Cookie */
|
||||
setcookie("mydms_session", $dms_session, time()-3600, $settings->_httpRoot);
|
||||
if($settings->_enableGuestLogin)
|
||||
$userobj = $dms->getUser($settings->_guestID);
|
||||
else
|
||||
exit;
|
||||
}
|
||||
$dms->setUser($userobj);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
require 'Slim/Slim.php';
|
||||
\Slim\Slim::registerAutoloader();
|
||||
|
||||
function doLogin() { /* {{{ */
|
||||
global $app, $dms, $userobj, $session, $settings;
|
||||
|
||||
$username = $app->request()->post('user');
|
||||
$password = $app->request()->post('pass');
|
||||
|
||||
$userobj = $dms->getUserByLogin($username);
|
||||
if(!$userobj || md5($password) != $userobj->getPwd()) {
|
||||
if(USE_PHP_SESSION) {
|
||||
unset($_SESSION['userid']);
|
||||
} else {
|
||||
setcookie("mydms_session", $session->getId(), time()-3600, $settings->_httpRoot);
|
||||
}
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Login failed', 'data'=>''));
|
||||
} else {
|
||||
if(USE_PHP_SESSION) {
|
||||
$_SESSION['userid'] = $userobj->getId();
|
||||
} else {
|
||||
if(!$id = $session->create(array('userid'=>$userobj->getId(), 'theme'=>$userobj->getTheme(), 'lang'=>$userobj->getLanguage()))) {
|
||||
exit;
|
||||
}
|
||||
|
||||
// Set the session cookie.
|
||||
if($settings->_cookieLifetime)
|
||||
$lifetime = time() + intval($settings->_cookieLifetime);
|
||||
else
|
||||
$lifetime = 0;
|
||||
setcookie("mydms_session", $id, $lifetime, $settings->_httpRoot);
|
||||
$dms->setUser($userobj);
|
||||
}
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$userobj->getId()));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function doLogout() { /* {{{ */
|
||||
global $app, $dms, $userobj, $session, $settings;
|
||||
|
||||
if(USE_PHP_SESSION) {
|
||||
unset($_SESSION['userid']);
|
||||
} else {
|
||||
setcookie("mydms_session", $session->getId(), time()-3600, $settings->_httpRoot);
|
||||
}
|
||||
$userobj = null;
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>''));
|
||||
} /* }}} */
|
||||
|
||||
function setFullName() { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
|
||||
if(!$userobj) {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Not logged in', 'data'=>''));
|
||||
}
|
||||
$userobj->setFullName($app->request()->put('fullname'));
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$userobj->getFullName()));
|
||||
} /* }}} */
|
||||
|
||||
function setEmail($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
|
||||
if(!$userobj) {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Not logged in', 'data'=>''));
|
||||
}
|
||||
$userobj->setEmail($app->request()->put('fullname'));
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$userid));
|
||||
} /* }}} */
|
||||
|
||||
function getLockedDocuments() { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
|
||||
if(false !== ($documents = $dms->getDocumentsLockedByUser($userobj))) {
|
||||
$documents = SeedDMS_Core_DMS::filterAccess($documents, $userobj, M_READ);
|
||||
foreach($documents as $document) {
|
||||
$lc = $document->getLatestContent();
|
||||
$recs[] = array(
|
||||
'type'=>'document',
|
||||
'id'=>$document->getId(),
|
||||
'date'=>$document->getDate(),
|
||||
'name'=>$document->getName(),
|
||||
'mimetype'=>$lc->getMimeType(),
|
||||
'version'=>$lc->getVersion(),
|
||||
'comment'=>$document->getComment(),
|
||||
'keywords'=>$document->getKeywords(),
|
||||
);
|
||||
}
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function getFolder($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$folder = $dms->getFolder($id);
|
||||
if($folder) {
|
||||
if($folder->getAccessMode($userobj) >= M_READ) {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
$data = array(
|
||||
'id'=>$id,
|
||||
'name'=>$folder->getName()
|
||||
);
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$data));
|
||||
} else {
|
||||
$app->response()->status(404);
|
||||
}
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function getFolderParent($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
if($id == 0) {
|
||||
echo json_encode(array('success'=>true, 'message'=>'id is 0', 'data'=>''));
|
||||
return;
|
||||
}
|
||||
$root = $dms->getRootFolder();
|
||||
if($root->getId() == $id) {
|
||||
echo json_encode(array('success'=>true, 'message'=>'id is root folder', 'data'=>''));
|
||||
return;
|
||||
}
|
||||
$folder = $dms->getFolder($id);
|
||||
$parent = $folder->getParent();
|
||||
if($parent) {
|
||||
$rec = array('type'=>'folder', 'id'=>$parent->getId(), 'name'=>$parent->getName());
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$rec));
|
||||
} else {
|
||||
echo json_encode(array('success'=>false, 'message'=>'', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function getFolderPath($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
if($id == 0) {
|
||||
echo json_encode(array('success'=>true, 'message'=>'id is 0', 'data'=>''));
|
||||
return;
|
||||
}
|
||||
$folder = $dms->getFolder($id);
|
||||
|
||||
$path = $folder->getPath();
|
||||
$data = array();
|
||||
foreach($path as $element) {
|
||||
$data[] = array('id'=>$element->getId(), 'name'=>htmlspecialchars($element->getName()));
|
||||
}
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$data));
|
||||
} /* }}} */
|
||||
|
||||
function getFolderChildren($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
if($id == 0) {
|
||||
$folder = $dms->getRootFolder();
|
||||
$recs = array(array('type'=>'folder', 'id'=>$folder->getId(), 'name'=>$folder->getName()));
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
|
||||
} else {
|
||||
$folder = $dms->getFolder($id);
|
||||
if($folder) {
|
||||
if($folder->getAccessMode($userobj) >= M_READ) {
|
||||
$recs = array();
|
||||
$subfolders = $folder->getSubFolders();
|
||||
$subfolders = SeedDMS_Core_DMS::filterAccess($subfolders, $userobj, M_READ);
|
||||
foreach($subfolders as $subfolder) {
|
||||
$recs[] = array(
|
||||
'type'=>'folder',
|
||||
'id'=>$subfolder->getId(),
|
||||
'name'=>htmlspecialchars($subfolder->getName()),
|
||||
'comment'=>$subfolder->getComment(),
|
||||
'date'=>$subfolder->getDate(),
|
||||
);
|
||||
}
|
||||
$documents = $folder->getDocuments();
|
||||
$documents = SeedDMS_Core_DMS::filterAccess($documents, $userobj, M_READ);
|
||||
foreach($documents as $document) {
|
||||
$lc = $document->getLatestContent();
|
||||
if($lc) {
|
||||
$recs[] = array(
|
||||
'type'=>'document',
|
||||
'id'=>$document->getId(),
|
||||
'date'=>$document->getDate(),
|
||||
'name'=>htmlspecialchars($document->getName()),
|
||||
'mimetype'=>$lc->getMimeType(),
|
||||
'version'=>$lc->getVersion(),
|
||||
'comment'=>$document->getComment(),
|
||||
'keywords'=>$document->getKeywords(),
|
||||
);
|
||||
}
|
||||
}
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No access', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->status(404);
|
||||
}
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function createFolder($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
if($id == 0) {
|
||||
echo json_encode(array('success'=>true, 'message'=>'id is 0', 'data'=>''));
|
||||
return;
|
||||
}
|
||||
$parent = $dms->getFolder($id);
|
||||
if($parent) {
|
||||
if($folder = $parent->addSubFolder($app->request()->post('name'), '', $userobj, 0)) {
|
||||
|
||||
$rec = array('id'=>$folder->getId(), 'name'=>$folder->getName());
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$rec));
|
||||
} else {
|
||||
echo json_encode(array('success'=>false, 'message'=>'', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
echo json_encode(array('success'=>false, 'message'=>'', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function moveFolder($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$mfolder = $dms->getFolder($id);
|
||||
if($mfolder) {
|
||||
if ($mfolder->getAccessMode($userobj) >= M_READ) {
|
||||
$folderid = $app->request()->post('dest');
|
||||
if($folder = $dms->getFolder($folderid)) {
|
||||
if($folder->getAccessMode($userobj) >= M_READWRITE) {
|
||||
if($mfolder->setParent($folder)) {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>''));
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Error moving folder', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No access on destination folder', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No destination folder', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No access', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No folder', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function deleteFolder($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$mfolder = $dms->getFolder($id);
|
||||
if($mfolder) {
|
||||
if ($mfolder->getAccessMode($userobj) >= M_READWRITE) {
|
||||
if($mfolder->remove()) {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>''));
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Error deleting folder', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No access', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No folder', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function getDocument($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$document = $dms->getDocument($id);
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj) >= M_READ) {
|
||||
$lc = $document->getLatestContent();
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
$data = array(
|
||||
'id'=>$id,
|
||||
'name'=>htmlspecialchars($document->getName()),
|
||||
'comment'=>htmlspecialchars($document->getComment()),
|
||||
'date'=>$document->getDate(),
|
||||
'mimetype'=>$lc->getMimeType(),
|
||||
'version'=>$lc->getVersion(),
|
||||
'keywords'=>htmlspecialchars($document->getKeywords()),
|
||||
);
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$data));
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No access', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No document', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function deleteDocument($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$document = $dms->getDocument($id);
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj) >= M_READWRITE) {
|
||||
if($document->remove()) {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>''));
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Error removing document', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No access', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No document', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function moveDocument($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$document = $dms->getDocument($id);
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj) >= M_READ) {
|
||||
$folderid = $app->request()->post('dest');
|
||||
if($folder = $dms->getFolder($folderid)) {
|
||||
if($folder->getAccessMode($userobj) >= M_READWRITE) {
|
||||
if($document->setFolder($folder)) {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>''));
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Error moving document', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No access on destination folder', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No destination folder', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No access', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No document', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function getDocumentContent($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$document = $dms->getDocument($id);
|
||||
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj) >= M_READ) {
|
||||
$lc = $document->getLatestContent();
|
||||
$app->response()->header('Content-Type', $lc->getMimeType());
|
||||
$app->response()->header("Content-Disposition: filename=\"" . $document->getName().$lc->getFileType() . "\"");
|
||||
$app->response()->header("Content-Length: " . filesize($dms->contentDir . $lc->getPath()));
|
||||
$app->response()->header("Expires: 0");
|
||||
$app->response()->header("Cache-Control: no-cache, must-revalidate");
|
||||
$app->response()->header("Pragma: no-cache");
|
||||
|
||||
readfile($dms->contentDir . $lc->getPath());
|
||||
} else {
|
||||
$app->response()->status(404);
|
||||
}
|
||||
}
|
||||
|
||||
} /* }}} */
|
||||
|
||||
function getDocumentVersions($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$document = $dms->getDocument($id);
|
||||
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj) >= M_READ) {
|
||||
$recs = array();
|
||||
$lcs = $document->getContent();
|
||||
foreach($lcs as $lc) {
|
||||
$recs[] = array(
|
||||
'version'=>$lc->getVersion(),
|
||||
'date'=>$lc->getDate(),
|
||||
'mimetype'=>$lc->getMimeType(),
|
||||
'comment'=>htmlspecialchars($lc->getComment()),
|
||||
);
|
||||
}
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No access', 'data'=>''));
|
||||
}
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'No such document', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function getDocumentVersion($id, $version) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$document = $dms->getDocument($id);
|
||||
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj) >= M_READ) {
|
||||
$lc = $document->getContentByVersion($version);
|
||||
$app->response()->header('Content-Type', $lc->getMimeType());
|
||||
$app->response()->header("Content-Disposition: filename=\"" . $document->getName().$lc->getFileType() . "\"");
|
||||
$app->response()->header("Content-Length: " . filesize($dms->contentDir . $lc->getPath()));
|
||||
$app->response()->header("Expires: 0");
|
||||
$app->response()->header("Cache-Control: no-cache, must-revalidate");
|
||||
$app->response()->header("Pragma: no-cache");
|
||||
|
||||
readfile($dms->contentDir . $lc->getPath());
|
||||
} else {
|
||||
$app->response()->status(404);
|
||||
}
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function getDocumentFiles($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$document = $dms->getDocument($id);
|
||||
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj) >= M_READ) {
|
||||
$recs = array();
|
||||
$files = $document->getDocumentFiles();
|
||||
foreach($files as $file) {
|
||||
$recs[] = array(
|
||||
'id'=>$file->getId(),
|
||||
'name'=>$file->getName(),
|
||||
'date'=>$file->getDate(),
|
||||
'mimetype'=>$file->getMimeType(),
|
||||
'comment'=>$file->getComment(),
|
||||
);
|
||||
}
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
|
||||
} else {
|
||||
$app->response()->status(404);
|
||||
}
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function getDocumentFile($id, $fileid) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$document = $dms->getDocument($id);
|
||||
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj) >= M_READ) {
|
||||
$file = $document->getDocumentFile($fileid);
|
||||
$app->response()->header('Content-Type', $file->getMimeType());
|
||||
$app->response()->header("Content-Disposition: filename=\"" . $document->getName().$file->getFileType() . "\"");
|
||||
$app->response()->header("Content-Length: " . filesize($dms->contentDir . $file->getPath()));
|
||||
$app->response()->header("Expires: 0");
|
||||
$app->response()->header("Cache-Control: no-cache, must-revalidate");
|
||||
$app->response()->header("Pragma: no-cache");
|
||||
|
||||
readfile($dms->contentDir . $file->getPath());
|
||||
} else {
|
||||
$app->response()->status(404);
|
||||
}
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function getDocumentLinks($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
$document = $dms->getDocument($id);
|
||||
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj) >= M_READ) {
|
||||
$recs = array();
|
||||
$links = $document->getDocumentLinks();
|
||||
foreach($links as $link) {
|
||||
$recs[] = array(
|
||||
'id'=>$link->getId(),
|
||||
'target'=>$link->getTarget(),
|
||||
'public'=>$link->isPublic(),
|
||||
);
|
||||
}
|
||||
$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) {
|
||||
$account = array();
|
||||
$account['id'] = $userobj->getId();
|
||||
$account['login'] = $userobj->getLogin();
|
||||
$account['fullname'] = $userobj->getFullName();
|
||||
$account['email'] = $userobj->getEmail();
|
||||
$account['language'] = $userobj->getLanguage();
|
||||
$account['theme'] = $userobj->getTheme();
|
||||
$account['role'] = $userobj->getRole();
|
||||
$account['comment'] = $userobj->getComment();
|
||||
$account['isguest'] = $userobj->isGuest();
|
||||
$account['isadmin'] = $userobj->isAdmin();
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$account));
|
||||
} else {
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Not logged in', 'data'=>''));
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Search for documents in the database
|
||||
*
|
||||
* If the request parameter 'mode' is set to 'typeahead', it will
|
||||
* return a list of words only.
|
||||
*/
|
||||
function doSearch() { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
|
||||
$querystr = $app->request()->get('query');
|
||||
$mode = $app->request()->get('mode');
|
||||
if(!$limit = $app->request()->get('limit'))
|
||||
$limit = 50;
|
||||
$resArr = $dms->search($querystr, $limit);
|
||||
$entries = array();
|
||||
if($resArr['folders']) {
|
||||
foreach ($resArr['folders'] as $entry) {
|
||||
if ($entry->getAccessMode($userobj) >= M_READ) {
|
||||
$entries[] = $entry;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($resArr['docs']) {
|
||||
foreach ($resArr['docs'] as $entry) {
|
||||
if ($entry->getAccessMode($userobj) >= M_READ) {
|
||||
$entries[] = $entry;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switch($mode) {
|
||||
case 'typeahead';
|
||||
$recs = array();
|
||||
foreach ($entries as $entry) {
|
||||
/* Passing anything back but a string does not work, because
|
||||
* the process function of bootstrap.typeahead needs an array of
|
||||
* strings.
|
||||
*
|
||||
* As a quick solution to distingish folders from documents, the
|
||||
* name will be preceeded by a 'F' or 'D'
|
||||
|
||||
$tmp = array();
|
||||
if(get_class($entry) == 'SeedDMS_Core_Document') {
|
||||
$tmp['type'] = 'folder';
|
||||
} else {
|
||||
$tmp['type'] = 'document';
|
||||
}
|
||||
$tmp['id'] = $entry->getID();
|
||||
$tmp['name'] = $entry->getName();
|
||||
$tmp['comment'] = $entry->getComment();
|
||||
*/
|
||||
if(get_class($entry) == 'SeedDMS_Core_Document') {
|
||||
$recs[] = 'D'.$entry->getName();
|
||||
} else {
|
||||
$recs[] = 'F'.$entry->getName();
|
||||
}
|
||||
}
|
||||
if($recs)
|
||||
// array_unshift($recs, array('type'=>'', 'id'=>0, 'name'=>$querystr, 'comment'=>''));
|
||||
array_unshift($recs, ' '.$querystr);
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode($recs);
|
||||
//echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
|
||||
break;
|
||||
default:
|
||||
$recs = array();
|
||||
foreach ($entries as $entry) {
|
||||
if(get_class($entry) == 'SeedDMS_Core_Document') {
|
||||
$document = $entry;
|
||||
$lc = $document->getLatestContent();
|
||||
$recs[] = array(
|
||||
'type'=>'document',
|
||||
'id'=>$document->getId(),
|
||||
'date'=>$document->getDate(),
|
||||
'name'=>$document->getName(),
|
||||
'mimetype'=>$lc->getMimeType(),
|
||||
'version'=>$lc->getVersion(),
|
||||
'comment'=>$document->getComment(),
|
||||
'keywords'=>$document->getKeywords(),
|
||||
);
|
||||
} elseif(get_class($entry) == 'SeedDMS_Core_Folder') {
|
||||
$folder = $entry;
|
||||
$recs[] = array(
|
||||
'type'=>'folder',
|
||||
'id'=>$folder->getId(),
|
||||
'name'=>$folder->getName(),
|
||||
'comment'=>$folder->getComment(),
|
||||
'date'=>$folder->getDate(),
|
||||
);
|
||||
}
|
||||
}
|
||||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$recs));
|
||||
break;
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
//$app = new Slim(array('mode'=>'development', '_session.handler'=>null));
|
||||
$app = new \Slim\Slim(array('mode'=>'development', '_session.handler'=>null));
|
||||
|
||||
$app->configureMode('production', function () use ($app) {
|
||||
$app->config(array(
|
||||
'log.enable' => true,
|
||||
'log.path' => '/tmp/',
|
||||
'debug' => false
|
||||
));
|
||||
});
|
||||
|
||||
$app->configureMode('development', function () use ($app) {
|
||||
$app->config(array(
|
||||
'log.enable' => false,
|
||||
'debug' => true
|
||||
));
|
||||
});
|
||||
|
||||
// use post for create operation
|
||||
// use get for retrieval operation
|
||||
// use put for update operation
|
||||
// use delete for delete operation
|
||||
$app->post('/login', 'doLogin');
|
||||
$app->get('/logout', 'doLogout');
|
||||
$app->get('/account', 'getAccount');
|
||||
$app->get('/search', 'doSearch');
|
||||
$app->get('/folder/:id', 'getFolder');
|
||||
$app->post('/folder/:id/move', 'moveFolder');
|
||||
$app->delete('/folder/:id', 'deleteFolder');
|
||||
$app->get('/folder/:id/children', 'getFolderChildren');
|
||||
$app->get('/folder/:id/parent', 'getFolderParent');
|
||||
$app->get('/folder/:id/path', 'getFolderPath');
|
||||
$app->post('/folder/:id/createfolder', 'createFolder');
|
||||
$app->get('/document/:id', 'getDocument');
|
||||
$app->delete('/document/:id', 'deleteDocument');
|
||||
$app->post('/document/:id/move', 'moveDocument');
|
||||
$app->get('/document/:id/content', 'getDocumentContent');
|
||||
$app->get('/document/:id/versions', 'getDocumentVersions');
|
||||
$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->put('/account/fullname', 'setFullName');
|
||||
$app->put('/account/email', 'setEmail');
|
||||
$app->get('/account/locked', 'getLockedDocuments');
|
||||
$app->run();
|
||||
|
||||
?>
|
5
restapi/login.php
Normal file
5
restapi/login.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<form action="index.php/login" method="post">
|
||||
<input type="text" name="user" value="" />
|
||||
<input type="password" name="pass" value="" />
|
||||
<input type="submit" value="Login" />
|
||||
</form>
|
|
@ -24,6 +24,10 @@ img.mimeicon {
|
|||
min-height: 100px;
|
||||
}
|
||||
|
||||
#admin-tools a {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul.actions li a:hover > i {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
@ -204,6 +204,34 @@ $(document).ready( function() {
|
|||
);
|
||||
});
|
||||
|
||||
$('.send-missing-translation a').click(function(ev){
|
||||
// console.log($(ev.target).parent().children('[name=missing-lang-key]').val());
|
||||
// console.log($(ev.target).parent().children('[name=missing-lang-lang]').val());
|
||||
// console.log($(ev.target).parent().children('[name=missing-lang-translation]').val());
|
||||
$.ajax('../op/op.Ajax.php', {
|
||||
type:"POST",
|
||||
async:true,
|
||||
dataType:"json",
|
||||
data: {
|
||||
command: 'submittranslation',
|
||||
key: $(ev.target).parent().children('[name=missing-lang-key]').val(),
|
||||
lang: $(ev.target).parent().children('[name=missing-lang-lang]').val(),
|
||||
phrase: $(ev.target).parent().children('[name=missing-lang-translation]').val()
|
||||
},
|
||||
success: function(data, textStatus) {
|
||||
// console.log(data);
|
||||
noty({
|
||||
text: data.message,
|
||||
type: data.success ? 'success' : 'error',
|
||||
dismissQueue: true,
|
||||
layout: 'topRight',
|
||||
theme: 'defaultTheme',
|
||||
timeout: 1500,
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function allowDrop(ev) {
|
||||
|
|
1
styles/bootstrap/flot/excanvas.min.js
vendored
Normal file
1
styles/bootstrap/flot/excanvas.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
styles/bootstrap/flot/jquery.colorhelpers.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.colorhelpers.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($){$.color={};$.color.make=function(r,g,b,a){var o={};o.r=r||0;o.g=g||0;o.b=b||0;o.a=a!=null?a:1;o.add=function(c,d){for(var i=0;i<c.length;++i)o[c.charAt(i)]+=d;return o.normalize()};o.scale=function(c,f){for(var i=0;i<c.length;++i)o[c.charAt(i)]*=f;return o.normalize()};o.toString=function(){if(o.a>=1){return"rgb("+[o.r,o.g,o.b].join(",")+")"}else{return"rgba("+[o.r,o.g,o.b,o.a].join(",")+")"}};o.normalize=function(){function clamp(min,value,max){return value<min?min:value>max?max:value}o.r=clamp(0,parseInt(o.r),255);o.g=clamp(0,parseInt(o.g),255);o.b=clamp(0,parseInt(o.b),255);o.a=clamp(0,o.a,1);return o};o.clone=function(){return $.color.make(o.r,o.b,o.g,o.a)};return o.normalize()};$.color.extract=function(elem,css){var c;do{c=elem.css(css).toLowerCase();if(c!=""&&c!="transparent")break;elem=elem.parent()}while(elem.length&&!$.nodeName(elem.get(0),"body"));if(c=="rgba(0, 0, 0, 0)")c="transparent";return $.color.parse(c)};$.color.parse=function(str){var res,m=$.color.make;if(res=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10));if(res=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10),parseFloat(res[4]));if(res=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55);if(res=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55,parseFloat(res[4]));if(res=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))return m(parseInt(res[1],16),parseInt(res[2],16),parseInt(res[3],16));if(res=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))return m(parseInt(res[1]+res[1],16),parseInt(res[2]+res[2],16),parseInt(res[3]+res[3],16));var name=$.trim(str).toLowerCase();if(name=="transparent")return m(255,255,255,0);else{res=lookupColors[name]||[0,0,0];return m(res[0],res[1],res[2])}};var lookupColors={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);
|
1
styles/bootstrap/flot/jquery.flot.canvas.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.canvas.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($){var options={canvas:true};var render,getTextInfo,addText;var hasOwnProperty=Object.prototype.hasOwnProperty;function init(plot,classes){var Canvas=classes.Canvas;if(render==null){getTextInfo=Canvas.prototype.getTextInfo,addText=Canvas.prototype.addText,render=Canvas.prototype.render}Canvas.prototype.render=function(){if(!plot.getOptions().canvas){return render.call(this)}var context=this.context,cache=this._textCache;context.save();context.textBaseline="middle";for(var layerKey in cache){if(hasOwnProperty.call(cache,layerKey)){var layerCache=cache[layerKey];for(var styleKey in layerCache){if(hasOwnProperty.call(layerCache,styleKey)){var styleCache=layerCache[styleKey],updateStyles=true;for(var key in styleCache){if(hasOwnProperty.call(styleCache,key)){var info=styleCache[key],positions=info.positions,lines=info.lines;if(updateStyles){context.fillStyle=info.font.color;context.font=info.font.definition;updateStyles=false}for(var i=0,position;position=positions[i];i++){if(position.active){for(var j=0,line;line=position.lines[j];j++){context.fillText(lines[j].text,line[0],line[1])}}else{positions.splice(i--,1)}}if(positions.length==0){delete styleCache[key]}}}}}}}context.restore()};Canvas.prototype.getTextInfo=function(layer,text,font,angle,width){if(!plot.getOptions().canvas){return getTextInfo.call(this,layer,text,font,angle,width)}var textStyle,layerCache,styleCache,info;text=""+text;if(typeof font==="object"){textStyle=font.style+" "+font.variant+" "+font.weight+" "+font.size+"px "+font.family}else{textStyle=font}layerCache=this._textCache[layer];if(layerCache==null){layerCache=this._textCache[layer]={}}styleCache=layerCache[textStyle];if(styleCache==null){styleCache=layerCache[textStyle]={}}info=styleCache[text];if(info==null){var context=this.context;if(typeof font!=="object"){var element=$("<div> </div>").css("position","absolute").addClass(typeof font==="string"?font:null).appendTo(this.getTextLayer(layer));font={lineHeight:element.height(),style:element.css("font-style"),variant:element.css("font-variant"),weight:element.css("font-weight"),family:element.css("font-family"),color:element.css("color")};font.size=element.css("line-height",1).height();element.remove()}textStyle=font.style+" "+font.variant+" "+font.weight+" "+font.size+"px "+font.family;info=styleCache[text]={width:0,height:0,positions:[],lines:[],font:{definition:textStyle,color:font.color}};context.save();context.font=textStyle;var lines=(text+"").replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n");for(var i=0;i<lines.length;++i){var lineText=lines[i],measured=context.measureText(lineText);info.width=Math.max(measured.width,info.width);info.height+=font.lineHeight;info.lines.push({text:lineText,width:measured.width,height:font.lineHeight})}context.restore()}return info};Canvas.prototype.addText=function(layer,x,y,text,font,angle,width,halign,valign){if(!plot.getOptions().canvas){return addText.call(this,layer,x,y,text,font,angle,width,halign,valign)}var info=this.getTextInfo(layer,text,font,angle,width),positions=info.positions,lines=info.lines;y+=info.height/lines.length/2;if(valign=="middle"){y=Math.round(y-info.height/2)}else if(valign=="bottom"){y=Math.round(y-info.height)}else{y=Math.round(y)}if(!!(window.opera&&window.opera.version().split(".")[0]<12)){y-=2}for(var i=0,position;position=positions[i];i++){if(position.x==x&&position.y==y){position.active=true;return}}position={active:true,lines:[],x:x,y:y};positions.push(position);for(var i=0,line;line=lines[i];i++){if(halign=="center"){position.lines.push([Math.round(x-line.width/2),y])}else if(halign=="right"){position.lines.push([Math.round(x-line.width),y])}else{position.lines.push([Math.round(x),y])}y+=line.height}}}$.plot.plugins.push({init:init,options:options,name:"canvas",version:"1.0"})})(jQuery);
|
1
styles/bootstrap/flot/jquery.flot.categories.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.categories.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($){var options={xaxis:{categories:null},yaxis:{categories:null}};function processRawData(plot,series,data,datapoints){var xCategories=series.xaxis.options.mode=="categories",yCategories=series.yaxis.options.mode=="categories";if(!(xCategories||yCategories))return;var format=datapoints.format;if(!format){var s=series;format=[];format.push({x:true,number:true,required:true});format.push({y:true,number:true,required:true});if(s.bars.show||s.lines.show&&s.lines.fill){var autoscale=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);format.push({y:true,number:true,required:false,defaultValue:0,autoscale:autoscale});if(s.bars.horizontal){delete format[format.length-1].y;format[format.length-1].x=true}}datapoints.format=format}for(var m=0;m<format.length;++m){if(format[m].x&&xCategories)format[m].number=false;if(format[m].y&&yCategories)format[m].number=false}}function getNextIndex(categories){var index=-1;for(var v in categories)if(categories[v]>index)index=categories[v];return index+1}function categoriesTickGenerator(axis){var res=[];for(var label in axis.categories){var v=axis.categories[label];if(v>=axis.min&&v<=axis.max)res.push([v,label])}res.sort(function(a,b){return a[0]-b[0]});return res}function setupCategoriesForAxis(series,axis,datapoints){if(series[axis].options.mode!="categories")return;if(!series[axis].categories){var c={},o=series[axis].options.categories||{};if($.isArray(o)){for(var i=0;i<o.length;++i)c[o[i]]=i}else{for(var v in o)c[v]=o[v]}series[axis].categories=c}if(!series[axis].options.ticks)series[axis].options.ticks=categoriesTickGenerator;transformPointsOnAxis(datapoints,axis,series[axis].categories)}function transformPointsOnAxis(datapoints,axis,categories){var points=datapoints.points,ps=datapoints.pointsize,format=datapoints.format,formatColumn=axis.charAt(0),index=getNextIndex(categories);for(var i=0;i<points.length;i+=ps){if(points[i]==null)continue;for(var m=0;m<ps;++m){var val=points[i+m];if(val==null||!format[m][formatColumn])continue;if(!(val in categories)){categories[val]=index;++index}points[i+m]=categories[val]}}}function processDatapoints(plot,series,datapoints){setupCategoriesForAxis(series,"xaxis",datapoints);setupCategoriesForAxis(series,"yaxis",datapoints)}function init(plot){plot.hooks.processRawData.push(processRawData);plot.hooks.processDatapoints.push(processDatapoints)}$.plot.plugins.push({init:init,options:options,name:"categories",version:"1.0"})})(jQuery);
|
1
styles/bootstrap/flot/jquery.flot.crosshair.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.crosshair.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($){var options={crosshair:{mode:null,color:"rgba(170, 0, 0, 0.80)",lineWidth:1}};function init(plot){var crosshair={x:-1,y:-1,locked:false};plot.setCrosshair=function setCrosshair(pos){if(!pos)crosshair.x=-1;else{var o=plot.p2c(pos);crosshair.x=Math.max(0,Math.min(o.left,plot.width()));crosshair.y=Math.max(0,Math.min(o.top,plot.height()))}plot.triggerRedrawOverlay()};plot.clearCrosshair=plot.setCrosshair;plot.lockCrosshair=function lockCrosshair(pos){if(pos)plot.setCrosshair(pos);crosshair.locked=true};plot.unlockCrosshair=function unlockCrosshair(){crosshair.locked=false};function onMouseOut(e){if(crosshair.locked)return;if(crosshair.x!=-1){crosshair.x=-1;plot.triggerRedrawOverlay()}}function onMouseMove(e){if(crosshair.locked)return;if(plot.getSelection&&plot.getSelection()){crosshair.x=-1;return}var offset=plot.offset();crosshair.x=Math.max(0,Math.min(e.pageX-offset.left,plot.width()));crosshair.y=Math.max(0,Math.min(e.pageY-offset.top,plot.height()));plot.triggerRedrawOverlay()}plot.hooks.bindEvents.push(function(plot,eventHolder){if(!plot.getOptions().crosshair.mode)return;eventHolder.mouseout(onMouseOut);eventHolder.mousemove(onMouseMove)});plot.hooks.drawOverlay.push(function(plot,ctx){var c=plot.getOptions().crosshair;if(!c.mode)return;var plotOffset=plot.getPlotOffset();ctx.save();ctx.translate(plotOffset.left,plotOffset.top);if(crosshair.x!=-1){var adj=plot.getOptions().crosshair.lineWidth%2===0?0:.5;ctx.strokeStyle=c.color;ctx.lineWidth=c.lineWidth;ctx.lineJoin="round";ctx.beginPath();if(c.mode.indexOf("x")!=-1){var drawX=Math.round(crosshair.x)+adj;ctx.moveTo(drawX,0);ctx.lineTo(drawX,plot.height())}if(c.mode.indexOf("y")!=-1){var drawY=Math.round(crosshair.y)+adj;ctx.moveTo(0,drawY);ctx.lineTo(plot.width(),drawY)}ctx.stroke()}ctx.restore()});plot.hooks.shutdown.push(function(plot,eventHolder){eventHolder.unbind("mouseout",onMouseOut);eventHolder.unbind("mousemove",onMouseMove)})}$.plot.plugins.push({init:init,options:options,name:"crosshair",version:"1.0"})})(jQuery);
|
1
styles/bootstrap/flot/jquery.flot.errorbars.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.errorbars.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
styles/bootstrap/flot/jquery.flot.fillbetween.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.fillbetween.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($){var options={series:{fillBetween:null}};function init(plot){function findBottomSeries(s,allseries){var i;for(i=0;i<allseries.length;++i){if(allseries[i].id===s.fillBetween){return allseries[i]}}if(typeof s.fillBetween==="number"){if(s.fillBetween<0||s.fillBetween>=allseries.length){return null}return allseries[s.fillBetween]}return null}function computeFillBottoms(plot,s,datapoints){if(s.fillBetween==null){return}var other=findBottomSeries(s,plot.getData());if(!other){return}var ps=datapoints.pointsize,points=datapoints.points,otherps=other.datapoints.pointsize,otherpoints=other.datapoints.points,newpoints=[],px,py,intery,qx,qy,bottom,withlines=s.lines.show,withbottom=ps>2&&datapoints.format[2].y,withsteps=withlines&&s.lines.steps,fromgap=true,i=0,j=0,l,m;while(true){if(i>=points.length){break}l=newpoints.length;if(points[i]==null){for(m=0;m<ps;++m){newpoints.push(points[i+m])}i+=ps}else if(j>=otherpoints.length){if(!withlines){for(m=0;m<ps;++m){newpoints.push(points[i+m])}}i+=ps}else if(otherpoints[j]==null){for(m=0;m<ps;++m){newpoints.push(null)}fromgap=true;j+=otherps}else{px=points[i];py=points[i+1];qx=otherpoints[j];qy=otherpoints[j+1];bottom=0;if(px===qx){for(m=0;m<ps;++m){newpoints.push(points[i+m])}bottom=qy;i+=ps;j+=otherps}else if(px>qx){if(withlines&&i>0&&points[i-ps]!=null){intery=py+(points[i-ps+1]-py)*(qx-px)/(points[i-ps]-px);newpoints.push(qx);newpoints.push(intery);for(m=2;m<ps;++m){newpoints.push(points[i+m])}bottom=qy}j+=otherps}else{if(fromgap&&withlines){i+=ps;continue}for(m=0;m<ps;++m){newpoints.push(points[i+m])}if(withlines&&j>0&&otherpoints[j-otherps]!=null){bottom=qy+(otherpoints[j-otherps+1]-qy)*(px-qx)/(otherpoints[j-otherps]-qx)}i+=ps}fromgap=false;if(l!==newpoints.length&&withbottom){newpoints[l+2]=bottom}}if(withsteps&&l!==newpoints.length&&l>0&&newpoints[l]!==null&&newpoints[l]!==newpoints[l-ps]&&newpoints[l+1]!==newpoints[l-ps+1]){for(m=0;m<ps;++m){newpoints[l+ps+m]=newpoints[l+m]}newpoints[l+1]=newpoints[l-ps+1]}}datapoints.points=newpoints}plot.hooks.processDatapoints.push(computeFillBottoms)}$.plot.plugins.push({init:init,options:options,name:"fillbetween",version:"1.0"})})(jQuery);
|
1
styles/bootstrap/flot/jquery.flot.image.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.image.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($){var options={series:{images:{show:false,alpha:1,anchor:"corner"}}};$.plot.image={};$.plot.image.loadDataImages=function(series,options,callback){var urls=[],points=[];var defaultShow=options.series.images.show;$.each(series,function(i,s){if(!(defaultShow||s.images.show))return;if(s.data)s=s.data;$.each(s,function(i,p){if(typeof p[0]=="string"){urls.push(p[0]);points.push(p)}})});$.plot.image.load(urls,function(loadedImages){$.each(points,function(i,p){var url=p[0];if(loadedImages[url])p[0]=loadedImages[url]});callback()})};$.plot.image.load=function(urls,callback){var missing=urls.length,loaded={};if(missing==0)callback({});$.each(urls,function(i,url){var handler=function(){--missing;loaded[url]=this;if(missing==0)callback(loaded)};$("<img />").load(handler).error(handler).attr("src",url)})};function drawSeries(plot,ctx,series){var plotOffset=plot.getPlotOffset();if(!series.images||!series.images.show)return;var points=series.datapoints.points,ps=series.datapoints.pointsize;for(var i=0;i<points.length;i+=ps){var img=points[i],x1=points[i+1],y1=points[i+2],x2=points[i+3],y2=points[i+4],xaxis=series.xaxis,yaxis=series.yaxis,tmp;if(!img||img.width<=0||img.height<=0)continue;if(x1>x2){tmp=x2;x2=x1;x1=tmp}if(y1>y2){tmp=y2;y2=y1;y1=tmp}if(series.images.anchor=="center"){tmp=.5*(x2-x1)/(img.width-1);x1-=tmp;x2+=tmp;tmp=.5*(y2-y1)/(img.height-1);y1-=tmp;y2+=tmp}if(x1==x2||y1==y2||x1>=xaxis.max||x2<=xaxis.min||y1>=yaxis.max||y2<=yaxis.min)continue;var sx1=0,sy1=0,sx2=img.width,sy2=img.height;if(x1<xaxis.min){sx1+=(sx2-sx1)*(xaxis.min-x1)/(x2-x1);x1=xaxis.min}if(x2>xaxis.max){sx2+=(sx2-sx1)*(xaxis.max-x2)/(x2-x1);x2=xaxis.max}if(y1<yaxis.min){sy2+=(sy1-sy2)*(yaxis.min-y1)/(y2-y1);y1=yaxis.min}if(y2>yaxis.max){sy1+=(sy1-sy2)*(yaxis.max-y2)/(y2-y1);y2=yaxis.max}x1=xaxis.p2c(x1);x2=xaxis.p2c(x2);y1=yaxis.p2c(y1);y2=yaxis.p2c(y2);if(x1>x2){tmp=x2;x2=x1;x1=tmp}if(y1>y2){tmp=y2;y2=y1;y1=tmp}tmp=ctx.globalAlpha;ctx.globalAlpha*=series.images.alpha;ctx.drawImage(img,sx1,sy1,sx2-sx1,sy2-sy1,x1+plotOffset.left,y1+plotOffset.top,x2-x1,y2-y1);ctx.globalAlpha=tmp}}function processRawData(plot,series,data,datapoints){if(!series.images.show)return;datapoints.format=[{required:true},{x:true,number:true,required:true},{y:true,number:true,required:true},{x:true,number:true,required:true},{y:true,number:true,required:true}]}function init(plot){plot.hooks.processRawData.push(processRawData);plot.hooks.drawSeries.push(drawSeries)}$.plot.plugins.push({init:init,options:options,name:"image",version:"1.1"})})(jQuery);
|
2
styles/bootstrap/flot/jquery.flot.min.js
vendored
Normal file
2
styles/bootstrap/flot/jquery.flot.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
styles/bootstrap/flot/jquery.flot.navigate.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.navigate.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
styles/bootstrap/flot/jquery.flot.pie.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.pie.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
styles/bootstrap/flot/jquery.flot.resize.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.resize.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($,t,n){function p(){for(var n=r.length-1;n>=0;n--){var o=$(r[n]);if(o[0]==t||o.is(":visible")){var h=o.width(),d=o.height(),v=o.data(a);!v||h===v.w&&d===v.h?i[f]=i[l]:(i[f]=i[c],o.trigger(u,[v.w=h,v.h=d]))}else v=o.data(a),v.w=0,v.h=0}s!==null&&(s=t.requestAnimationFrame(p))}var r=[],i=$.resize=$.extend($.resize,{}),s,o="setTimeout",u="resize",a=u+"-special-event",f="delay",l="pendingDelay",c="activeDelay",h="throttleWindow";i[l]=250,i[c]=20,i[f]=i[l],i[h]=!0,$.event.special[u]={setup:function(){if(!i[h]&&this[o])return!1;var t=$(this);r.push(this),t.data(a,{w:t.width(),h:t.height()}),r.length===1&&(s=n,p())},teardown:function(){if(!i[h]&&this[o])return!1;var t=$(this);for(var n=r.length-1;n>=0;n--)if(r[n]==this){r.splice(n,1);break}t.removeData(a),r.length||(cancelAnimationFrame(s),s=null)},add:function(t){function s(t,i,s){var o=$(this),u=o.data(a);u.w=i!==n?i:o.width(),u.h=s!==n?s:o.height(),r.apply(this,arguments)}if(!i[h]&&this[o])return!1;var r;if($.isFunction(t))return r=t,s;r=t.handler,t.handler=s}},t.requestAnimationFrame||(t.requestAnimationFrame=function(){return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e,n){return t.setTimeout(e,i[f])}}()),t.cancelAnimationFrame||(t.cancelAnimationFrame=function(){return t.webkitCancelRequestAnimationFrame||t.mozCancelRequestAnimationFrame||t.oCancelRequestAnimationFrame||t.msCancelRequestAnimationFrame||clearTimeout}())})(jQuery,this);(function($){var options={};function init(plot){function onResize(){var placeholder=plot.getPlaceholder();if(placeholder.width()==0||placeholder.height()==0)return;plot.resize();plot.setupGrid();plot.draw()}function bindEvents(plot,eventHolder){plot.getPlaceholder().resize(onResize)}function shutdown(plot,eventHolder){plot.getPlaceholder().unbind("resize",onResize)}plot.hooks.bindEvents.push(bindEvents);plot.hooks.shutdown.push(shutdown)}$.plot.plugins.push({init:init,options:options,name:"resize",version:"1.0"})})(jQuery);
|
1
styles/bootstrap/flot/jquery.flot.selection.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.selection.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
styles/bootstrap/flot/jquery.flot.stack.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.stack.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($){var options={series:{stack:null}};function init(plot){function findMatchingSeries(s,allseries){var res=null;for(var i=0;i<allseries.length;++i){if(s==allseries[i])break;if(allseries[i].stack==s.stack)res=allseries[i]}return res}function stackData(plot,s,datapoints){if(s.stack==null||s.stack===false)return;var other=findMatchingSeries(s,plot.getData());if(!other)return;var ps=datapoints.pointsize,points=datapoints.points,otherps=other.datapoints.pointsize,otherpoints=other.datapoints.points,newpoints=[],px,py,intery,qx,qy,bottom,withlines=s.lines.show,horizontal=s.bars.horizontal,withbottom=ps>2&&(horizontal?datapoints.format[2].x:datapoints.format[2].y),withsteps=withlines&&s.lines.steps,fromgap=true,keyOffset=horizontal?1:0,accumulateOffset=horizontal?0:1,i=0,j=0,l,m;while(true){if(i>=points.length)break;l=newpoints.length;if(points[i]==null){for(m=0;m<ps;++m)newpoints.push(points[i+m]);i+=ps}else if(j>=otherpoints.length){if(!withlines){for(m=0;m<ps;++m)newpoints.push(points[i+m])}i+=ps}else if(otherpoints[j]==null){for(m=0;m<ps;++m)newpoints.push(null);fromgap=true;j+=otherps}else{px=points[i+keyOffset];py=points[i+accumulateOffset];qx=otherpoints[j+keyOffset];qy=otherpoints[j+accumulateOffset];bottom=0;if(px==qx){for(m=0;m<ps;++m)newpoints.push(points[i+m]);newpoints[l+accumulateOffset]+=qy;bottom=qy;i+=ps;j+=otherps}else if(px>qx){if(withlines&&i>0&&points[i-ps]!=null){intery=py+(points[i-ps+accumulateOffset]-py)*(qx-px)/(points[i-ps+keyOffset]-px);newpoints.push(qx);newpoints.push(intery+qy);for(m=2;m<ps;++m)newpoints.push(points[i+m]);bottom=qy}j+=otherps}else{if(fromgap&&withlines){i+=ps;continue}for(m=0;m<ps;++m)newpoints.push(points[i+m]);if(withlines&&j>0&&otherpoints[j-otherps]!=null)bottom=qy+(otherpoints[j-otherps+accumulateOffset]-qy)*(px-qx)/(otherpoints[j-otherps+keyOffset]-qx);newpoints[l+accumulateOffset]+=bottom;i+=ps}fromgap=false;if(l!=newpoints.length&&withbottom)newpoints[l+2]+=bottom}if(withsteps&&l!=newpoints.length&&l>0&&newpoints[l]!=null&&newpoints[l]!=newpoints[l-ps]&&newpoints[l+1]!=newpoints[l-ps+1]){for(m=0;m<ps;++m)newpoints[l+ps+m]=newpoints[l+m];newpoints[l+1]=newpoints[l-ps+1]}}datapoints.points=newpoints}plot.hooks.processDatapoints.push(stackData)}$.plot.plugins.push({init:init,options:options,name:"stack",version:"1.2"})})(jQuery);
|
1
styles/bootstrap/flot/jquery.flot.symbol.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.symbol.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($){function processRawData(plot,series,datapoints){var handlers={square:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI)/2;ctx.rect(x-size,y-size,size+size,size+size)},diamond:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI/2);ctx.moveTo(x-size,y);ctx.lineTo(x,y-size);ctx.lineTo(x+size,y);ctx.lineTo(x,y+size);ctx.lineTo(x-size,y)},triangle:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3));var height=size*Math.sin(Math.PI/3);ctx.moveTo(x-size/2,y+height/2);ctx.lineTo(x+size/2,y+height/2);if(!shadow){ctx.lineTo(x,y-height/2);ctx.lineTo(x-size/2,y+height/2)}},cross:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI)/2;ctx.moveTo(x-size,y-size);ctx.lineTo(x+size,y+size);ctx.moveTo(x-size,y+size);ctx.lineTo(x+size,y-size)}};var s=series.points.symbol;if(handlers[s])series.points.symbol=handlers[s]}function init(plot){plot.hooks.processDatapoints.push(processRawData)}$.plot.plugins.push({init:init,name:"symbols",version:"1.0"})})(jQuery);
|
1
styles/bootstrap/flot/jquery.flot.threshold.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.threshold.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(function($){var options={series:{threshold:null}};function init(plot){function thresholdData(plot,s,datapoints,below,color){var ps=datapoints.pointsize,i,x,y,p,prevp,thresholded=$.extend({},s);thresholded.datapoints={points:[],pointsize:ps,format:datapoints.format};thresholded.label=null;thresholded.color=color;thresholded.threshold=null;thresholded.originSeries=s;thresholded.data=[];var origpoints=datapoints.points,addCrossingPoints=s.lines.show;var threspoints=[];var newpoints=[];var m;for(i=0;i<origpoints.length;i+=ps){x=origpoints[i];y=origpoints[i+1];prevp=p;if(y<below)p=threspoints;else p=newpoints;if(addCrossingPoints&&prevp!=p&&x!=null&&i>0&&origpoints[i-ps]!=null){var interx=x+(below-y)*(x-origpoints[i-ps])/(y-origpoints[i-ps+1]);prevp.push(interx);prevp.push(below);for(m=2;m<ps;++m)prevp.push(origpoints[i+m]);p.push(null);p.push(null);for(m=2;m<ps;++m)p.push(origpoints[i+m]);p.push(interx);p.push(below);for(m=2;m<ps;++m)p.push(origpoints[i+m])}p.push(x);p.push(y);for(m=2;m<ps;++m)p.push(origpoints[i+m])}datapoints.points=newpoints;thresholded.datapoints.points=threspoints;if(thresholded.datapoints.points.length>0){var origIndex=$.inArray(s,plot.getData());plot.getData().splice(origIndex+1,0,thresholded)}}function processThresholds(plot,s,datapoints){if(!s.threshold)return;if(s.threshold instanceof Array){s.threshold.sort(function(a,b){return a.below-b.below});$(s.threshold).each(function(i,th){thresholdData(plot,s,datapoints,th.below,th.color)})}else{thresholdData(plot,s,datapoints,s.threshold.below,s.threshold.color)}}plot.hooks.processDatapoints.push(processThresholds)}$.plot.plugins.push({init:init,options:options,name:"threshold",version:"1.2"})})(jQuery);
|
1
styles/bootstrap/flot/jquery.flot.time.min.js
vendored
Normal file
1
styles/bootstrap/flot/jquery.flot.time.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -49,7 +49,6 @@ class SeedDMS_View_AdminTools extends SeedDMS_Bootstrap_Style {
|
|||
<a href="../out/out.UsrMgr.php" class="span3 btn btn-medium"><i class="icon-user"></i><br /><?php echo getMLText("user_management")?></a>
|
||||
<a href="../out/out.GroupMgr.php" class="span3 btn btn-medium"><i class="icon-group"></i><br /><?php echo getMLText("group_management")?></a>
|
||||
</div>
|
||||
<p></p>
|
||||
<div class="row-fluid">
|
||||
<a href="../out/out.BackupTools.php" class="span3 btn btn-medium"><i class="icon-hdd"></i><br /><?php echo getMLText("backup_tools")?></a>
|
||||
<?php
|
||||
|
@ -57,7 +56,6 @@ class SeedDMS_View_AdminTools extends SeedDMS_Bootstrap_Style {
|
|||
echo "<a href=\"../out/out.LogManagement.php\" class=\"span3 btn btn-medium\"><i class=\"icon-list\"></i><br />".getMLText("log_management")."</a>";
|
||||
?>
|
||||
</div>
|
||||
<p></p>
|
||||
<div class="row-fluid">
|
||||
<a href="../out/out.DefaultKeywords.php" class="span3 btn btn-medium"><i class="icon-reorder"></i><br /><?php echo getMLText("global_default_keywords")?></a>
|
||||
<a href="../out/out.Categories.php" class="span3 btn btn-medium"><i class="icon-columns"></i><br /><?php echo getMLText("global_document_categories")?></a>
|
||||
|
@ -66,7 +64,6 @@ class SeedDMS_View_AdminTools extends SeedDMS_Bootstrap_Style {
|
|||
<?php
|
||||
if($this->params['workflowmode'] != 'traditional') {
|
||||
?>
|
||||
<p></p>
|
||||
<div class="row-fluid">
|
||||
<a href="../out/out.WorkflowMgr.php" class="span3 btn btn-medium"><i class="icon-sitemap"></i><br /><?php echo getMLText("global_workflows"); ?></a>
|
||||
<a href="../out/out.WorkflowStatesMgr.php" class="span3 btn btn-medium"><i class="icon-star"></i><br /><?php echo getMLText("global_workflow_states"); ?></a>
|
||||
|
@ -76,7 +73,6 @@ class SeedDMS_View_AdminTools extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
if($enablefullsearch) {
|
||||
?>
|
||||
<p></p>
|
||||
<div class="row-fluid">
|
||||
<a href="../out/out.Indexer.php" class="span3 btn btn-medium"><i class="icon-refresh"></i><br /><?php echo getMLText("update_fulltext_index")?></a>
|
||||
<a href="../out/out.CreateIndex.php" class="span3 btn btn-medium"><i class="icon-search"></i><br /><?php echo getMLText("create_fulltext_index")?></a>
|
||||
|
@ -85,13 +81,12 @@ class SeedDMS_View_AdminTools extends SeedDMS_Bootstrap_Style {
|
|||
<?php
|
||||
}
|
||||
?>
|
||||
<p></p>
|
||||
<div class="row-fluid">
|
||||
<a href="../out/out.Statistic.php" class="span3 btn btn-medium"><i class="icon-tasks"></i><br /><?php echo getMLText("folders_and_documents_statistic")?></a>
|
||||
<a href="../out/out.Charts.php" class="span3 btn btn-medium"><i class="icon-bar-chart"></i><br /><?php echo getMLText("charts")?></a>
|
||||
<a href="../out/out.ObjectCheck.php" class="span3 btn btn-medium"><i class="icon-check"></i><br /><?php echo getMLText("objectcheck")?></a>
|
||||
<a href="../out/out.Info.php" class="span3 btn btn-medium"><i class="icon-info-sign"></i><br /><?php echo getMLText("version_info")?></a>
|
||||
</div>
|
||||
<p></p>
|
||||
<div class="row-fluid">
|
||||
<a href="../out/out.Settings.php" class="span3 btn btn-medium"><i class="icon-wrench"></i><br /><?php echo getMLText("settings")?></a>
|
||||
<a href="../out/out.ExtensionMgr.php" class="span3 btn btn-medium"><i class="icon-cogs"></i><br /><?php echo getMLText("extension_manager")?></a>
|
||||
|
|
|
@ -151,8 +151,8 @@ function showAttributeDefinitions(selectObj) {
|
|||
if(isset($res['frequencies']) && $res['frequencies']) {
|
||||
print "<table class=\"table-condensed\">";
|
||||
print "<thead>\n<tr>\n";
|
||||
print "<th>".getMLText("count")."</th>\n";
|
||||
print "<th>".getMLText("value")."</th>\n";
|
||||
print "<th>".getMLText("attribute_count")."</th>\n";
|
||||
print "<th>".getMLText("attribute_value")."</th>\n";
|
||||
print "</tr></thead>\n<tbody>\n";
|
||||
foreach($res['frequencies'] as $entry) {
|
||||
echo "<tr><td>".$entry['c']."</td><td>".$entry['value']."</td></tr>";
|
||||
|
@ -166,7 +166,7 @@ function showAttributeDefinitions(selectObj) {
|
|||
print "<th>".getMLText("name")."</th>\n";
|
||||
print "<th>".getMLText("owner")."</th>\n";
|
||||
print "<th>".getMLText("status")."</th>\n";
|
||||
print "<th>".getMLText("value")."</th>\n";
|
||||
print "<th>".getMLText("attribute_value")."</th>\n";
|
||||
print "<th>".getMLText("actions")."</th>\n";
|
||||
print "</tr></thead>\n<tbody>\n";
|
||||
foreach($res['docs'] as $doc) {
|
||||
|
@ -196,7 +196,7 @@ function showAttributeDefinitions(selectObj) {
|
|||
print "<th></th>\n";
|
||||
print "<th>".getMLText("name")."</th>\n";
|
||||
print "<th>".getMLText("owner")."</th>\n";
|
||||
print "<th>".getMLText("value")."</th>\n";
|
||||
print "<th>".getMLText("attribute_value")."</th>\n";
|
||||
print "<th>".getMLText("actions")."</th>\n";
|
||||
print "</tr></thead>\n<tbody>\n";
|
||||
foreach($res['folders'] as $folder) {
|
||||
|
@ -225,7 +225,7 @@ function showAttributeDefinitions(selectObj) {
|
|||
print "<th>".getMLText("owner")."</th>\n";
|
||||
print "<th>".getMLText("mimetype")."</th>\n";
|
||||
print "<th>".getMLText("version")."</th>\n";
|
||||
print "<th>".getMLText("value")."</th>\n";
|
||||
print "<th>".getMLText("attribute_value")."</th>\n";
|
||||
print "<th>".getMLText("actions")."</th>\n";
|
||||
print "</tr></thead>\n<tbody>\n";
|
||||
foreach($res['contents'] as $content) {
|
||||
|
@ -358,7 +358,6 @@ showAttributeDefinitions(sel);
|
|||
</script>
|
||||
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
$this->htmlEndPage();
|
||||
|
||||
} /* }}} */
|
||||
|
|
|
@ -43,9 +43,9 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
|||
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";
|
||||
echo '<script type="text/javascript" src="../styles/'.$this->theme.'/jquery/jquery.min.js"></script>'."\n";
|
||||
if($this->extraheader)
|
||||
echo $this->extraheader;
|
||||
echo '<script type="text/javascript" src="../styles/'.$this->theme.'/jquery/jquery.min.js"></script>'."\n";
|
||||
echo '<script type="text/javascript" src="../js/jquery.passwordstrength.js"></script>'."\n";
|
||||
echo '<script type="text/javascript" src="../styles/'.$this->theme.'/noty/jquery.noty.js"></script>'."\n";
|
||||
echo '<script type="text/javascript" src="../styles/'.$this->theme.'/noty/layouts/topRight.js"></script>'."\n";
|
||||
|
@ -92,6 +92,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
function htmlEndPage() { /* {{{ */
|
||||
$this->footNote();
|
||||
if($this->params['showmissingtranslations']) {
|
||||
$this->missingḺanguageKeys();
|
||||
}
|
||||
echo '<script src="../styles/'.$this->theme.'/bootstrap/js/bootstrap.min.js"></script>'."\n";
|
||||
echo '<script src="../styles/'.$this->theme.'/datepicker/js/bootstrap-datepicker.js"></script>'."\n";
|
||||
foreach(array('de', 'es', 'ca', 'nl', 'fi', 'cs', 'it', 'fr', 'sv', 'sl', 'pt-BR', 'zh-CN', 'zh-TW') as $lang)
|
||||
|
@ -101,6 +104,33 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo "</body>\n</html>\n";
|
||||
} /* }}} */
|
||||
|
||||
function missingḺanguageKeys() { /* {{{ */
|
||||
global $MISSING_LANG, $LANG;
|
||||
if($MISSING_LANG) {
|
||||
echo '<div class="alert alert-error">'."\n";
|
||||
echo "<p><strong>This page contains missing translations in the selected language. Please help to improve SeedDMS and provide the translation.</strong></p>";
|
||||
echo "</div>";
|
||||
echo "<table class=\"table table-condensed\">";
|
||||
echo "<tr><th>Key</th><th>engl. Text</th><th>Your translation</th></tr>\n";
|
||||
foreach($MISSING_LANG as $key=>$lang) {
|
||||
echo "<tr><td>".$key."</td><td>".$LANG['en_GB'][$key]."</td><td><div class=\"input-append send-missing-translation\"><input name=\"missing-lang-key\" type=\"hidden\" value=\"".$key."\" /><input name=\"missing-lang-lang\" type=\"hidden\" value=\"".$lang."\" /><input type=\"text\" class=\"input-xxlarge\" name=\"missing-lang-translation\" placeholder=\"Your translation in '".$lang."'\"/><a class=\"btn\">Submit</a></div></td></tr>";
|
||||
}
|
||||
echo "</table>";
|
||||
?>
|
||||
<script>
|
||||
noty({
|
||||
text: '<b>There are missing translations on this page!</b><br />Please check the bottom of the page.',
|
||||
type: 'error',
|
||||
dismissQueue: true,
|
||||
layout: 'topRight',
|
||||
theme: 'defaultTheme',
|
||||
timeout: 5500,
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function footNote() { /* {{{ */
|
||||
echo '<div class="row-fluid" style="padding-top: 20px;">'."\n";
|
||||
echo '<div class="span12">'."\n";
|
||||
|
@ -185,7 +215,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " <li><a href=\"../out/out.MyAccount.php\">".getMLText("my_account")."</a></li>\n";
|
||||
echo " <li class=\"divider\"></li>\n";
|
||||
}
|
||||
$showdivider = false;
|
||||
if($this->params['enablelanguageselector']) {
|
||||
$showdivider = true;
|
||||
echo " <li class=\"dropdown-submenu\">\n";
|
||||
echo " <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">".getMLText("language")."</a>\n";
|
||||
echo " <ul class=\"dropdown-menu\" role=\"menu\">\n";
|
||||
|
@ -201,9 +233,12 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " </ul>\n";
|
||||
echo " </li>\n";
|
||||
}
|
||||
if($this->params['user']->isAdmin())
|
||||
if($this->params['user']->isAdmin()) {
|
||||
$showdivider = true;
|
||||
echo " <li><a href=\"../out/out.SubstituteUser.php\">".getMLText("substitute_user")."</a></li>\n";
|
||||
echo " <li class=\"divider\"></li>\n";
|
||||
}
|
||||
if($showdivider)
|
||||
echo " <li class=\"divider\"></li>\n";
|
||||
if($this->params['session']->getSu()) {
|
||||
echo " <li><a href=\"../op/op.ResetSu.php\">".getMLText("sign_out_user")."</a></li>\n";
|
||||
} else {
|
||||
|
@ -492,6 +527,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">".getMLText("misc")." <i class=\"icon-caret-down\"></i></a>\n";
|
||||
echo " <ul class=\"dropdown-menu\" role=\"menu\">\n";
|
||||
echo " <li id=\"first\"><a href=\"../out/out.Statistic.php\">".getMLText("folders_and_documents_statistic")."</a></li>\n";
|
||||
echo " <li id=\"first\"><a href=\"../out/out.Charts.php\">".getMLText("charts")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.ObjectCheck.php\">".getMLText("objectcheck")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.ExtensionMgr.php\">".getMLText("extension_manager")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.Info.php\">".getMLText("version_info")."</a></li>\n";
|
||||
|
@ -523,6 +559,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
function pageList($pageNumber, $totalPages, $baseURI, $params) { /* {{{ */
|
||||
|
||||
$maxpages = 25; // skip pages when more than this is shown
|
||||
$range = 5; // pages left and right of current page
|
||||
if (!is_numeric($pageNumber) || !is_numeric($totalPages) || $totalPages<2) {
|
||||
return;
|
||||
}
|
||||
|
@ -552,9 +590,40 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
echo "<div class=\"pagination pagination-small\">";
|
||||
echo "<ul>";
|
||||
for ($i = 1; $i <= $totalPages; $i++) {
|
||||
if ($i == $pageNumber) echo "<li class=\"active\"><a href=\"".$resultsURI.($first ? "?" : "&")."pg=".$i."\">".$i."</a></li> ";
|
||||
else echo "<li><a href=\"".$resultsURI.($first ? "?" : "&")."pg=".$i."\">".$i."</a></li>";
|
||||
if($totalPages <= $maxpages) {
|
||||
for ($i = 1; $i <= $totalPages; $i++) {
|
||||
echo "<li ".($i == $pageNumber ? 'class="active"' : "" )."><a href=\"".$resultsURI.($first ? "?" : "&")."pg=".$i."\">".$i."</a></li>";
|
||||
}
|
||||
} else {
|
||||
if($pageNumber-$range > 1)
|
||||
$start = $pageNumber-$range;
|
||||
else
|
||||
$start = 2;
|
||||
if($pageNumber+$range < $totalPages)
|
||||
$end = $pageNumber+$range;
|
||||
else
|
||||
$end = $totalPages-1;
|
||||
/* Move start or end to always show 2*$range items */
|
||||
$diff = $end-$start-2*$range;
|
||||
if($diff < 0) {
|
||||
if($start > 2)
|
||||
$start += $diff;
|
||||
if($end < $totalPages-1)
|
||||
$end -= $diff;
|
||||
}
|
||||
if($pageNumber > 1)
|
||||
echo "<li><a href=\"".$resultsURI.($first ? "?" : "&")."pg=".($pageNumber-1)."\">«</a></li>";
|
||||
echo "<li ".(1 == $pageNumber ? 'class="active"' : "" )."><a href=\"".$resultsURI.($first ? "?" : "&")."pg=1\">1</a></li>";
|
||||
if($start > 2)
|
||||
echo "<li><span>...</span></li>";
|
||||
for($j=$start; $j<=$end; $j++)
|
||||
echo "<li ".($j == $pageNumber ? 'class="active"' : "" )."><a href=\"".$resultsURI.($first ? "?" : "&")."pg=".$j."\">".$j."</a></li>";
|
||||
if($end < $totalPages-1)
|
||||
echo "<li><span>...</span></li>";
|
||||
if($end < $totalPages)
|
||||
echo "<li ".($totalPages == $pageNumber ? 'class="active"' : "" )."><a href=\"".$resultsURI.($first ? "?" : "&")."pg=".$totalPages."\">".$totalPages."</a></li>";
|
||||
if($pageNumber < $totalPages)
|
||||
echo "<li><a href=\"".$resultsURI.($first ? "?" : "&")."pg=".($pageNumber+1)."\">»</a></li>";
|
||||
}
|
||||
if ($totalPages>1) {
|
||||
echo "<li><a href=\"".$resultsURI.($first ? "?" : "&")."pg=all\">".getMLText("all_pages")."</a></li>";
|
||||
|
|
185
views/bootstrap/class.Charts.php
Normal file
185
views/bootstrap/class.Charts.php
Normal file
|
@ -0,0 +1,185 @@
|
|||
<?php
|
||||
/**
|
||||
* Implementation of Charts view
|
||||
*
|
||||
* @category DMS
|
||||
* @package SeedDMS
|
||||
* @license GPL 2
|
||||
* @version @version@
|
||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||||
* @copyright Copyright (C) 2002-2005 Markus Westphal,
|
||||
* 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli,
|
||||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for Charts view
|
||||
*
|
||||
* @category DMS
|
||||
* @package SeedDMS
|
||||
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
|
||||
* @copyright Copyright (C) 2002-2005 Markus Westphal,
|
||||
* 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli,
|
||||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_Charts extends SeedDMS_Bootstrap_Style {
|
||||
var $dms;
|
||||
var $folder_count;
|
||||
var $document_count;
|
||||
var $file_count;
|
||||
var $storage_size;
|
||||
|
||||
function show() { /* {{{ */
|
||||
$this->dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$rootfolder = $this->params['rootfolder'];
|
||||
$data = $this->params['data'];
|
||||
$type = $this->params['type'];
|
||||
|
||||
$this->htmlAddHeader(
|
||||
'<script type="text/javascript" src="../styles/bootstrap/flot/jquery.flot.min.js"></script>'."\n".
|
||||
'<script type="text/javascript" src="../styles/bootstrap/flot/jquery.flot.pie.min.js"></script>'."\n".
|
||||
'<script type="text/javascript" src="../styles/bootstrap/flot/jquery.flot.time.min.js"></script>'."\n");
|
||||
|
||||
$this->htmlStartPage(getMLText("folders_and_documents_statistic"));
|
||||
$this->globalNavigation();
|
||||
$this->contentStart();
|
||||
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
echo "<div class=\"row-fluid\">\n";
|
||||
echo "<div class=\"span4\">\n";
|
||||
$this->contentHeading(getMLText("chart_selection"));
|
||||
echo "<div class=\"well\">\n";
|
||||
foreach(array('docsperuser', 'sizeperuser', 'docspermimetype', 'docspercategory', 'docsperstatus', 'docspermonth', 'docsaccumulated') as $atype) {
|
||||
echo "<div><a href=\"?type=".$atype."\">".getMLText('chart_'.$atype.'_title')."</a></div>\n";
|
||||
}
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
echo "<div class=\"span8\">\n";
|
||||
$this->contentHeading(getMLText('chart_'.$type.'_title'));
|
||||
echo "<div class=\"well\">\n";
|
||||
|
||||
?>
|
||||
<div id="chart" style="height: 400px;" class="chart"></div>
|
||||
<script type="text/javascript">
|
||||
$("<div id='tooltip'></div>").css({
|
||||
position: "absolute",
|
||||
display: "none",
|
||||
padding: "5px",
|
||||
color: "white",
|
||||
"background-color": "#000",
|
||||
"border-radius": "5px",
|
||||
opacity: 0.80
|
||||
}).appendTo("body");
|
||||
|
||||
<?php
|
||||
if($type == 'docsaccumulated') {
|
||||
?>
|
||||
var data = [
|
||||
<?php
|
||||
foreach($data as $rec) {
|
||||
echo '['.$rec['key'].','.$rec['total'].'],'."\n";
|
||||
}
|
||||
?>
|
||||
];
|
||||
var plot = $.plot("#chart", [data], {
|
||||
xaxis: { mode: "time" },
|
||||
series: {
|
||||
lines: {
|
||||
show: true
|
||||
},
|
||||
points: {
|
||||
show: true
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
hoverable: true,
|
||||
clickable: true
|
||||
},
|
||||
});
|
||||
|
||||
$("#chart").bind("plothover", function (event, pos, item) {
|
||||
if(item) {
|
||||
var x = item.datapoint[0];//.toFixed(2),
|
||||
y = item.datapoint[1];//.toFixed(2);
|
||||
$("#tooltip").html($.plot.formatDate(new Date(x), '%e. %b %Y') + ": " + y)
|
||||
.css({top: pos.pageY-35, left: pos.pageX+5})
|
||||
.fadeIn(200);
|
||||
} else {
|
||||
$("#tooltip").hide();
|
||||
}
|
||||
});
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
var data = [
|
||||
<?php
|
||||
foreach($data as $rec) {
|
||||
echo '{ label: "'.$rec['key'].'", data: [[1,'.$rec['total'].']]},'."\n";
|
||||
}
|
||||
?>
|
||||
];
|
||||
$.plot('#chart', data, {
|
||||
series: {
|
||||
pie: {
|
||||
show: true,
|
||||
radius: 1,
|
||||
label: {
|
||||
show: true,
|
||||
radius: 2/3,
|
||||
formatter: labelFormatter,
|
||||
threshold: 0.1,
|
||||
background: {
|
||||
opacity: 0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
hoverable: true,
|
||||
clickable: true
|
||||
}
|
||||
});
|
||||
|
||||
$("#chart").bind("plothover", function (event, pos, item) {
|
||||
if(item) {
|
||||
var x = item.series.data[0][0];//.toFixed(2),
|
||||
y = item.series.data[0][1];//.toFixed(2);
|
||||
|
||||
$("#tooltip").html(item.series.label + ": " + y + " (" + Math.round(item.series.percent) + "%)")
|
||||
.css({top: pos.pageY-35, left: pos.pageX+5})
|
||||
.fadeIn(200);
|
||||
} else {
|
||||
$("#tooltip").hide();
|
||||
}
|
||||
});
|
||||
function labelFormatter(label, series) {
|
||||
return "<div style='font-size:8pt; line-height: 14px; text-align:center; padding:2px; color:black; background: white; border-radius: 5px;'>" + label + "<br/>" + series.data[0][1] + " (" + Math.round(series.percent) + "%)</div>";
|
||||
}
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</script>
|
||||
<?php
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
|
||||
$this->contentContainerEnd();
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
}
|
||||
?>
|
|
@ -44,6 +44,51 @@ class SeedDMS_View_DefaultKeywords extends SeedDMS_Bootstrap_Style {
|
|||
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
|
||||
function checkForm(num)
|
||||
{
|
||||
msg = new Array();
|
||||
eval("var formObj = document.form" + num + ";");
|
||||
|
||||
if (formObj.name.value == "") msg.push("<?php printMLText("js_no_name");?>");
|
||||
if (msg != "")
|
||||
{
|
||||
noty({
|
||||
text: msg.join('<br />'),
|
||||
type: 'error',
|
||||
dismissQueue: true,
|
||||
layout: 'topRight',
|
||||
theme: 'defaultTheme',
|
||||
_timeout: 1500,
|
||||
});
|
||||
return false;
|
||||
}
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
||||
function checkKeywordForm(num)
|
||||
{
|
||||
msg = new Array();
|
||||
eval("var formObj = document.formk" + num + ";");
|
||||
|
||||
if (formObj.keywords.value == "") msg.push("<?php printMLText("js_no_name");?>");
|
||||
if (msg != "")
|
||||
{
|
||||
noty({
|
||||
text: msg.join('<br />'),
|
||||
type: 'error',
|
||||
dismissQueue: true,
|
||||
layout: 'topRight',
|
||||
theme: 'defaultTheme',
|
||||
_timeout: 1500,
|
||||
});
|
||||
return false;
|
||||
}
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
||||
obj = -1;
|
||||
function showKeywords(selectObj) {
|
||||
if (obj != -1)
|
||||
|
@ -91,9 +136,9 @@ function showKeywords(selectObj) {
|
|||
|
||||
<table class="table-condensed"><tr>
|
||||
<td id="keywords0" style="display : none;">
|
||||
<form class="form-inline" action="../op/op.DefaultKeywords.php" method="post">
|
||||
<form class="form-inline" action="../op/op.DefaultKeywords.php" method="post" name="form0" onsubmit="return checkForm('0');">
|
||||
<?php echo createHiddenFieldWithKey('addcategory'); ?>
|
||||
<input type="Hidden" name="action" value="addcategory">
|
||||
<input type="hidden" name="action" value="addcategory">
|
||||
<?php printMLText("name");?>: <input type="text" name="name">
|
||||
<input type="submit" class="btn" value="<?php printMLText("new_default_keyword_category"); ?>">
|
||||
</form>
|
||||
|
@ -121,7 +166,7 @@ function showKeywords(selectObj) {
|
|||
<tr>
|
||||
<td><?php echo getMLText("name")?>:</td>
|
||||
<td>
|
||||
<form class="form-inline" action="../op/op.DefaultKeywords.php" method="post">
|
||||
<form class="form-inline" action="../op/op.DefaultKeywords.php" method="post" name="form<?php echo $category->getID()?>" onsubmit="return checkForm('<?php echo $category->getID()?>');">
|
||||
<?php echo createHiddenFieldWithKey('editcategory'); ?>
|
||||
<input type="hidden" name="action" value="editcategory">
|
||||
<input type="hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
|
@ -140,7 +185,7 @@ function showKeywords(selectObj) {
|
|||
else
|
||||
foreach ($lists as $list) {
|
||||
?>
|
||||
<form class="form-inline" style="display: inline-block;" method="post" action="../op/op.DefaultKeywords.php" >
|
||||
<form class="form-inline" style="display: inline-block;" method="post" action="../op/op.DefaultKeywords.php" name="formk<?php echo $list['id']?>" onsubmit="return checkKeywordForm('<?php echo $list['id']?>');">
|
||||
<?php echo createHiddenFieldWithKey('editkeywords'); ?>
|
||||
<input type="Hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="Hidden" name="keywordsid" value="<?php echo $list["id"]?>">
|
||||
|
|
|
@ -35,6 +35,8 @@ class SeedDMS_View_EditUserData extends SeedDMS_Bootstrap_Style {
|
|||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$enableuserimage = $this->params['enableuserimage'];
|
||||
$enablelanguageselector = $this->params['enablelanguageselector'];
|
||||
$enablethemeselector = $this->params['enablethemeselector'];
|
||||
$passwordstrength = $this->params['passwordstrength'];
|
||||
$httproot = $this->params['httproot'];
|
||||
|
||||
|
@ -130,6 +132,10 @@ function checkForm()
|
|||
<td><?php printMLText("new_user_image");?>:</td>
|
||||
<td><input type="file" name="userfile" accept="image/jpeg" size="30"></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if ($enablelanguageselector){
|
||||
?>
|
||||
<tr>
|
||||
<td><?php printMLText("language");?>:</td>
|
||||
<td>
|
||||
|
@ -143,6 +149,10 @@ function checkForm()
|
|||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if ($enablethemeselector){
|
||||
?>
|
||||
<tr>
|
||||
<td><?php printMLText("theme");?>:</td>
|
||||
<td>
|
||||
|
@ -156,8 +166,9 @@ function checkForm()
|
|||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save"); ?></button></td>
|
||||
|
|
51
views/bootstrap/class.PasswordSend.php
Normal file
51
views/bootstrap/class.PasswordSend.php
Normal file
|
@ -0,0 +1,51 @@
|
|||
<?php
|
||||
/**
|
||||
* Implementation of PasswordSend view
|
||||
*
|
||||
* @category DMS
|
||||
* @package SeedDMS
|
||||
* @license GPL 2
|
||||
* @version @version@
|
||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||||
* @copyright Copyright (C) 2002-2005 Markus Westphal,
|
||||
* 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli,
|
||||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for PasswordSend view
|
||||
*
|
||||
* @category DMS
|
||||
* @package SeedDMS
|
||||
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
|
||||
* @copyright Copyright (C) 2002-2005 Markus Westphal,
|
||||
* 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli,
|
||||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_PasswordSend extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
$referrer = $this->params['referrer'];
|
||||
|
||||
$this->htmlStartPage(getMLText("password_send"), "login");
|
||||
$this->globalBanner();
|
||||
$this->contentStart();
|
||||
$this->pageNavigation(getMLText("password_send"));
|
||||
?>
|
||||
|
||||
<?php $this->contentContainerStart(); ?>
|
||||
<?php printMLText('password_send_text'); ?>
|
||||
<?php $this->contentContainerEnd(); ?>
|
||||
<p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p>
|
||||
<?php
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
}
|
||||
?>
|
|
@ -438,6 +438,10 @@ if(!is_writeable($settings->_configFilePath)) {
|
|||
<td><?php printMLText("settings_titleDisplayHack");?>:</td>
|
||||
<td><input name="titleDisplayHack" type="checkbox" <?php if ($settings->_titleDisplayHack) echo "checked" ?> /></td>
|
||||
</tr>
|
||||
<tr title="<?php printMLText("settings_showMissingTranslations_desc");?>">
|
||||
<td><?php printMLText("settings_showMissingTranslations");?>:</td>
|
||||
<td><input name="showMissingTranslations" type="checkbox" <?php if ($settings->_showMissingTranslations) echo "checked" ?> /></td>
|
||||
</tr>
|
||||
|
||||
<!--
|
||||
-- SETTINGS - ADVANCED - AUTHENTICATION
|
||||
|
|
|
@ -87,13 +87,20 @@ function showKeywords(selectObj) {
|
|||
<div class="well">
|
||||
|
||||
<table class="table-condensed"><tr>
|
||||
<td id="keywords0" style="display : none;">
|
||||
<form action="../op/op.UserDefaultKeywords.php" method="post" name="addcategory">
|
||||
<input type="hidden" name="action" value="addcategory">
|
||||
<?php printMLText("name");?> : <input type="text" name="name">
|
||||
<input type="Submit" class="btn" value="<?php printMLText("new_default_keyword_category"); ?>">
|
||||
</form>
|
||||
</td>
|
||||
<td id="keywords0" style="display : none;">
|
||||
<form action="../op/op.UserDefaultKeywords.php" method="post" name="addcategory">
|
||||
<input type="hidden" name="action" value="addcategory">
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td><?php printMLText("name");?>:</td>
|
||||
<td><input type="text" name="name"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td><input type="submit" class="btn" value="<?php printMLText("new_default_keyword_category"); ?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
<?php
|
||||
foreach ($categories as $category) {
|
||||
$owner = $category->getOwner();
|
||||
|
@ -103,12 +110,13 @@ function showKeywords(selectObj) {
|
|||
?>
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td></td>
|
||||
<td>
|
||||
<form action="../op/op.UserDefaultKeywords.php" method="post">
|
||||
<?php echo createHiddenFieldWithKey('removecategory'); ?>
|
||||
<input type="Hidden" name="action" value="removecategory">
|
||||
<input type="Hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input value="<?php printMLText("rm_default_keyword_category");?>" type="submit" class="btn" title="<?php echo getMLText("delete")?>">
|
||||
<input type="hidden" name="action" value="removecategory">
|
||||
<input type="hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<button type="submit" class="btn" title="<?php echo getMLText("delete")?>"><i class="icon-remove"></i> <?php printMLText("rm_default_keyword_category");?></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -134,18 +142,18 @@ function showKeywords(selectObj) {
|
|||
else
|
||||
foreach ($lists as $list) {
|
||||
?>
|
||||
<form class="form-inline" style="display: inline-block;" action="../op/op.UserDefaultKeywords.php" method="post" name="<?php echo "cat".$category->getID().".".$list["id"]?>">
|
||||
<input type="Hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="Hidden" name="keywordsid" value="<?php echo $list["id"]?>">
|
||||
<input type="Hidden" name="action" value="editkeywords">
|
||||
<form class="form-inline" style="display: inline-block;margin-bottom: 0px;" action="../op/op.UserDefaultKeywords.php" method="post" name="<?php echo "cat".$category->getID().".".$list["id"]?>">
|
||||
<input type="hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="hidden" name="keywordsid" value="<?php echo $list["id"]?>">
|
||||
<input type="hidden" name="action" value="editkeywords">
|
||||
<input type="text" name="keywords" value="<?php echo htmlspecialchars($list["keywords"]) ?>">
|
||||
<button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save")?></button>
|
||||
</form>
|
||||
<form style="display: inline-block;" method="post" action="../op/op.UserDefaultKeywords.php" >
|
||||
<?php echo createHiddenFieldWithKey('removekeywords'); ?>
|
||||
<input type="Hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="Hidden" name="keywordsid" value="<?php echo $list["id"]?>">
|
||||
<input type="Hidden" name="action" value="removekeywords">
|
||||
<input type="hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="hidden" name="keywordsid" value="<?php echo $list["id"]?>">
|
||||
<input type="hidden" name="action" value="removekeywords">
|
||||
<button type="submit" class="btn"><i class="icon-remove"></i> <?php printMLText("delete")?></button>
|
||||
</form>
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue
Block a user