mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-01-30 13:09:16 +00:00
Merge branch 'seeddms-6.0.x' into seeddms-6.1.x
This commit is contained in:
commit
290f7de826
13
CHANGELOG
13
CHANGELOG
|
|
@ -7,6 +7,12 @@
|
|||
- do not use md5 password hashing anymore, hashes will be updated automatically
|
||||
when passwords are reset
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 6.0.16
|
||||
--------------------------------------------------------------------------------
|
||||
- cancel checkout needs confirmation
|
||||
- add input field to filter list of recipients if more then 10
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 6.0.15
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
@ -201,6 +207,13 @@
|
|||
- add document list which can be exported as an archive
|
||||
- search results can be exported
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.23
|
||||
--------------------------------------------------------------------------------
|
||||
- output path of parent folder in many document/folder lists
|
||||
- list affected documents when transfering processes to another user
|
||||
- check for quota and duplicate content in restapi
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.22
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
|||
31
Gruntfile.js
31
Gruntfile.js
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = function (grunt) {
|
||||
'use strict';
|
||||
|
||||
var bootstrapDir = 'views/bootstrap/vendors',
|
||||
var bootstrapDir = 'views/bootstrap4/vendors',
|
||||
tdkDir = 'views/tdk/vendors',
|
||||
nodeDir = 'node_modules';
|
||||
|
||||
|
|
@ -78,6 +78,20 @@ module.exports = function (grunt) {
|
|||
],
|
||||
dest: bootstrapDir + '/select2/css',
|
||||
flatten: true
|
||||
},{
|
||||
expand: true,
|
||||
src: [
|
||||
nodeDir + '/@ttskch/select2-bootstrap4-theme/dist/*'
|
||||
],
|
||||
dest: bootstrapDir + '/select2-bootstrap4-theme',
|
||||
flatten: true
|
||||
},{
|
||||
expand: true,
|
||||
src: [
|
||||
nodeDir + '/vis-timeline/dist/*'
|
||||
],
|
||||
dest: bootstrapDir + '/vis-timeline',
|
||||
flatten: true
|
||||
},{
|
||||
expand: true,
|
||||
src: [
|
||||
|
|
@ -145,6 +159,13 @@ module.exports = function (grunt) {
|
|||
],
|
||||
dest: bootstrapDir + '/moment/locale',
|
||||
flatten: true
|
||||
},{
|
||||
expand: true,
|
||||
src: [
|
||||
nodeDir + '/popper.js/dist/umd/*'
|
||||
],
|
||||
dest: bootstrapDir + '/popper',
|
||||
flatten: true
|
||||
},{
|
||||
expand: true,
|
||||
src: [
|
||||
|
|
@ -152,6 +173,14 @@ module.exports = function (grunt) {
|
|||
],
|
||||
dest: bootstrapDir + '/perfect-scrollbar',
|
||||
flatten: true
|
||||
},{
|
||||
expand: true,
|
||||
src: [
|
||||
nodeDir + '/bootstrap/dist/js/bootstrap.min.js',
|
||||
nodeDir + '/bootstrap/dist/css/bootstrap.min.css'
|
||||
],
|
||||
dest: bootstrapDir + '/bootstrap',
|
||||
flatten: true
|
||||
},{
|
||||
expand: true,
|
||||
src: [
|
||||
|
|
|
|||
|
|
@ -898,14 +898,10 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
|
|||
/**
|
||||
* Check if latest content of the document has a scheduled
|
||||
* revision workflow.
|
||||
* The method will update the document status log database table
|
||||
* if needed and set the revisiondate of the content to $next.
|
||||
*
|
||||
* FIXME: This method does not check if there are any revisors left. Even
|
||||
* if all revisors have been removed, it will still start the revision workflow!
|
||||
* NOTE: This seems not the case anymore. The status of each revision is
|
||||
* checked. Only if at least one status is S_LOG_SLEEPING the revision will be
|
||||
* started. This wouldn't be the case if all revisors had been removed.
|
||||
* This method was moved into SeedDMS_Core_DocumentContent and
|
||||
* the original method in SeedDMS_Core_Document now uses it for
|
||||
* the latest version.
|
||||
*
|
||||
* @param object $user user requesting the possible automatic change
|
||||
* @param string $next next date for review
|
||||
|
|
@ -914,39 +910,7 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
|
|||
function checkForDueRevisionWorkflow($user, $next=''){ /* {{{ */
|
||||
$lc=$this->getLatestContent();
|
||||
if($lc) {
|
||||
$st=$lc->getStatus();
|
||||
|
||||
/* A revision workflow will only be started if the document is released */
|
||||
if($st["status"] == S_RELEASED) {
|
||||
/* First check if there are any scheduled revisions currently sleeping */
|
||||
$pendingRevision=false;
|
||||
unset($this->_revisionStatus); // force to be reloaded from DB
|
||||
$revisionStatus=$lc->getRevisionStatus();
|
||||
if (is_array($revisionStatus) && count($revisionStatus)>0) {
|
||||
foreach ($revisionStatus as $a){
|
||||
if ($a["status"]==S_LOG_SLEEPING || $a["status"]==S_LOG_SLEEPING){
|
||||
$pendingRevision=true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$pendingRevision)
|
||||
return false;
|
||||
|
||||
/* We have sleeping revision, next check if the revision is already due */
|
||||
if($lc->getRevisionDate() && $lc->getRevisionDate() <= date('Y-m-d 00:00:00')) {
|
||||
if($lc->startRevision($user, 'Automatic start of revision workflow scheduled for '.$lc->getRevisionDate())) {
|
||||
if($next) {
|
||||
$tmp = explode('-', substr($next, 0, 10));
|
||||
if(checkdate($tmp[1], $tmp[2], $tmp[0]))
|
||||
$lc->setRevisionDate($next);
|
||||
} else {
|
||||
$lc->setRevisionDate(false);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $lc->checkForDueRevisionWorkflow($user, $next);
|
||||
}
|
||||
return false;
|
||||
} /* }}} */
|
||||
|
|
@ -4503,6 +4467,58 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
return true;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Check if document version has a scheduled revision workflow.
|
||||
* The method will update the document status log database table
|
||||
* if needed and set the revisiondate of the content to $next.
|
||||
*
|
||||
* FIXME: This method does not check if there are any revisors left. Even
|
||||
* if all revisors have been removed, it will still start the revision workflow!
|
||||
* NOTE: This seems not the case anymore. The status of each revision is
|
||||
* checked. Only if at least one status is S_LOG_SLEEPING the revision will be
|
||||
* started. This wouldn't be the case if all revisors had been removed.
|
||||
*
|
||||
* @param object $user user requesting the possible automatic change
|
||||
* @param string $next next date for review
|
||||
* @return boolean true if status has changed
|
||||
*/
|
||||
function checkForDueRevisionWorkflow($user, $next=''){ /* {{{ */
|
||||
$st=$this->getStatus();
|
||||
|
||||
/* A revision workflow will only be started if the document version is released */
|
||||
if($st["status"] == S_RELEASED) {
|
||||
/* First check if there are any scheduled revisions currently sleeping */
|
||||
$pendingRevision=false;
|
||||
unset($this->_revisionStatus); // force to be reloaded from DB
|
||||
$revisionStatus=$this->getRevisionStatus();
|
||||
if (is_array($revisionStatus) && count($revisionStatus)>0) {
|
||||
foreach ($revisionStatus as $a){
|
||||
if ($a["status"]==S_LOG_SLEEPING || $a["status"]==S_LOG_SLEEPING){
|
||||
$pendingRevision=true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$pendingRevision)
|
||||
return false;
|
||||
|
||||
/* We have sleeping revision, next check if the revision is already due */
|
||||
if($this->getRevisionDate() && $this->getRevisionDate() <= date('Y-m-d 00:00:00')) {
|
||||
if($this->startRevision($user, 'Automatic start of revision workflow scheduled for '.$this->getRevisionDate())) {
|
||||
if($next) {
|
||||
$tmp = explode('-', substr($next, 0, 10));
|
||||
if(checkdate($tmp[1], $tmp[2], $tmp[0]))
|
||||
$this->setRevisionDate($next);
|
||||
} else {
|
||||
$this->setRevisionDate(false);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
} /* }}} */
|
||||
|
||||
function addIndReviewer($user, $requestUser) { /* {{{ */
|
||||
$db = $this->_document->getDMS()->getDB();
|
||||
|
||||
|
|
|
|||
|
|
@ -1197,7 +1197,7 @@ class SeedDMS_Core_User { /* {{{ */
|
|||
foreach ($reviewStatus["indstatus"] as $ri) {
|
||||
if($ri['status'] != -2 && (!isset($states['review']) || in_array($ri['status'], $states['review']))) {
|
||||
$queryStr = "INSERT INTO `tblDocumentReviewLog` (`reviewID`, `status`, `comment`, `date`, `userID`) ".
|
||||
"VALUES ('". $ri["reviewID"] ."', '-2', 'Reviewer removed from process', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
|
||||
"VALUES ('". $ri["reviewID"] ."', '-2', '".(($newuser && $ri['status'] == 0) ? 'Reviewer replaced by '.$newuser->getLogin() : 'Reviewer removed from process')."', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
|
||||
$res=$db->getResult($queryStr);
|
||||
if(!$res) {
|
||||
$db->rollbackTransaction();
|
||||
|
|
@ -1226,7 +1226,7 @@ class SeedDMS_Core_User { /* {{{ */
|
|||
foreach ($approvalStatus["indstatus"] as $ai) {
|
||||
if($ai['status'] != -2 && (!isset($states['approval']) || in_array($ai['status'], $states['approval']))) {
|
||||
$queryStr = "INSERT INTO `tblDocumentApproveLog` (`approveID`, `status`, `comment`, `date`, `userID`) ".
|
||||
"VALUES ('". $ai["approveID"] ."', '-2', 'Approver removed from process', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
|
||||
"VALUES ('". $ai["approveID"] ."', '-2', '".(($newuser && $ai['status'] == 0)? 'Approver replaced by '.$newuser->getLogin() : 'Approver removed from process')."', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
|
||||
$res=$db->getResult($queryStr);
|
||||
if(!$res) {
|
||||
$db->rollbackTransaction();
|
||||
|
|
@ -1255,7 +1255,7 @@ class SeedDMS_Core_User { /* {{{ */
|
|||
foreach ($receiptStatus["indstatus"] as $ri) {
|
||||
if($ri['status'] != -2 && (!isset($states['receipt']) || in_array($ri['status'], $states['receipt']))) {
|
||||
$queryStr = "INSERT INTO `tblDocumentReceiptLog` (`receiptID`, `status`, `comment`, `date`, `userID`) ".
|
||||
"VALUES ('". $ri["receiptID"] ."', '-2', 'Recipient removed from process', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
|
||||
"VALUES ('". $ri["receiptID"] ."', '-2', '".(($newuser && $ri['status'] == 0) ? 'Recipient replaced by '.$newuser->getLogin() : 'Recipient removed from process')."', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
|
||||
$res=$db->getResult($queryStr);
|
||||
if(!$res) {
|
||||
$db->rollbackTransaction();
|
||||
|
|
@ -1284,7 +1284,7 @@ class SeedDMS_Core_User { /* {{{ */
|
|||
foreach ($revisionStatus["indstatus"] as $ri) {
|
||||
if($ri['status'] != -2 && (!isset($states['revision']) || in_array($ri['status'], $states['revision']))) {
|
||||
$queryStr = "INSERT INTO `tblDocumentRevisionLog` (`revisionID`, `status`, `comment`, `date`, `userID`) ".
|
||||
"VALUES ('". $ri["revisionID"] ."', '-2', 'Revisor removed from process', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
|
||||
"VALUES ('". $ri["revisionID"] ."', '-2', '".(($newuser && in_array($ri['status'], array(S_LOG_WAITING, S_LOG_SLEEPING))) ? 'Revisor replaced by '.$newuser->getLogin() : 'Revisor removed from process')."', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
|
||||
$res=$db->getResult($queryStr);
|
||||
if(!$res) {
|
||||
$db->rollbackTransaction();
|
||||
|
|
|
|||
|
|
@ -2169,7 +2169,7 @@ better error checking in SeedDMS_Core_Document::cancelCheckOut()
|
|||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2021-04-07</date>
|
||||
<date>2021-04-13</date>
|
||||
<time>13:44:55</time>
|
||||
<version>
|
||||
<release>6.0.15</release>
|
||||
|
|
@ -2189,5 +2189,23 @@ better error checking in SeedDMS_Core_Document::cancelCheckOut()
|
|||
days for list DueRevisions
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2021-04-13</date>
|
||||
<time>13:44:55</time>
|
||||
<version>
|
||||
<release>6.0.16</release>
|
||||
<api>6.0.16</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
<api>stable</api>
|
||||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
- removeFromProcesses() documents in comment of log when a user was replaced
|
||||
- move SeedDMS_Core_Document::checkForDueRevisionWorkflow() into SeedDMS_Core_DocumentContent
|
||||
and add a wrapper method in SeedDMЅ_Core_Document
|
||||
</notes>
|
||||
</release>
|
||||
</changelog>
|
||||
</package>
|
||||
|
|
|
|||
|
|
@ -23,18 +23,31 @@
|
|||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_SQLiteFTS_Indexer {
|
||||
|
||||
/**
|
||||
* @var string $ftstype
|
||||
* @access protected
|
||||
*/
|
||||
protected $_ftstype;
|
||||
|
||||
/**
|
||||
* @var object $index sqlite index
|
||||
* @access protected
|
||||
*/
|
||||
protected $_conn;
|
||||
|
||||
const ftstype = 'fts5';
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
function __construct($indexerDir) { /* {{{ */
|
||||
$this->_conn = new PDO('sqlite:'.$indexerDir.'/index.db');
|
||||
$this->_ftstype = self::ftstype;
|
||||
if($this->_ftstype == 'fts5')
|
||||
$this->_rawid = 'rowid';
|
||||
else
|
||||
$this->_rawid = 'docid';
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
|
|
@ -62,19 +75,33 @@ class SeedDMS_SQLiteFTS_Indexer {
|
|||
* in SeedDMS_SQLiteFTS_Term
|
||||
*/
|
||||
$version = SQLite3::version();
|
||||
if($version['versionNumber'] >= 3008000)
|
||||
$sql = 'CREATE VIRTUAL TABLE docs USING fts4(documentid, title, comment, keywords, category, mimetype, origfilename, owner, content, created, users, status, path, notindexed=created, matchinfo=fts3)';
|
||||
else
|
||||
$sql = 'CREATE VIRTUAL TABLE docs USING fts4(documentid, title, comment, keywords, category, mimetype, origfilename, owner, content, created, users, status, path, matchinfo=fts3)';
|
||||
$res = $index->_conn->exec($sql);
|
||||
if($res === false) {
|
||||
if(self::ftstype == 'fts4') {
|
||||
if($version['versionNumber'] >= 3008000)
|
||||
$sql = 'CREATE VIRTUAL TABLE docs USING fts4(documentid, title, comment, keywords, category, mimetype, origfilename, owner, content, created, users, status, path, notindexed=created, matchinfo=fts3)';
|
||||
else
|
||||
$sql = 'CREATE VIRTUAL TABLE docs USING fts4(documentid, title, comment, keywords, category, mimetype, origfilename, owner, content, created, users, status, path, matchinfo=fts3)';
|
||||
$res = $index->_conn->exec($sql);
|
||||
if($res === false) {
|
||||
return null;
|
||||
}
|
||||
$sql = 'CREATE VIRTUAL TABLE docs_terms USING fts4aux(docs);';
|
||||
$res = $index->_conn->exec($sql);
|
||||
if($res === false) {
|
||||
return null;
|
||||
}
|
||||
} elseif(self::ftstype == 'fts5') {
|
||||
$sql = 'CREATE VIRTUAL TABLE docs USING fts5(documentid, title, comment, keywords, category, mimetype, origfilename, owner, content, created unindexed, users, status, path)';
|
||||
$res = $index->_conn->exec($sql);
|
||||
if($res === false) {
|
||||
return null;
|
||||
}
|
||||
$sql = 'CREATE VIRTUAL TABLE docs_terms USING fts5vocab(docs, \'col\');';
|
||||
$res = $index->_conn->exec($sql);
|
||||
if($res === false) {
|
||||
return null;
|
||||
}
|
||||
} else
|
||||
return null;
|
||||
}
|
||||
$sql = 'CREATE VIRTUAL TABLE docs_terms USING fts4aux(docs);';
|
||||
$res = $index->_conn->exec($sql);
|
||||
if($res === false) {
|
||||
return null;
|
||||
}
|
||||
return($index);
|
||||
} /* }}} */
|
||||
|
||||
|
|
@ -116,7 +143,7 @@ class SeedDMS_SQLiteFTS_Indexer {
|
|||
if(!$this->_conn)
|
||||
return false;
|
||||
|
||||
$sql = "DELETE FROM docs WHERE docid=".(int) $id;
|
||||
$sql = "DELETE FROM docs WHERE ".$this->_rawid."=".(int) $id;
|
||||
$res = $this->_conn->exec($sql);
|
||||
return $res;
|
||||
} /* }}} */
|
||||
|
|
@ -150,10 +177,13 @@ class SeedDMS_SQLiteFTS_Indexer {
|
|||
$res = $this->_conn->query($sql);
|
||||
$row = $res->fetch();
|
||||
|
||||
$sql = "SELECT docid, documentid FROM docs";
|
||||
$sql = "SELECT ".$this->_rawid.", documentid FROM docs";
|
||||
if($query)
|
||||
$sql .= " WHERE docs MATCH ".$this->_conn->quote($query);
|
||||
$res = $this->_conn->query($sql);
|
||||
if($this->_ftstype == 'fts5')
|
||||
//$sql .= " ORDER BY rank";
|
||||
// boost documentid, title and comment
|
||||
$sql .= " ORDER BY bm25(docs, 10.0, 10.0, 10.0)";
|
||||
if(!empty($limit['limit']))
|
||||
$sql .= " LIMIT ".(int) $limit['limit'];
|
||||
if(!empty($limit['offset']))
|
||||
|
|
@ -163,7 +193,7 @@ class SeedDMS_SQLiteFTS_Indexer {
|
|||
if($res) {
|
||||
foreach($res as $rec) {
|
||||
$hit = new SeedDMS_SQLiteFTS_QueryHit($this);
|
||||
$hit->id = $rec['docid'];
|
||||
$hit->id = $rec[$this->_rawid];
|
||||
$hit->documentid = $rec['documentid'];
|
||||
$hits[] = $hit;
|
||||
}
|
||||
|
|
@ -181,13 +211,13 @@ class SeedDMS_SQLiteFTS_Indexer {
|
|||
if(!$this->_conn)
|
||||
return false;
|
||||
|
||||
$sql = "SELECT docid FROM docs WHERE docid=".(int) $id;
|
||||
$sql = "SELECT ".$this->_rawid." FROM docs WHERE ".$this->_rawid."=".(int) $id;
|
||||
$res = $this->_conn->query($sql);
|
||||
$hits = array();
|
||||
if($res) {
|
||||
while($rec = $res->fetch(PDO::FETCH_ASSOC)) {
|
||||
$hit = new SeedDMS_SQLiteFTS_QueryHit($this);
|
||||
$hit->id = $rec['docid'];
|
||||
$hit->id = $rec[$this->_rawid];
|
||||
$hits[] = $hit;
|
||||
}
|
||||
}
|
||||
|
|
@ -204,13 +234,13 @@ class SeedDMS_SQLiteFTS_Indexer {
|
|||
if(!$this->_conn)
|
||||
return false;
|
||||
|
||||
$sql = "SELECT docid, documentid, title, comment, owner, keywords, category, mimetype, origfilename, created, users, status, path FROM docs WHERE docid=".$id;
|
||||
$sql = "SELECT ".$this->_rawid.", documentid, title, comment, owner, keywords, category, mimetype, origfilename, created, users, status, path FROM docs WHERE documentid='D".$id."'";
|
||||
$res = $this->_conn->query($sql);
|
||||
$doc = false;
|
||||
if($res) {
|
||||
$rec = $res->fetch(PDO::FETCH_ASSOC);
|
||||
$doc = new SeedDMS_SQLiteFTS_Document();
|
||||
$doc->addField('docid', $rec['docid']);
|
||||
$doc->addField('docid', $rec[$this->_rawid]);
|
||||
$doc->addField('document_id', $rec['documentid']);
|
||||
$doc->addField('title', $rec['title']);
|
||||
$doc->addField('comment', $rec['comment']);
|
||||
|
|
@ -237,13 +267,13 @@ class SeedDMS_SQLiteFTS_Indexer {
|
|||
if(!$this->_conn)
|
||||
return false;
|
||||
|
||||
$sql = "SELECT docid, documentid, title, comment, owner, keywords, category, mimetype, origfilename, created, users, status, path FROM docs WHERE documentid='F".$id."'";
|
||||
$sql = "SELECT ".$this->_rawid.", documentid, title, comment, owner, keywords, category, mimetype, origfilename, created, users, status, path FROM docs WHERE documentid='F".$id."'";
|
||||
$res = $this->_conn->query($sql);
|
||||
$doc = false;
|
||||
if($res) {
|
||||
$rec = $res->fetch(PDO::FETCH_ASSOC);
|
||||
$doc = new SeedDMS_SQLiteFTS_Document();
|
||||
$doc->addField('docid', $rec['docid']);
|
||||
$doc->addField('docid', $rec[$this->_rawid]);
|
||||
$doc->addField('document_id', $rec['documentid']);
|
||||
$doc->addField('title', $rec['title']);
|
||||
$doc->addField('comment', $rec['comment']);
|
||||
|
|
@ -264,7 +294,10 @@ class SeedDMS_SQLiteFTS_Indexer {
|
|||
if(!$this->_conn)
|
||||
return false;
|
||||
|
||||
$sql = "SELECT term, col, occurrences FROM docs_terms WHERE col!='*' ORDER BY col";
|
||||
if($this->_ftstype == 'fts5')
|
||||
$sql = "SELECT term, col, doc as occurrences FROM docs_terms WHERE col!='*' ORDER BY col";
|
||||
else
|
||||
$sql = "SELECT term, col, occurrences FROM docs_terms WHERE col!='*' ORDER BY col";
|
||||
$res = $this->_conn->query($sql);
|
||||
$terms = array();
|
||||
if($res) {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,11 @@ class SeedDMS_SQLiteFTS_Term {
|
|||
11 => 'status',
|
||||
12 => 'path'
|
||||
);
|
||||
$this->field = $fields[$col];
|
||||
/* fts5 pass the column name in $col, fts4 uses an integer */
|
||||
if(is_int($col))
|
||||
$this->field = $fields[$col];
|
||||
else
|
||||
$this->field = $col; //$fields[$col];
|
||||
$this->_occurrence = $occurrence;
|
||||
} /* }}} */
|
||||
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@
|
|||
<email>uwe@steinmann.cx</email>
|
||||
<active>yes</active>
|
||||
</lead>
|
||||
<date>2020-12-12</date>
|
||||
<date>2021-04-19</date>
|
||||
<time>08:57:44</time>
|
||||
<version>
|
||||
<release>1.0.15</release>
|
||||
<api>1.0.15</api>
|
||||
<release>1.0.16</release>
|
||||
<api>1.0.16</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
- add indexing folders
|
||||
- add support for fts5 (make it the default)
|
||||
</notes>
|
||||
<contents>
|
||||
<dir baseinstalldir="SeedDMS" name="/">
|
||||
|
|
@ -312,5 +312,21 @@ add user to list of terms
|
|||
and SeedDMS_Lucene_Indexer::open()
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2020-12-12</date>
|
||||
<time>08:57:44</time>
|
||||
<version>
|
||||
<release>1.0.15</release>
|
||||
<api>1.0.15</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
<api>stable</api>
|
||||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
- add indexing folders
|
||||
</notes>
|
||||
</release>
|
||||
</changelog>
|
||||
</package>
|
||||
|
|
|
|||
|
|
@ -183,10 +183,13 @@ class SeedDMS_ExtExample_Task extends SeedDMS_SchedulerTaskBase {
|
|||
* Run the task
|
||||
*
|
||||
* @param $task task to be executed
|
||||
* @param $dms dms
|
||||
* @return boolean true if task was executed succesfully, otherwise false
|
||||
*/
|
||||
public function execute($task, $dms, $user) {
|
||||
public function execute($task) {
|
||||
$dms = $this->dms;
|
||||
$user = $this->user;
|
||||
$settings = $this->settings;
|
||||
$logger = $this->logger;
|
||||
$taskparams = $task->getParameter();
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -139,6 +139,46 @@ class SeedDMS_Controller_Common {
|
|||
$this->errormsg = $msg;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Return a list of hook classes for the current class
|
||||
*
|
||||
* Hooks are associated to a controller class. Calling a hook with
|
||||
* SeedDMS_View_Common::callHook() will run through a list of
|
||||
* controller classes searching for the hook. This method returns this
|
||||
* list.
|
||||
*
|
||||
* If a controller is implemented in SeedDMS_View_Example which inherits
|
||||
* from SeedDMS_Theme_Style which again inherits from SeedDMS_View_Common,
|
||||
* then this method will return an array with the elments:
|
||||
* 'Example', 'Style', 'Common'. If SeedDMS_View_Example also sets
|
||||
* the class property 'controllerAliasName', then this value will be added
|
||||
* to the beginning of the list.
|
||||
*
|
||||
* When a hook is called, it will run through this list and checks
|
||||
* if $GLOBALS['SEEDDMS_HOOKS']['controller'][<element>] exists and contains
|
||||
* an instanciated class. This class must implement the hook.
|
||||
*
|
||||
* @return array list of controller class names.
|
||||
*/
|
||||
protected function getHookClassNames() { /* {{{ */
|
||||
$tmps = array();
|
||||
/* the controllerAliasName can be set in the controller to specify a different name
|
||||
* than extracted from the class name.
|
||||
*/
|
||||
if(property_exists($this, 'controllerAliasName') && !empty($this->controllerAliasName)) {
|
||||
$tmps[] = $this->controllerAliasName;
|
||||
}
|
||||
$tmp = explode('_', get_class($this));
|
||||
$tmps[] = $tmp[2];
|
||||
foreach(class_parents($this) as $pc) {
|
||||
$tmp = explode('_', $pc);
|
||||
$tmps[] = $tmp[2];
|
||||
}
|
||||
/* Run array_unique() in case the parent class has the same suffix */
|
||||
$tmps = array_unique($tmps);
|
||||
return $tmps;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Call all hooks registered for a controller
|
||||
*
|
||||
|
|
@ -190,17 +230,7 @@ class SeedDMS_Controller_Common {
|
|||
* null if no hook was called
|
||||
*/
|
||||
function callHook($hook) { /* {{{ */
|
||||
$tmps = array();
|
||||
$tmp = explode('_', get_class($this));
|
||||
$tmps[] = $tmp[2];
|
||||
foreach(class_parents($this) as $pc) {
|
||||
$tmp = explode('_', $pc);
|
||||
$tmps[] = $tmp[2];
|
||||
}
|
||||
// $tmp = explode('_', get_parent_class($this));
|
||||
// $tmps[] = $tmp[2];
|
||||
/* Run array_unique() in case the parent class has the same suffix */
|
||||
$tmps = array_unique($tmps);
|
||||
$tmps = $this->getHookClassNames();
|
||||
foreach($tmps as $tmp)
|
||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['controller'][lcfirst($tmp)])) {
|
||||
$this->lasthookresult = null;
|
||||
|
|
@ -242,7 +272,7 @@ class SeedDMS_Controller_Common {
|
|||
* null if no hook was called
|
||||
*/
|
||||
function hasHook($hook) { /* {{{ */
|
||||
$tmp = explode('_', get_class($this));
|
||||
$tmps = $this->getHookClassNames();
|
||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['controller'][lcfirst($tmp[2])])) {
|
||||
foreach($GLOBALS['SEEDDMS_HOOKS']['controller'][lcfirst($tmp[2])] as $hookObj) {
|
||||
if (method_exists($hookObj, $hook)) {
|
||||
|
|
|
|||
|
|
@ -95,6 +95,12 @@ class UI extends UI_Default {
|
|||
if(file_exists($filename)) {
|
||||
$httpbasedir = 'ext/'.$extname.'/';
|
||||
break;
|
||||
} else {
|
||||
$filename = $settings->_rootDir.'ext/'.$extname.'/views/bootstrap/class.'.$class.".php";
|
||||
if(file_exists($filename)) {
|
||||
$httpbasedir = 'ext/'.$extname.'/';
|
||||
break;
|
||||
}
|
||||
}
|
||||
$filename = '';
|
||||
}
|
||||
|
|
@ -102,15 +108,21 @@ class UI extends UI_Default {
|
|||
}
|
||||
if(!$filename)
|
||||
$filename = $settings->_rootDir."views/".$theme."/class.".$class.".php";
|
||||
/* Fall back onto the view class in bootstrap theme */
|
||||
if(!file_exists($filename))
|
||||
$filename = $settings->_rootDir."views/bootstrap/class.".$class.".php";
|
||||
if(!file_exists($filename))
|
||||
$filename = '';
|
||||
if($filename) {
|
||||
require($filename);
|
||||
/* Always include the base class which defines class SeedDMS_Theme_Style */
|
||||
require_once($settings->_rootDir."views/".$theme."/class.".ucfirst($theme).".php");
|
||||
require_once($filename);
|
||||
$view = new $classname($params, $theme);
|
||||
/* Set some configuration parameters */
|
||||
$view->setParam('accessobject', new SeedDMS_AccessOperation($dms, $user, $settings));
|
||||
$view->setParam('refferer', $_SERVER['REQUEST_URI']);
|
||||
$view->setParam('absbaseprefix', $settings->_httpRoot.$httpbasedir);
|
||||
$view->setParam('theme', $theme);
|
||||
$view->setParam('class', $class);
|
||||
$view->setParam('session', $session);
|
||||
$view->setParam('settings', $settings);
|
||||
|
|
@ -171,10 +183,12 @@ class UI extends UI_Default {
|
|||
} /* }}} */
|
||||
|
||||
static function exitError($pagetitle, $error, $noexit=false, $plain=false) {
|
||||
global $theme, $dms, $user;
|
||||
global $theme, $dms, $user, $settings;
|
||||
$accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings);
|
||||
$view = UI::factory($theme, 'ErrorDlg');
|
||||
$view->setParam('dms', $dms);
|
||||
$view->setParam('user', $user);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->setParam('pagetitle', $pagetitle);
|
||||
$view->setParam('errormsg', $error);
|
||||
$view->setParam('plain', $plain);
|
||||
|
|
|
|||
|
|
@ -95,6 +95,46 @@ class SeedDMS_View_Common {
|
|||
public function show() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a list of hook classes for the current class
|
||||
*
|
||||
* Hooks are associated to a view class. Calling a hook with
|
||||
* SeedDMS_View_Common::callHook() will run through a list of
|
||||
* view classes searching for the hook. This method returns this
|
||||
* list.
|
||||
*
|
||||
* If a view is implemented in SeedDMS_View_Example which inherits
|
||||
* from SeedDMS_Theme_Style which again inherits from SeedDMS_View_Common,
|
||||
* then this method will return an array with the elments:
|
||||
* 'Example', 'Style', 'Common'. If SeedDMS_View_Example also sets
|
||||
* the class property 'viewAliasName', then this value will be added
|
||||
* to the beginning of the list.
|
||||
*
|
||||
* When a hook is called, it will run through this list and checks
|
||||
* if $GLOBALS['SEEDDMS_HOOKS']['view'][<element>] exists and contains
|
||||
* an instanciated class. This class must implement the hook.
|
||||
*
|
||||
* @return array list of view class names.
|
||||
*/
|
||||
protected function getHookClassNames() { /* {{{ */
|
||||
$tmps = array();
|
||||
/* the viewAliasName can be set in the view to specify a different name
|
||||
* than extracted from the class name.
|
||||
*/
|
||||
if(property_exists($this, 'viewAliasName') && !empty($this->viewAliasName)) {
|
||||
$tmps[] = $this->viewAliasName;
|
||||
}
|
||||
$tmp = explode('_', get_class($this));
|
||||
$tmps[] = $tmp[2];
|
||||
foreach(class_parents($this) as $pc) {
|
||||
$tmp = explode('_', $pc);
|
||||
$tmps[] = $tmp[2];
|
||||
}
|
||||
/* Run array_unique() in case the parent class has the same suffix */
|
||||
$tmps = array_unique($tmps);
|
||||
return $tmps;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Call a hook with a given name
|
||||
*
|
||||
|
|
@ -113,15 +153,7 @@ class SeedDMS_View_Common {
|
|||
* function returns
|
||||
*/
|
||||
public function callHook($hook) { /* {{{ */
|
||||
$tmps = array();
|
||||
$tmp = explode('_', get_class($this));
|
||||
$tmps[] = $tmp[2];
|
||||
foreach(class_parents($this) as $pc) {
|
||||
$tmp = explode('_', $pc);
|
||||
$tmps[] = $tmp[2];
|
||||
}
|
||||
/* Run array_unique() in case the parent class has the same suffix */
|
||||
$tmps = array_unique($tmps);
|
||||
$tmps = $this->getHookClassNames();
|
||||
$ret = null;
|
||||
foreach($tmps as $tmp)
|
||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['view'][lcfirst($tmp)])) {
|
||||
|
|
@ -174,6 +206,9 @@ class SeedDMS_View_Common {
|
|||
* ?>
|
||||
* </code>
|
||||
*
|
||||
* The method does not return hooks for parent classes nor does it
|
||||
* evaluate the viewAliasName property.
|
||||
*
|
||||
* @params string $classname name of class (current class if left empty)
|
||||
* @return array list of hook objects registered for the class
|
||||
*/
|
||||
|
|
@ -197,14 +232,7 @@ class SeedDMS_View_Common {
|
|||
* null if no hook was called
|
||||
*/
|
||||
public function hasHook($hook) { /* {{{ */
|
||||
$tmps = array();
|
||||
$tmp = explode('_', get_class($this));
|
||||
$tmps[] = $tmp[2];
|
||||
$tmp = explode('_', get_parent_class($this));
|
||||
$tmps[] = $tmp[2];
|
||||
/* Run array_unique() in case the parent class has the same suffix */
|
||||
$tmps = array_unique($tmps);
|
||||
$ret = null;
|
||||
$tmps = $this->getHookClassNames();
|
||||
foreach($tmps as $tmp) {
|
||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['view'][lcfirst($tmp)])) {
|
||||
foreach($GLOBALS['SEEDDMS_HOOKS']['view'][lcfirst($tmp)] as $hookObj) {
|
||||
|
|
|
|||
48
inc/inc.FulltextInit.php
Normal file
48
inc/inc.FulltextInit.php
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<?php
|
||||
|
||||
$fulltextservice = null;
|
||||
if($settings->_enableFullSearch) {
|
||||
require_once("inc.ClassFulltextService.php");
|
||||
$fulltextservice = new SeedDMS_FulltextService();
|
||||
|
||||
if($settings->_fullSearchEngine == 'sqlitefts') {
|
||||
$indexconf = array(
|
||||
'Indexer' => 'SeedDMS_SQLiteFTS_Indexer',
|
||||
'Search' => 'SeedDMS_SQLiteFTS_Search',
|
||||
'IndexedDocument' => 'SeedDMS_SQLiteFTS_IndexedDocument',
|
||||
'Conf' => array('indexdir' => $settings->_luceneDir)
|
||||
);
|
||||
$fulltextservice->addService('sqlitefts', $indexconf);
|
||||
|
||||
require_once('SeedDMS/SQLiteFTS.php');
|
||||
} elseif($settings->_fullSearchEngine == 'lucene') {
|
||||
$indexconf = array(
|
||||
'Indexer' => 'SeedDMS_Lucene_Indexer',
|
||||
'Search' => 'SeedDMS_Lucene_Search',
|
||||
'IndexedDocument' => 'SeedDMS_Lucene_IndexedDocument',
|
||||
'Conf' => array('indexdir' => $settings->_luceneDir)
|
||||
);
|
||||
$fulltextservice->addService('lucene', $indexconf);
|
||||
|
||||
if(!empty($settings->_luceneClassDir))
|
||||
require_once($settings->_luceneClassDir.'/Lucene.php');
|
||||
else
|
||||
require_once('SeedDMS/Lucene.php');
|
||||
} else {
|
||||
$indexconf = null;
|
||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['initFulltext'])) {
|
||||
foreach($GLOBALS['SEEDDMS_HOOKS']['initFulltext'] as $hookObj) {
|
||||
if (method_exists($hookObj, 'initFulltextService')) {
|
||||
$indexconf = $hookObj->initFulltextService(array('engine'=>$settings->_fullSearchEngine, 'dms'=>$dms, 'settings'=>$settings));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($indexconf) {
|
||||
$fulltextservice->addService($settings->_fullSearchEngine, $indexconf);
|
||||
}
|
||||
}
|
||||
$fulltextservice->setConverters(isset($settings->_converters['fulltext']) ? $settings->_converters['fulltext'] : null);
|
||||
$fulltextservice->setMaxSize($settings->_maxSizeForFullText);
|
||||
$fulltextservice->setCmdTimeout($settings->_cmdTimeout);
|
||||
}
|
||||
|
||||
|
|
@ -193,11 +193,13 @@ class SeedDMS_IndexingDocumentsTask extends SeedDMS_SchedulerTaskBase { /* {{{ *
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$folderprocess = new SeedDMS_Task_Indexer_Process_Folder($fulltextservice, $recreate);
|
||||
$tree = new SeedDMS_FolderTree($folder, array($folderprocess, 'process'));
|
||||
call_user_func(array($folderprocess, 'process'), $folder);
|
||||
$folderprocess = new SeedDMS_Task_Indexer_Process_Folder($fulltextservice, $recreate);
|
||||
$tree = new SeedDMS_FolderTree($folder, array($folderprocess, 'process'));
|
||||
call_user_func(array($folderprocess, 'process'), $folder);
|
||||
} else {
|
||||
$logger->log('Task \'indexingdocs\': fulltext search is turned off', PEAR_LOG_WARNING);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -478,10 +478,10 @@ function showtree() { /* {{{ */
|
|||
function createFormKey($formid='') { /* {{{ */
|
||||
global $settings, $session;
|
||||
|
||||
if($id = $session->getId()) {
|
||||
if($session && $id = $session->getId()) {
|
||||
return md5($id.$settings->_encryptionKey.$formid);
|
||||
} else {
|
||||
return false;
|
||||
return md5($settings->_encryptionKey.$formid);
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
|
|
@ -808,6 +808,44 @@ function createNonce() { /* {{{ */
|
|||
return base64_encode($bytes);
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Compare function for sorting users by login
|
||||
*
|
||||
* Use this for usort()
|
||||
*
|
||||
* <code>
|
||||
* $users = $dms->getAllUsers();
|
||||
* usort($users, 'cmp_user_login');
|
||||
* </code>
|
||||
*/
|
||||
function cmp_user_login($a, $b) { /* {{{ */
|
||||
$as = strtolower($a->getLogin());
|
||||
$bs = strtolower($b->getLogin());
|
||||
if ($as == $bs) {
|
||||
return 0;
|
||||
}
|
||||
return ($as < $bs) ? -1 : 1;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Compare function for sorting users by name
|
||||
*
|
||||
* Use this for usort()
|
||||
*
|
||||
* <code>
|
||||
* $users = $dms->getAllUsers();
|
||||
* usort($users, 'cmp_user_fullname');
|
||||
* </code>
|
||||
*/
|
||||
function cmp_user_fullname($a, $b) { /* {{{ */
|
||||
$as = strtolower($a->getFullName());
|
||||
$bs = strtolower($b->getFullName());
|
||||
if ($as == $bs) {
|
||||
return 0;
|
||||
}
|
||||
return ($as < $bs) ? -1 : 1;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Returns the mandatory reviewers
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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 (2267)
|
||||
// Translators: Admin (2270)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => 'توثيق ذو عاملين',
|
||||
|
|
@ -272,6 +272,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'اختر مسار عمل',
|
||||
'choose_workflow_action' => 'اختر اجراء مسار عمل',
|
||||
'choose_workflow_state' => 'اختر حالة مسار عمل',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'اسم الصف',
|
||||
'clear_cache' => 'مسح المحفوظات',
|
||||
'clear_clipboard' => 'مسح الحافظة',
|
||||
|
|
@ -324,7 +325,7 @@ URL: [url]',
|
|||
'daily' => 'يومي',
|
||||
'databasesearch' => 'بحث قاعدة البيانات',
|
||||
'database_schema_version' => '',
|
||||
'data_loading' => '',
|
||||
'data_loading' => 'ﺎﻟﺮﺟﺍﺀ ﺍﻼﻨﺘﻇﺍﺭ, ﺖﺤﻤﻴﻟ ﺎﻠﻤﻌﻟﻮﻣﺎﺗ...',
|
||||
'date' => 'تاريخ',
|
||||
'days' => 'أيام',
|
||||
'debug' => 'debug',
|
||||
|
|
@ -639,6 +640,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'توقف البحث الكامل للنص',
|
||||
'fulltext_converters' => 'فهرس تحويل المستند',
|
||||
'fulltext_info' => 'معلومات فهرس النص الكامل',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'معرف تعريف المجموعات',
|
||||
'global_attributedefinitions' => 'سمات',
|
||||
'global_default_keywords' => 'كلمات بحثية عامة',
|
||||
|
|
@ -814,7 +816,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'فحص الأخطاء مفقود',
|
||||
'missing_file' => 'الملف غير موجود',
|
||||
'missing_filesize' => 'حجم الملف مفقود',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'الإستقبال غير موجود',
|
||||
'missing_request_object' => 'طلب شيء غير موجود',
|
||||
'missing_transition_user_group' => 'مستخدم/مجموعة مفقودة للتحول',
|
||||
|
|
@ -831,6 +835,11 @@ URL: [url]',
|
|||
'my_documents' => 'مستنداتي',
|
||||
'my_transmittals' => 'الإحالات الخاصة بي',
|
||||
'name' => 'اسم',
|
||||
'nav_brand_admin_tools' => 'أدوات-الإدارة',
|
||||
'nav_brand_my_account' => 'حسابي',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'ﺎﻠﻧﺭﻮﻴﺟ',
|
||||
'needs_correction' => 'يحتاج الى تصحيح',
|
||||
'needs_workflow_action' => 'هذا المستند يتطلب انتباهك . من فضلك تفقد زر مسار العمل',
|
||||
|
|
@ -1723,6 +1732,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => 'مسودة مرفوضة',
|
||||
'status_approved' => 'تمت الموافقة',
|
||||
'status_approver_removed' => 'تم ازالة موافق من العملية',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => 'الوضع يحتاج إلى تصحيح',
|
||||
'status_not_approved' => 'لم تتم الموافقة بعد',
|
||||
'status_not_receipted' => 'الوضع غير مستلم',
|
||||
|
|
@ -1780,6 +1790,7 @@ URL: [url]',
|
|||
'task_description' => 'تفصيل المهام',
|
||||
'task_disabled' => 'تم توقيف المهمة',
|
||||
'task_frequency' => 'تردد المهمة',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'مهمة المدى الماضي',
|
||||
'task_name' => 'اسم المهمة',
|
||||
'task_next_run' => 'مدى المهمة القادمة',
|
||||
|
|
|
|||
|
|
@ -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 (870)
|
||||
// Translators: Admin (872)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => '',
|
||||
|
|
@ -255,6 +255,7 @@ $text = array(
|
|||
'choose_workflow' => 'Изберете workflow',
|
||||
'choose_workflow_action' => 'Изберете workflow действие',
|
||||
'choose_workflow_state' => 'Изберете състояние на workflow',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '',
|
||||
'clear_cache' => 'Изчистване на кеша',
|
||||
'clear_clipboard' => '',
|
||||
|
|
@ -568,6 +569,7 @@ $text = array(
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => 'Index document conversion',
|
||||
'fulltext_info' => 'Информация за пълнотекстов индексе',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => 'атрибути',
|
||||
'global_default_keywords' => 'Глобални ключови думи',
|
||||
|
|
@ -743,7 +745,9 @@ $text = array(
|
|||
'missing_checksum' => 'липсва контролна сума',
|
||||
'missing_file' => '',
|
||||
'missing_filesize' => 'липсва размер на файла',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => 'липсва потребител или група за преход',
|
||||
|
|
@ -760,6 +764,11 @@ $text = array(
|
|||
'my_documents' => 'Моите документи',
|
||||
'my_transmittals' => 'Моите предавания',
|
||||
'name' => 'Име',
|
||||
'nav_brand_admin_tools' => 'Администрация',
|
||||
'nav_brand_my_account' => 'Моя акаунт',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Норвежки',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => '',
|
||||
|
|
@ -1586,6 +1595,7 @@ $text = array(
|
|||
'status_approval_rejected' => 'Чернова отказана',
|
||||
'status_approved' => 'Утвърден',
|
||||
'status_approver_removed' => 'Утвърждаващия премахнат от процеса',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Не утвърден',
|
||||
'status_not_receipted' => '',
|
||||
|
|
@ -1643,6 +1653,7 @@ $text = array(
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -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 (770)
|
||||
// Translators: Admin (772)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => '',
|
||||
|
|
@ -260,6 +260,7 @@ URL: [url]',
|
|||
'choose_workflow' => '',
|
||||
'choose_workflow_action' => '',
|
||||
'choose_workflow_state' => '',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '',
|
||||
'clear_cache' => 'Neteja memòria cau',
|
||||
'clear_clipboard' => '',
|
||||
|
|
@ -573,6 +574,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => '',
|
||||
'fulltext_info' => 'Informació de full-text',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => 'Atributs',
|
||||
'global_default_keywords' => 'Mots clau globals',
|
||||
|
|
@ -748,7 +750,9 @@ URL: [url]',
|
|||
'missing_checksum' => '',
|
||||
'missing_file' => '',
|
||||
'missing_filesize' => '',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => '',
|
||||
|
|
@ -765,6 +769,11 @@ URL: [url]',
|
|||
'my_documents' => 'Els meus documents',
|
||||
'my_transmittals' => 'Documents enviats per mi',
|
||||
'name' => 'Nom',
|
||||
'nav_brand_admin_tools' => 'Eines d\'administració',
|
||||
'nav_brand_my_account' => 'El meu compte',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Noruec',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => '',
|
||||
|
|
@ -1591,6 +1600,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => 'Esborrany rebutjat',
|
||||
'status_approved' => 'Aprovat',
|
||||
'status_approver_removed' => 'Aprovador eliminat del procés',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Sense aprovar',
|
||||
'status_not_receipted' => '',
|
||||
|
|
@ -1648,6 +1658,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -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 (1540), kreml (579)
|
||||
// Translators: Admin (1545), kreml (579)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => 'dvoufaktorové ověření',
|
||||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Vyberte workflow',
|
||||
'choose_workflow_action' => 'Vyberte akci workflow',
|
||||
'choose_workflow_state' => 'Vyberte stav workflow',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Název třídy',
|
||||
'clear_cache' => 'Vymazat vyrovnávací paměť',
|
||||
'clear_clipboard' => 'Vyčistit schránku',
|
||||
|
|
@ -670,6 +671,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'fulltextové vyhledávání zakázáno',
|
||||
'fulltext_converters' => 'Index konverze dokumentu',
|
||||
'fulltext_info' => 'Fulltext index info',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Skupiny atributů',
|
||||
'global_attributedefinitions' => 'Atributy',
|
||||
'global_default_keywords' => 'Globální klíčová slova',
|
||||
|
|
@ -845,7 +847,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Chybějící kontrolní součet',
|
||||
'missing_file' => 'Chybějící soubor',
|
||||
'missing_filesize' => 'Chybějící velikost souboru',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'Chybějící recepce',
|
||||
'missing_request_object' => 'Chybějící požadovaný objekt',
|
||||
'missing_transition_user_group' => 'Chybějící uživatel / skupina pro transformaci',
|
||||
|
|
@ -862,6 +866,11 @@ URL: [url]',
|
|||
'my_documents' => 'Moje dokumenty',
|
||||
'my_transmittals' => 'Moje přenosy',
|
||||
'name' => 'Název',
|
||||
'nav_brand_admin_tools' => 'Nástroje správce',
|
||||
'nav_brand_my_account' => 'Můj účet',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norština Bokmal',
|
||||
'needs_correction' => 'Vyžaduje opravu',
|
||||
'needs_workflow_action' => 'Tento dokument vyžaduje vaši pozornost. Zkontrolujte prosím kartu workflow.',
|
||||
|
|
@ -925,7 +934,7 @@ URL: [url]',
|
|||
'no_approval_needed' => 'Nic nečeká na schválení.',
|
||||
'no_attached_files' => 'Žádné přiložené soubory',
|
||||
'no_attribute_definitions' => '',
|
||||
'no_backup_dir' => '',
|
||||
'no_backup_dir' => 'Složka pro zálohování není určena',
|
||||
'no_current_version' => 'Používáte starou verzi SeedDMS. Nejnovější dostupná verze je [latestversion].',
|
||||
'no_default_keywords' => 'Nejsou dostupná žádná klíčová slova.',
|
||||
'no_docs_checked_out' => 'Nebyly odbaveny žádné dokumenty',
|
||||
|
|
@ -1149,7 +1158,7 @@ URL: [url]',
|
|||
'review_update_failed' => 'Chyba při aktualizaci stavu recenze. Aktualizace selhala.',
|
||||
'revise_document' => 'Revize dokumentu',
|
||||
'revise_document_on' => 'Další revize verze dokumentu v [date]',
|
||||
'revision' => '',
|
||||
'revision' => 'Revize',
|
||||
'revisions_accepted' => '[no_revisions] již přijato',
|
||||
'revisions_accepted_latest' => '',
|
||||
'revisions_not_touched' => '[no_revisions] revizí nebylo dotčeno',
|
||||
|
|
@ -1795,6 +1804,7 @@ Jméno: [username]
|
|||
'status_approval_rejected' => 'Návrh zamítnut',
|
||||
'status_approved' => 'Schválen',
|
||||
'status_approver_removed' => 'Schvalovatel odstraněn z procesu',
|
||||
'status_change' => 'změna stavu',
|
||||
'status_needs_correction' => 'Vyžaduje korekturu',
|
||||
'status_not_approved' => 'Neschválený',
|
||||
'status_not_receipted' => 'Dosud nebyl přijat',
|
||||
|
|
@ -1852,6 +1862,7 @@ Jméno: [username]
|
|||
'task_description' => 'Popis',
|
||||
'task_disabled' => 'Vypnuto',
|
||||
'task_frequency' => 'Frekvence',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'Poslední spuštění',
|
||||
'task_name' => 'Název',
|
||||
'task_next_run' => 'Příští spuštění',
|
||||
|
|
|
|||
|
|
@ -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 (2867), dgrutsch (22)
|
||||
// Translators: Admin (2881), dgrutsch (22)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => '2-Faktor Authentifizierung',
|
||||
|
|
@ -62,7 +62,7 @@ URL: [url]',
|
|||
'add' => 'Anlegen',
|
||||
'add_approval' => 'Freigabe hinzufügen',
|
||||
'add_attrdefgroup' => 'Neue Attributgruppe anlegen',
|
||||
'add_document' => 'Dokument anlegen',
|
||||
'add_document' => 'Neues Dokument',
|
||||
'add_document_link' => 'Verknüpfung hinzufügen',
|
||||
'add_document_notify' => 'Beobachter zuweisen',
|
||||
'add_doc_reviewer_approver_warning' => 'Anmerkung: Dokumente werden automatisch geprüft und als freigegeben markiert, wenn kein Prüfer oder keine Freigabe zugewiesen wird.',
|
||||
|
|
@ -76,7 +76,7 @@ URL: [url]',
|
|||
'add_review' => 'Prüfung hinzufügen',
|
||||
'add_revision' => 'Wiederholungsprüfung hinzufügen',
|
||||
'add_role' => 'Neue Rolle anlegen',
|
||||
'add_subfolder' => 'Unterordner anlegen',
|
||||
'add_subfolder' => 'Neuer Ordner',
|
||||
'add_task' => 'Neue Task für diese Klasse hinzufügen',
|
||||
'add_to_clipboard' => 'Zur Zwischenablage hinzufügen',
|
||||
'add_to_transmittal' => 'Zur Dokumentenliste hinzufügen',
|
||||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Workflow wählen',
|
||||
'choose_workflow_action' => 'Workflow-Aktion wählen',
|
||||
'choose_workflow_state' => 'Workflow-Status wählen',
|
||||
'class_finfo_missing' => 'Die Klasse finfo wird zur Ermittlung des MimeTypes beim Hochladen neuer Dateien benötigt.',
|
||||
'class_name' => 'Klassenname',
|
||||
'clear_cache' => 'Cache löschen',
|
||||
'clear_clipboard' => 'Zwischenablage leeren',
|
||||
|
|
@ -323,7 +324,7 @@ URL: [url]',
|
|||
'continue' => 'fortführen',
|
||||
'converter_new_cmd' => 'Kommando',
|
||||
'converter_new_mimetype' => 'Neuer Mime-Type',
|
||||
'copied_to_checkout_as' => 'Datei am [date] in den Checkout-Space als \'[filename]\' kopiert.',
|
||||
'copied_to_checkout_as' => 'Datei am [date] von [username] in den Checkout-Space als \'[filename]\' kopiert.',
|
||||
'create_download_link' => '',
|
||||
'create_fulltext_index' => 'Erzeuge Volltext-Index',
|
||||
'create_fulltext_index_warning' => 'Sie möchten den Volltext-Index neu erzeugen. Dies kann beträchtlich Zeit in Anspruch nehmen und Gesamtleistung Ihres System beeinträchtigen. Bestätigen Sie bitte diese Operation.',
|
||||
|
|
@ -670,6 +671,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'Volltext-Index ist ausgeschaltet',
|
||||
'fulltext_converters' => 'Index Dokumentenumwandlung',
|
||||
'fulltext_info' => 'Volltext-Index Info',
|
||||
'func_proc_open_missing' => 'proc_open wird benötigt, um Dokumente im Volltext zu indizieren. Ohne diese Funktion werden lediglich die Metadaten indiziert.',
|
||||
'global_attributedefinitiongroups' => 'Attributgruppen',
|
||||
'global_attributedefinitions' => 'Attribute',
|
||||
'global_default_keywords' => 'Globale Stichwortlisten',
|
||||
|
|
@ -845,7 +847,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Fehlende Check-Summe',
|
||||
'missing_file' => 'Datei fehlt',
|
||||
'missing_filesize' => 'Fehlende Dateigröße',
|
||||
'missing_func_class_note' => 'Anmerkung',
|
||||
'missing_php_extensions' => 'Fehlende PHP-Erweiterungen',
|
||||
'missing_php_functions_and_classes' => 'Fehlende PHP-Funktionen und Klassen',
|
||||
'missing_reception' => 'Fehlende Empfangsbestätigung',
|
||||
'missing_request_object' => 'Fehlendes Zugriffsobjekte',
|
||||
'missing_transition_user_group' => 'Fehlende/r Benutzer/Gruppe für Transition',
|
||||
|
|
@ -862,6 +866,11 @@ URL: [url]',
|
|||
'my_documents' => 'Meine Dokumente',
|
||||
'my_transmittals' => 'Meine Dokumentenlisten',
|
||||
'name' => 'Name',
|
||||
'nav_brand_admin_tools' => 'Administration',
|
||||
'nav_brand_my_account' => 'Mein Profil',
|
||||
'nav_brand_my_documents' => 'Meine Dokumente',
|
||||
'nav_brand_view_document' => 'Dokument',
|
||||
'nav_brand_view_folder' => 'Ordner',
|
||||
'nb_NO' => 'Norwegisch',
|
||||
'needs_correction' => 'Korrektur erforderlich',
|
||||
'needs_workflow_action' => 'Dieses Dokument erfordert eine Aktion. Bitte schauen Sie auf den Workflow-Reiter.',
|
||||
|
|
@ -1806,6 +1815,7 @@ Name: [username]
|
|||
'status_approval_rejected' => 'Entwurf abgelehnt',
|
||||
'status_approved' => 'freigegeben',
|
||||
'status_approver_removed' => 'Freigebender wurde vom Prozess ausgeschlossen',
|
||||
'status_change' => 'Statusänderung',
|
||||
'status_needs_correction' => 'Korrektur erforderlich',
|
||||
'status_not_approved' => 'keine Freigabe',
|
||||
'status_not_receipted' => 'Empfang noch nicht bestätigt',
|
||||
|
|
@ -1863,6 +1873,7 @@ Name: [username]
|
|||
'task_description' => 'Beschreibung',
|
||||
'task_disabled' => 'Deaktiviert',
|
||||
'task_frequency' => 'Häufigkeit',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'Letzte Ausführung',
|
||||
'task_name' => 'Name',
|
||||
'task_next_run' => 'Nächste Ausführung',
|
||||
|
|
|
|||
|
|
@ -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 (359)
|
||||
// Translators: Admin (360)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => '',
|
||||
|
|
@ -255,6 +255,7 @@ $text = array(
|
|||
'choose_workflow' => '',
|
||||
'choose_workflow_action' => '',
|
||||
'choose_workflow_state' => '',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '',
|
||||
'clear_cache' => 'Εκκαθάριση στιγμιαίας μνήμης',
|
||||
'clear_clipboard' => '',
|
||||
|
|
@ -568,6 +569,7 @@ $text = array(
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => '',
|
||||
'fulltext_info' => 'Πληροφορίες Κειμένου',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => 'Ιδιότητες',
|
||||
'global_default_keywords' => 'Λέξεις Κλειδιά',
|
||||
|
|
@ -743,7 +745,9 @@ $text = array(
|
|||
'missing_checksum' => '',
|
||||
'missing_file' => '',
|
||||
'missing_filesize' => '',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => '',
|
||||
|
|
@ -760,6 +764,11 @@ $text = array(
|
|||
'my_documents' => 'Τα έγγραφα μου',
|
||||
'my_transmittals' => 'Οι Διαβιβάσεις μου',
|
||||
'name' => 'Όνομα',
|
||||
'nav_brand_admin_tools' => 'Εργαλεία',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Νορβηγικά',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => '',
|
||||
|
|
@ -1597,6 +1606,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => '',
|
||||
'status_approved' => '',
|
||||
'status_approver_removed' => '',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => '',
|
||||
'status_not_receipted' => '',
|
||||
|
|
@ -1654,6 +1664,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -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 (1976), archonwang (3), dgrutsch (9), netixw (14)
|
||||
// Translators: Admin (1990), archonwang (3), dgrutsch (9), netixw (14)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => '2-factor authentication',
|
||||
|
|
@ -87,7 +87,7 @@ URL: [url]',
|
|||
'add_workflow_action' => 'Add new workflow action',
|
||||
'add_workflow_state' => 'Add new workflow state',
|
||||
'admin' => 'Administrator',
|
||||
'admin_tools' => 'Admin-Tools',
|
||||
'admin_tools' => 'Admin tools',
|
||||
'all' => 'All',
|
||||
'all_categories' => 'All categories',
|
||||
'all_documents' => 'All Documents',
|
||||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Choose workflow',
|
||||
'choose_workflow_action' => 'Choose workflow action',
|
||||
'choose_workflow_state' => 'Choose workflow state',
|
||||
'class_finfo_missing' => 'The class finfo will be used when files are uploading for determine the mimetype.',
|
||||
'class_name' => 'Name of class',
|
||||
'clear_cache' => 'Clear cache',
|
||||
'clear_clipboard' => 'Clear clipboard',
|
||||
|
|
@ -323,7 +324,7 @@ URL: [url]',
|
|||
'continue' => 'Continue',
|
||||
'converter_new_cmd' => 'Command',
|
||||
'converter_new_mimetype' => 'New mimetype',
|
||||
'copied_to_checkout_as' => 'File copied to checkout space as \'[filename]\' on [date]',
|
||||
'copied_to_checkout_as' => 'File copied by [username] to checkout space as \'[filename]\' on [date]',
|
||||
'create_download_link' => '',
|
||||
'create_fulltext_index' => 'Create fulltext index',
|
||||
'create_fulltext_index_warning' => 'You are about to recreate the fulltext index. This can take a considerable amount of time and reduce your overall system performance. If you really want to recreate the index, please confirm your operation.',
|
||||
|
|
@ -670,6 +671,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'Fulltext index is disabled',
|
||||
'fulltext_converters' => 'Index document conversion',
|
||||
'fulltext_info' => 'Fulltext index info',
|
||||
'func_proc_open_missing' => 'proc_open is required for indexing the content of documents. Without this function only the metadata will be indexed.',
|
||||
'global_attributedefinitiongroups' => 'Attribute groups',
|
||||
'global_attributedefinitions' => 'Attributes',
|
||||
'global_default_keywords' => 'Global keywords',
|
||||
|
|
@ -845,7 +847,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Missing checksum',
|
||||
'missing_file' => 'Missing file',
|
||||
'missing_filesize' => 'Missing filesize',
|
||||
'missing_func_class_note' => 'Note',
|
||||
'missing_php_extensions' => 'Missing php extensions',
|
||||
'missing_php_functions_and_classes' => 'Missing php functions and classes',
|
||||
'missing_reception' => 'Missing reception',
|
||||
'missing_request_object' => 'Missing request object',
|
||||
'missing_transition_user_group' => 'Missing user/group for transition',
|
||||
|
|
@ -862,6 +866,11 @@ URL: [url]',
|
|||
'my_documents' => 'My Documents',
|
||||
'my_transmittals' => 'My Transmittals',
|
||||
'name' => 'Name',
|
||||
'nav_brand_admin_tools' => 'Admin tools',
|
||||
'nav_brand_my_account' => 'My Account',
|
||||
'nav_brand_my_documents' => 'My documents',
|
||||
'nav_brand_view_document' => 'Document',
|
||||
'nav_brand_view_folder' => 'Folder',
|
||||
'nb_NO' => 'Norwegian (Bokmål)',
|
||||
'needs_correction' => 'Needs correction',
|
||||
'needs_workflow_action' => 'This document requires your attention. Please check the workflow tab.',
|
||||
|
|
@ -1800,6 +1809,7 @@ Name: [username]
|
|||
'status_approval_rejected' => 'Draft rejected',
|
||||
'status_approved' => 'Approved',
|
||||
'status_approver_removed' => 'Approver removed from process',
|
||||
'status_change' => 'Status change',
|
||||
'status_needs_correction' => 'Needs correction',
|
||||
'status_not_approved' => 'Not approved',
|
||||
'status_not_receipted' => 'Not receipted yet',
|
||||
|
|
@ -1857,6 +1867,7 @@ Name: [username]
|
|||
'task_description' => 'Description',
|
||||
'task_disabled' => 'Disabled',
|
||||
'task_frequency' => 'Frequency',
|
||||
'task_frequency_placeholder' => 'm h d m dow',
|
||||
'task_last_run' => 'Last run',
|
||||
'task_name' => 'Name',
|
||||
'task_next_run' => 'Next run',
|
||||
|
|
|
|||
|
|
@ -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: acabello (20), Admin (1310), angel (123), francisco (2), jaimem (14)
|
||||
// Translators: acabello (20), Admin (1315), angel (123), francisco (2), jaimem (14)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => 'Autenticación de doble factor',
|
||||
|
|
@ -279,6 +279,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Seleccione flujo de trabajo',
|
||||
'choose_workflow_action' => 'Seleccione acción del flujo de trabajo',
|
||||
'choose_workflow_state' => 'Seleccione estado del flujo de trabajo',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '',
|
||||
'clear_cache' => 'Borrar cache',
|
||||
'clear_clipboard' => 'Limpiar portapapeles',
|
||||
|
|
@ -568,7 +569,7 @@ Carpeta principal: [folder_path]
|
|||
Usuario: [username]
|
||||
URL: [url]',
|
||||
'expiry_changed_email_subject' => '[sitename]: [name] - Fecha de caducidad modificada',
|
||||
'export' => '',
|
||||
'export' => 'Exportar',
|
||||
'export_user_list_csv' => '',
|
||||
'extension_archive' => '',
|
||||
'extension_changelog' => 'Log de Cambios',
|
||||
|
|
@ -646,6 +647,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => 'Conversión de índice de documentos',
|
||||
'fulltext_info' => 'Información de índice de texto completo',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => 'Definición de atributos',
|
||||
'global_default_keywords' => 'Palabras clave globales',
|
||||
|
|
@ -684,7 +686,7 @@ URL: [url]',
|
|||
'import_users' => 'Importar usuarios',
|
||||
'import_users_addnew' => 'Agregar nuevos usuarios',
|
||||
'import_users_update' => 'Actualizar usuarios existentes',
|
||||
'include_content' => '',
|
||||
'include_content' => 'Incluir contenido',
|
||||
'include_documents' => 'Incluir documentos',
|
||||
'include_subdirectories' => 'Incluir subcarpetas',
|
||||
'indexing_tasks_in_queue' => 'Tareas de indexación en cola',
|
||||
|
|
@ -821,7 +823,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Falta checksum',
|
||||
'missing_file' => '',
|
||||
'missing_filesize' => 'Falta tamaño fichero',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => 'Extensiones PHP ausentes',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => 'Falta usuario/grupo para transición',
|
||||
|
|
@ -838,6 +842,11 @@ URL: [url]',
|
|||
'my_documents' => 'Mis documentos',
|
||||
'my_transmittals' => 'Mi transmision',
|
||||
'name' => 'Nombre',
|
||||
'nav_brand_admin_tools' => 'Administración',
|
||||
'nav_brand_my_account' => 'Mi cuenta',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Noruego (Bokmål)',
|
||||
'needs_correction' => 'Necesita corrección',
|
||||
'needs_workflow_action' => 'Este documento requiere su atención. Por favor chequee la pestaña de flujo de trabajo.',
|
||||
|
|
@ -1102,7 +1111,7 @@ URL: [url]',
|
|||
'review_update_failed' => 'Error actualizando el estado de la revisión. La actualización ha fallado.',
|
||||
'revise_document' => 'Revisar documento',
|
||||
'revise_document_on' => '',
|
||||
'revision' => '',
|
||||
'revision' => 'Revisión',
|
||||
'revisions_accepted' => '',
|
||||
'revisions_accepted_latest' => '',
|
||||
'revisions_not_touched' => '',
|
||||
|
|
@ -1738,6 +1747,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => 'Borrador rechazado',
|
||||
'status_approved' => 'Aprobado',
|
||||
'status_approver_removed' => 'Aprobador eliminado del proceso',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Sin aprobar',
|
||||
'status_not_receipted' => 'Aún no asignado destinario',
|
||||
|
|
@ -1795,6 +1805,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -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 (1111), jeromerobert (50), lonnnew (9), Oudiceval (977)
|
||||
// Translators: Admin (1113), jeromerobert (50), lonnnew (9), Oudiceval (977)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => 'Authentification forte',
|
||||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Choisir un workflow',
|
||||
'choose_workflow_action' => 'Choisir une action de workflow',
|
||||
'choose_workflow_state' => 'Choisir un état de workflow',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Nom de classe',
|
||||
'clear_cache' => 'Vider le cache',
|
||||
'clear_clipboard' => 'Vider le presse-papier',
|
||||
|
|
@ -670,6 +671,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'La recherche plein texte est désactivée.',
|
||||
'fulltext_converters' => 'Conversion des documents pour indexation',
|
||||
'fulltext_info' => 'Information sur l\'index plein texte',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Groupes d’attributs',
|
||||
'global_attributedefinitions' => 'Définitions d\'attributs',
|
||||
'global_default_keywords' => 'Mots-clés globaux',
|
||||
|
|
@ -845,7 +847,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Checksum manquante',
|
||||
'missing_file' => 'Fichier manquant',
|
||||
'missing_filesize' => 'Taille de fichier manquante',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => 'Extensions PHP manquantes',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'Réception manquante',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => 'Utilisateur/groupe manquant pour transition',
|
||||
|
|
@ -862,6 +866,11 @@ URL: [url]',
|
|||
'my_documents' => 'Mes documents',
|
||||
'my_transmittals' => 'Mes transmissions',
|
||||
'name' => 'Nom',
|
||||
'nav_brand_admin_tools' => 'Outils d\'administration',
|
||||
'nav_brand_my_account' => 'Mon compte',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norvégien bokmål',
|
||||
'needs_correction' => 'Nécessite une correction',
|
||||
'needs_workflow_action' => 'Ce document requiert votre attention. Consultez l\'onglet workflow.',
|
||||
|
|
@ -1798,6 +1807,7 @@ Nom : [username]
|
|||
'status_approval_rejected' => 'Ébauche rejetée',
|
||||
'status_approved' => 'Approuvé',
|
||||
'status_approver_removed' => 'Approbateur retiré du processus',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => 'Nécessite une correction',
|
||||
'status_not_approved' => 'Non approuvé',
|
||||
'status_not_receipted' => 'Pas encore réceptionné',
|
||||
|
|
@ -1855,6 +1865,7 @@ Nom : [username]
|
|||
'task_description' => 'Description',
|
||||
'task_disabled' => 'Désactivée',
|
||||
'task_frequency' => 'Fréquence',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'Dernière exécution',
|
||||
'task_name' => 'Nom',
|
||||
'task_next_run' => 'Prochaine exécution',
|
||||
|
|
|
|||
|
|
@ -284,6 +284,7 @@ Internet poveznica: [url]',
|
|||
'choose_workflow' => 'Odaberite tok rada',
|
||||
'choose_workflow_action' => 'Odaberite radnju toka rada',
|
||||
'choose_workflow_state' => 'Odaberite status toka rada',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '',
|
||||
'clear_cache' => 'Obriši keš',
|
||||
'clear_clipboard' => 'Očistite međuspremnik',
|
||||
|
|
@ -651,6 +652,7 @@ Internet poveznica: [url]',
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => 'Pretvorba indeksa dokumenta',
|
||||
'fulltext_info' => 'Informacije cijelog teksta',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => 'Atributi',
|
||||
'global_default_keywords' => 'Globalne ključne riječi',
|
||||
|
|
@ -826,7 +828,9 @@ Internet poveznica: [url]',
|
|||
'missing_checksum' => 'Nedostaje kontrolna suma',
|
||||
'missing_file' => '',
|
||||
'missing_filesize' => 'Nedostaje veličina datoteke',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => 'Nedostaje korisnik/grupa za promjenu',
|
||||
|
|
@ -843,6 +847,11 @@ Internet poveznica: [url]',
|
|||
'my_documents' => 'Moji dokumenti',
|
||||
'my_transmittals' => 'Moja proslijeđivanja',
|
||||
'name' => 'Naziv',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norveški',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => 'Ovaj dokument zahtjeva vašu pažnju. Molimo provjerite karticu toka rada.',
|
||||
|
|
@ -1759,6 +1768,7 @@ Internet poveznica: [url]',
|
|||
'status_approval_rejected' => 'Skica odbijena',
|
||||
'status_approved' => 'Odobreno',
|
||||
'status_approver_removed' => 'Validator uklonjen iz postupka',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Nije odobreno',
|
||||
'status_not_receipted' => 'Još nije primljeno',
|
||||
|
|
@ -1816,6 +1826,7 @@ Internet poveznica: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -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 (646), Kalpy (113), ribaz (1036)
|
||||
// Translators: Admin (648), Kalpy (113), ribaz (1036)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => 'Kétfaktoros azonosítás',
|
||||
|
|
@ -279,6 +279,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Válasszon munkafolyamatot',
|
||||
'choose_workflow_action' => 'Válasszon munkafolyamat műveletet',
|
||||
'choose_workflow_state' => 'Válasszon munkafolyamat állapotot',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Osztály neve',
|
||||
'clear_cache' => 'Gyorsítótár törlése',
|
||||
'clear_clipboard' => 'Vágólap törlése',
|
||||
|
|
@ -331,7 +332,7 @@ URL: [url]',
|
|||
'daily' => 'Napi',
|
||||
'databasesearch' => 'Adatbázis keresés',
|
||||
'database_schema_version' => 'Adatbázis séma verziója',
|
||||
'data_loading' => '',
|
||||
'data_loading' => 'Kérjük várjon, adatok betöltése folyamatban',
|
||||
'date' => 'Dátum',
|
||||
'days' => 'nap',
|
||||
'debug' => 'Hibakeresés',
|
||||
|
|
@ -646,6 +647,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => 'Index dokumentum konverzió',
|
||||
'fulltext_info' => 'Teljes szöveg index információ',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => 'Jellemzők',
|
||||
'global_default_keywords' => 'Globális kulcsszavak',
|
||||
|
|
@ -821,7 +823,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Hiányzó ellenőrzőösszeg',
|
||||
'missing_file' => 'hiányzó állomány',
|
||||
'missing_filesize' => 'Hiányzó állomány méret',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => 'Hiányzó felhasználó/csoport az átvezetéshez',
|
||||
|
|
@ -836,8 +840,13 @@ URL: [url]',
|
|||
'move_folder' => 'Könyvtár áthelyezése',
|
||||
'my_account' => 'Saját hozzáférés',
|
||||
'my_documents' => 'Saját dokumentumok',
|
||||
'my_transmittals' => '',
|
||||
'my_transmittals' => 'Átviteleim',
|
||||
'name' => 'Név',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norvég',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => 'Ez a dokumentum az Ön beavatkozására vár. Ellenőrizze a munkafolyamat fület.',
|
||||
|
|
@ -1737,6 +1746,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => 'Piszkozat elutasítva',
|
||||
'status_approved' => 'Jóváhagyott',
|
||||
'status_approver_removed' => 'Jóváhagyó eltávolítva a folyamatból',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Nem jóváhagyott',
|
||||
'status_not_receipted' => '',
|
||||
|
|
@ -1794,6 +1804,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -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 (2054), rickr (144), s.pnt (26)
|
||||
// Translators: Admin (2055), rickr (144), s.pnt (26)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => 'Autorizzazione a due fattori',
|
||||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Seleziona il flusso di lavoro',
|
||||
'choose_workflow_action' => 'Seleziona l\'azione del flusso di lavoro',
|
||||
'choose_workflow_state' => 'Seleziona lo stato del flusso di lavoro',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Nome della classe',
|
||||
'clear_cache' => 'Pulisci cache',
|
||||
'clear_clipboard' => 'Cancella appunti',
|
||||
|
|
@ -656,6 +657,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'Ricerca Fulltext disabilitata',
|
||||
'fulltext_converters' => 'Indice di conversione documenti',
|
||||
'fulltext_info' => 'Info indice Fulltext',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Attributo gruppi',
|
||||
'global_attributedefinitions' => 'Definizione attributi',
|
||||
'global_default_keywords' => 'Parole-chiave globali',
|
||||
|
|
@ -831,7 +833,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Checksum mancante',
|
||||
'missing_file' => 'File mancante',
|
||||
'missing_filesize' => 'Dimensione mancante',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => 'Estensioni php mancanti',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'Ricezione mancante',
|
||||
'missing_request_object' => 'Manca oggetto di richiesta',
|
||||
'missing_transition_user_group' => 'Utente/Gruppo per la transizione mancanti',
|
||||
|
|
@ -848,6 +852,11 @@ URL: [url]',
|
|||
'my_documents' => 'Documenti personali',
|
||||
'my_transmittals' => 'Mie trasmissioni',
|
||||
'name' => 'Nome',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norvegiese (Bokmål)',
|
||||
'needs_correction' => 'Necessita correzioni',
|
||||
'needs_workflow_action' => 'Il documento richiede attenzione. Prego controllare il flusso di lavoro.',
|
||||
|
|
@ -1786,6 +1795,7 @@ Name: [username]
|
|||
'status_approval_rejected' => 'Bozza rifiutata',
|
||||
'status_approved' => 'Approvato',
|
||||
'status_approver_removed' => 'Approvatore rimosso dal processo',
|
||||
'status_change' => 'Cambio stato',
|
||||
'status_needs_correction' => 'Necessita correzioni',
|
||||
'status_not_approved' => 'Non ancora approvato',
|
||||
'status_not_receipted' => 'Non ancora ricevuto',
|
||||
|
|
@ -1843,6 +1853,7 @@ Name: [username]
|
|||
'task_description' => 'Descrizione',
|
||||
'task_disabled' => 'Disabilitata',
|
||||
'task_frequency' => 'Frequenza',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'Ultima esecuzione',
|
||||
'task_name' => 'Nome',
|
||||
'task_next_run' => 'Prossima esecuzione',
|
||||
|
|
|
|||
|
|
@ -286,6 +286,7 @@ URL: [url]',
|
|||
'choose_workflow' => '워크플로우 선택',
|
||||
'choose_workflow_action' => '워크플로우 작업 선택',
|
||||
'choose_workflow_state' => '워크플로우 상태 선택',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '',
|
||||
'clear_cache' => '캐시 비우기',
|
||||
'clear_clipboard' => '클립 보드 제거',
|
||||
|
|
@ -652,6 +653,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => '인덱스 문서 변환',
|
||||
'fulltext_info' => '전체 텍스트 색인 정보',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => '속성',
|
||||
'global_default_keywords' => '글로벌 키워드',
|
||||
|
|
@ -827,7 +829,9 @@ URL: [url]',
|
|||
'missing_checksum' => '검사 누락',
|
||||
'missing_file' => '누락 된 파일',
|
||||
'missing_filesize' => '누락 된 파일 크기',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => '변화에 대한 사용자 / 그룹을 누락',
|
||||
|
|
@ -844,6 +848,11 @@ URL: [url]',
|
|||
'my_documents' => '내 문서',
|
||||
'my_transmittals' => '내 송부',
|
||||
'name' => '이름',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => '',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => '이 문서는 당신의주의가 필요합니다. 워크플로우 탭을 확인하시기 바랍니다.',
|
||||
|
|
@ -1753,6 +1762,7 @@ URL : [url]',
|
|||
'status_approval_rejected' => '거부된 초안',
|
||||
'status_approved' => '승인',
|
||||
'status_approver_removed' => '승인 과정에서 제거',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => '승인되지 않음',
|
||||
'status_not_receipted' => '아직 접수 않된',
|
||||
|
|
@ -1810,6 +1820,7 @@ URL : [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -282,6 +282,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'ເລືອກເວີກໂຟລ',
|
||||
'choose_workflow_action' => 'ເລືອກການເຮັດວຽກຂອງເວີກໂຟລ',
|
||||
'choose_workflow_state' => 'ເລືອກສະຖານະຂອງເວີກໂຟລ',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'ຊື່ຊັ້ນຮຽນ',
|
||||
'clear_cache' => 'ລ້າງແຄຣ',
|
||||
'clear_clipboard' => 'ລ້າງຄິບບອສ',
|
||||
|
|
@ -649,6 +650,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'ສາລະບານຂໍ້ຄວາມໄດ້ຖືກປິດໄຊ້ງານ',
|
||||
'fulltext_converters' => '',
|
||||
'fulltext_info' => 'ສາລະບານຂໍ້ຄວາມແບບເຕັມຮູບແບບ',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'ກຸ່ມແອັດທີບິວ',
|
||||
'global_attributedefinitions' => 'ແອັດທີບິວ',
|
||||
'global_default_keywords' => 'ຄຳຫຼັກທົ່ວໂລກ',
|
||||
|
|
@ -824,7 +826,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'ບໍ່ມີການກວດສອບ',
|
||||
'missing_file' => 'ບໍ່ມີຟາຍ',
|
||||
'missing_filesize' => 'ບໍ່ມີຂະໜາດໄຟລ',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'ຂາດການຕອນຮັບ',
|
||||
'missing_request_object' => 'ການສະເໜີຄຳຂໍໄດ້ຫາຍໄປ',
|
||||
'missing_transition_user_group' => 'ບໍ່ມີຜູ້ໄຊ້/ ກຸ່ມສຳລັບການປ່ຽນແປງ',
|
||||
|
|
@ -841,6 +845,11 @@ URL: [url]',
|
|||
'my_documents' => 'ເອກະສານຂອງຂ້ອຍ',
|
||||
'my_transmittals' => 'ການຂົນສົ່ງຂອງຂ້ອຍ',
|
||||
'name' => 'ຊື່',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => '',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => 'ກະລຸນາກວດສອບແທັບເວີກໂຟລ,ເອກະສານນີ້ຕ້ອງໃຫ້ຄວາມລະອຽດແລະເອົາໃຈໄສ່',
|
||||
|
|
@ -1779,6 +1788,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => 'ຮ່າງຖືກປະຕິເສດ',
|
||||
'status_approved' => 'ໄດ້ຮັບການອະນຸມັດ',
|
||||
'status_approver_removed' => 'ຜູ້ອະນຸມັດນຳອອກຈາກກະບວນການ',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'ບໍ່ອະນຸມັດ',
|
||||
'status_not_receipted' => 'ຍັງບໍ່ໄດ້ຮັບເທື່ອ',
|
||||
|
|
@ -1836,6 +1846,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Velg arbeidsflyt',
|
||||
'choose_workflow_action' => 'Velg arbeidsflythandling',
|
||||
'choose_workflow_state' => 'Velg arbeidsflyttilstand',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Navn på klasse',
|
||||
'clear_cache' => 'Tøm cache',
|
||||
'clear_clipboard' => 'Tøm utklippstavle',
|
||||
|
|
@ -670,6 +671,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'Indeksering for fulltekstsøkning er deaktivert',
|
||||
'fulltext_converters' => 'Indeks dokument konvertering',
|
||||
'fulltext_info' => 'Fulltekst indeksinfo',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Egenskapsgrupper',
|
||||
'global_attributedefinitions' => 'Egenskaper',
|
||||
'global_default_keywords' => 'Globale søkeord',
|
||||
|
|
@ -845,7 +847,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Mangler sjekksum',
|
||||
'missing_file' => 'Mangler fil',
|
||||
'missing_filesize' => 'Mangler filstørrelse',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'Mangler mottager',
|
||||
'missing_request_object' => 'Mangler forespørsels-objekt',
|
||||
'missing_transition_user_group' => 'Mangler bruker / gruppe for overgang',
|
||||
|
|
@ -862,6 +866,11 @@ URL: [url]',
|
|||
'my_documents' => 'Mine dokumenter',
|
||||
'my_transmittals' => 'Mine sendinger',
|
||||
'name' => 'Navn',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norsk (Bokmål)',
|
||||
'needs_correction' => 'Trenger korrigering',
|
||||
'needs_workflow_action' => 'Dette dokumentet krever oppmerksomhet. Kontroller arbeidsflytfanen.',
|
||||
|
|
@ -1792,6 +1801,7 @@ Bruker: [username]
|
|||
'status_approval_rejected' => 'Utkast forkastet',
|
||||
'status_approved' => 'Godkjent',
|
||||
'status_approver_removed' => 'Godkjenner fjernet fra prosessen',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => 'Trenger korrigering',
|
||||
'status_not_approved' => 'Ikke godkjent',
|
||||
'status_not_receipted' => 'Ikke mottatt ennå',
|
||||
|
|
@ -1849,6 +1859,7 @@ Bruker: [username]
|
|||
'task_description' => 'Beskrivelse',
|
||||
'task_disabled' => 'Deaktivert',
|
||||
'task_frequency' => 'Frekvens',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'Siste kjøring',
|
||||
'task_name' => 'Navn',
|
||||
'task_next_run' => 'Neste kjøring',
|
||||
|
|
|
|||
|
|
@ -277,6 +277,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Kies workflow',
|
||||
'choose_workflow_action' => 'Kies workflow actie',
|
||||
'choose_workflow_state' => 'kiest workflowstatus',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'naam vd Klasse',
|
||||
'clear_cache' => 'Cache leegmaken',
|
||||
'clear_clipboard' => 'Vrijgeven klembord',
|
||||
|
|
@ -663,6 +664,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'Fulltext search uitgeschakeld',
|
||||
'fulltext_converters' => 'Conversie t.b.v. indexering fulltext search',
|
||||
'fulltext_info' => 'Inhoud van de fulltext index',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Attribuut-definities in groepen',
|
||||
'global_attributedefinitions' => 'attribuutdefinities',
|
||||
'global_default_keywords' => 'Algemene sleutelwoorden',
|
||||
|
|
@ -838,7 +840,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Controlesom ontbreekt',
|
||||
'missing_file' => 'File ontbreekt',
|
||||
'missing_filesize' => 'Bestandsgrootte ontbreekt',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => 'Ontbrekende PHP-extensies',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'Ontvanger ontbreekt',
|
||||
'missing_request_object' => 'Gevraagd object ontbreekt',
|
||||
'missing_transition_user_group' => 'Gebruiker / groep ontbreekt voor de overdracht',
|
||||
|
|
@ -855,6 +859,11 @@ URL: [url]',
|
|||
'my_documents' => 'Mijn Documenten',
|
||||
'my_transmittals' => 'Mijn zendingen',
|
||||
'name' => 'Naam',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Noors',
|
||||
'needs_correction' => 'Correctie nodig',
|
||||
'needs_workflow_action' => 'Dit document vereist uw aandacht. Bekijk het onder het tabblad workflows.',
|
||||
|
|
@ -1791,6 +1800,7 @@ Name: [username]
|
|||
'status_approval_rejected' => 'Klad Goedkeuring [Afgewezen]',
|
||||
'status_approved' => 'Goedgekeurd',
|
||||
'status_approver_removed' => 'Goedkeurder verwijderd',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => 'Correctie nodig',
|
||||
'status_not_approved' => 'niet goedgekeurd',
|
||||
'status_not_receipted' => 'niet ontvangen',
|
||||
|
|
@ -1848,6 +1858,7 @@ Name: [username]
|
|||
'task_description' => 'Omschrijving',
|
||||
'task_disabled' => 'Inactief',
|
||||
'task_frequency' => 'Frequentie',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'Laatst uitgevoerd',
|
||||
'task_name' => 'Naam',
|
||||
'task_next_run' => 'Komende uitvoering',
|
||||
|
|
|
|||
|
|
@ -272,6 +272,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Wybierz proces',
|
||||
'choose_workflow_action' => 'Wybierz działanie procesu',
|
||||
'choose_workflow_state' => 'Wybierz stan obiegu',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Nazwa klasy',
|
||||
'clear_cache' => 'Wyczyść cache',
|
||||
'clear_clipboard' => 'Oczyść schowek',
|
||||
|
|
@ -639,6 +640,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'Indeks pełnotekstowy jest wyłączony',
|
||||
'fulltext_converters' => 'Konwersja indeksu dokumentów',
|
||||
'fulltext_info' => 'Informacje o indeksie pełnotekstowym',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Grupy atrybutów',
|
||||
'global_attributedefinitions' => 'Definicje atrybutów',
|
||||
'global_default_keywords' => 'Globalne słowa kluczowe',
|
||||
|
|
@ -814,7 +816,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Brak sumy kontrolnej',
|
||||
'missing_file' => 'Brakujący plik',
|
||||
'missing_filesize' => 'Brakujący rozmiar pliku',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'Brakuje odbioru',
|
||||
'missing_request_object' => 'Brak obiektu żądania',
|
||||
'missing_transition_user_group' => 'Brak użytkownika / grupy dla przejścia',
|
||||
|
|
@ -831,6 +835,11 @@ URL: [url]',
|
|||
'my_documents' => 'Moje dokumenty',
|
||||
'my_transmittals' => 'Moi recenzenci',
|
||||
'name' => 'Nazwa',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norweski',
|
||||
'needs_correction' => 'Wymaga korekty',
|
||||
'needs_workflow_action' => 'Dokument wymaga uwagi. Proszę sprawdzić kartę workflow.',
|
||||
|
|
@ -1722,6 +1731,7 @@ Name: [username]
|
|||
'status_approval_rejected' => 'Szkic odrzucony',
|
||||
'status_approved' => 'Zatwierdzone',
|
||||
'status_approver_removed' => 'Osoba zatwierdzająca usunięta z procesu',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => 'Wymaga korekty',
|
||||
'status_not_approved' => 'Nie zatwierdzone',
|
||||
'status_not_receipted' => 'Jeszcze nie otrzymane',
|
||||
|
|
@ -1779,6 +1789,7 @@ Name: [username]
|
|||
'task_description' => 'Opis zadania',
|
||||
'task_disabled' => 'Zadanie wyłączone',
|
||||
'task_frequency' => 'Częstotliwość zadania',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'Ostatnie uruchomienie zadania',
|
||||
'task_name' => 'Nazwa zadania',
|
||||
'task_next_run' => 'Zadanie następnego uruchomienia',
|
||||
|
|
|
|||
|
|
@ -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 (1846), flaviove (627), lfcristofoli (352)
|
||||
// Translators: Admin (1847), flaviove (627), lfcristofoli (352)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => 'Autenticação de dois fatores',
|
||||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Escolha de fluxo de trabalho',
|
||||
'choose_workflow_action' => 'Escolha a ação de fluxo de trabalho',
|
||||
'choose_workflow_state' => 'Escolha um estado de fluxo de trabalho',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Nome da classe',
|
||||
'clear_cache' => 'Limpar o Cache',
|
||||
'clear_clipboard' => 'Limpar área de transferência',
|
||||
|
|
@ -670,6 +671,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'O índice de texto completo está desativado',
|
||||
'fulltext_converters' => 'Índice de conversão de documentos',
|
||||
'fulltext_info' => 'Informações índice Texto completo',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Grupos de atributos',
|
||||
'global_attributedefinitions' => 'Atributos',
|
||||
'global_default_keywords' => 'palavras-chave globais',
|
||||
|
|
@ -845,7 +847,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Falta verificação de checksum',
|
||||
'missing_file' => 'Falta o arquivo',
|
||||
'missing_filesize' => 'Falta tamanho do arquivo',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'Falta o recebimento',
|
||||
'missing_request_object' => 'Objeto de solicitação ausente',
|
||||
'missing_transition_user_group' => 'Falta usuário/grupo para transição',
|
||||
|
|
@ -862,6 +866,11 @@ URL: [url]',
|
|||
'my_documents' => 'Meus Documentos',
|
||||
'my_transmittals' => 'Minhas Transmissões',
|
||||
'name' => 'Nome',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norueguês',
|
||||
'needs_correction' => 'Precisa de correção',
|
||||
'needs_workflow_action' => 'Este documento requer sua atenção. Por favor, verifique a guia de fluxo de trabalho.',
|
||||
|
|
@ -1798,6 +1807,7 @@ Nome: [username]
|
|||
'status_approval_rejected' => 'Rascunho rejeitado',
|
||||
'status_approved' => 'Aprovado',
|
||||
'status_approver_removed' => 'Aprovador removido do processo',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => 'Precisa de correção',
|
||||
'status_not_approved' => 'Não aprovado',
|
||||
'status_not_receipted' => 'Ainda não recebido',
|
||||
|
|
@ -1855,6 +1865,7 @@ Nome: [username]
|
|||
'task_description' => 'Descrição',
|
||||
'task_disabled' => 'Desativado',
|
||||
'task_frequency' => 'Frequência',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'Última execução',
|
||||
'task_name' => 'Nome',
|
||||
'task_next_run' => 'Próxima execução',
|
||||
|
|
@ -1992,7 +2003,7 @@ URL: [url]',
|
|||
'version_deleted_email_subject' => '[sitename]: [name] - Versão eliminada',
|
||||
'version_info' => 'Informações da versão',
|
||||
'view' => 'Visualizar',
|
||||
'view_document' => '',
|
||||
'view_document' => 'Ver detalhes do documento',
|
||||
'view_folder' => '',
|
||||
'view_online' => 'Ver online',
|
||||
'warning' => 'Aviso',
|
||||
|
|
|
|||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Alege workflow',
|
||||
'choose_workflow_action' => 'Alege acțiune workflow',
|
||||
'choose_workflow_state' => 'Alege stare workflow',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '',
|
||||
'clear_cache' => 'Sterge cache',
|
||||
'clear_clipboard' => 'Goleste clipboard',
|
||||
|
|
@ -651,6 +652,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => 'Indexare conversie documente',
|
||||
'fulltext_info' => 'Info indexarea intregului text',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => 'Atribute',
|
||||
'global_default_keywords' => 'Cuvinte cheie globale',
|
||||
|
|
@ -826,7 +828,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Lipsește suma de control(checksum)',
|
||||
'missing_file' => '',
|
||||
'missing_filesize' => 'Lipsește dimensiunea fișierului',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => 'Lipsește utilizatorul/grupul pentru tranziție',
|
||||
|
|
@ -843,6 +847,11 @@ URL: [url]',
|
|||
'my_documents' => 'Documentele Mele',
|
||||
'my_transmittals' => 'Trimiterile mele',
|
||||
'name' => 'Nume',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norvegiana',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => 'Acest document necesită atenția dumneavoastră. Vă rugăm să verificați tab-ul workflow.',
|
||||
|
|
@ -1760,6 +1769,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => 'Proiect respins',
|
||||
'status_approved' => 'Aprobat',
|
||||
'status_approver_removed' => 'Aprobator eliminat din proces',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Neaprobat',
|
||||
'status_not_receipted' => 'Neprimit inca',
|
||||
|
|
@ -1817,6 +1827,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Выберите процесс',
|
||||
'choose_workflow_action' => 'Выберите действие процесса',
|
||||
'choose_workflow_state' => 'Выберите статус процесса',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Имя класса',
|
||||
'clear_cache' => 'Очистить кэш',
|
||||
'clear_clipboard' => 'Очистить буфер обмена',
|
||||
|
|
@ -651,6 +652,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => 'Индексирование документов',
|
||||
'fulltext_info' => 'Информация о полнотекстовом индексе',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Глобальные группы атрибутов',
|
||||
'global_attributedefinitions' => 'Атрибуты',
|
||||
'global_default_keywords' => 'Глобальные метки',
|
||||
|
|
@ -826,7 +828,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Отсутствует контрольная сумма',
|
||||
'missing_file' => 'Отсутствует файл',
|
||||
'missing_filesize' => 'Отсутствует размер файла',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => 'Отсутствует пользователь/группа для изменения.',
|
||||
|
|
@ -843,6 +847,11 @@ URL: [url]',
|
|||
'my_documents' => 'Мои документы',
|
||||
'my_transmittals' => 'Мои пересылки',
|
||||
'name' => 'Имя',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Норвежский',
|
||||
'needs_correction' => 'Нужны правки',
|
||||
'needs_workflow_action' => 'Этот документ требует вашего внимания. См. вкладку «Процесс».',
|
||||
|
|
@ -1767,6 +1776,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => 'Черновик отклонён',
|
||||
'status_approved' => 'Утверждён',
|
||||
'status_approver_removed' => 'Утверждающий удалён из процесса',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Не утверждён',
|
||||
'status_not_receipted' => 'Получение не подтверждено',
|
||||
|
|
@ -1824,6 +1834,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Vyprať pracovný postup',
|
||||
'choose_workflow_action' => 'Vybrať akciu pracovného postupu',
|
||||
'choose_workflow_state' => 'Vybrať stav pracovného postupu',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Názov triedy',
|
||||
'clear_cache' => 'Vyčistiť pamäť cache',
|
||||
'clear_clipboard' => 'Vymazať schránku',
|
||||
|
|
@ -670,6 +671,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'Fulltext index je zakázaný',
|
||||
'fulltext_converters' => 'Index document conversion',
|
||||
'fulltext_info' => 'Informácie o fulltext indexe',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Skupiny atribútov',
|
||||
'global_attributedefinitions' => 'Atribúty',
|
||||
'global_default_keywords' => 'Globálne kľúčové slová',
|
||||
|
|
@ -845,7 +847,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Chýba kontrolný súčet',
|
||||
'missing_file' => 'Chýba súbor',
|
||||
'missing_filesize' => 'Chýba veľkosť súboru',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'Missing reception',
|
||||
'missing_request_object' => 'Chýba požadovaný objekt',
|
||||
'missing_transition_user_group' => 'Chýba používateľ/skupina pre prenos',
|
||||
|
|
@ -862,6 +866,11 @@ URL: [url]',
|
|||
'my_documents' => 'Moje dokumenty',
|
||||
'my_transmittals' => 'My Transmittals',
|
||||
'name' => 'Meno',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Nórčina (Bokmål)',
|
||||
'needs_correction' => 'Vyžaduje opravu',
|
||||
'needs_workflow_action' => 'Tento dokument si vyžaduje vašu pozornosť. Skontrolujte kartu pracovného postupu.',
|
||||
|
|
@ -1800,6 +1809,7 @@ Meno: [username]
|
|||
'status_approval_rejected' => 'Návrh zamietnutý',
|
||||
'status_approved' => 'Schválený',
|
||||
'status_approver_removed' => 'Schvaľovateľ odstránený z procesu',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => 'Vyžaduje opravu',
|
||||
'status_not_approved' => 'Neschválený',
|
||||
'status_not_receipted' => 'Zatiaľ neprijatý',
|
||||
|
|
@ -1857,6 +1867,7 @@ Meno: [username]
|
|||
'task_description' => 'Description',
|
||||
'task_disabled' => 'Disabled',
|
||||
'task_frequency' => 'Frequency',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => 'Last run',
|
||||
'task_name' => 'Name',
|
||||
'task_next_run' => 'Next run',
|
||||
|
|
|
|||
|
|
@ -285,6 +285,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Välj arbetsflöde',
|
||||
'choose_workflow_action' => 'Välj åtgärd för arbetsflödet',
|
||||
'choose_workflow_state' => 'Välj status för arbetsflödet',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => 'Klassnamn',
|
||||
'clear_cache' => 'Rensa cache',
|
||||
'clear_clipboard' => 'Rensa urklipp',
|
||||
|
|
@ -657,6 +658,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => 'Indexering för fulltextsökning är inaktiverad',
|
||||
'fulltext_converters' => 'Omvandling av dokumentindexering',
|
||||
'fulltext_info' => 'Fulltext-indexinfo',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => 'Attributgrupper',
|
||||
'global_attributedefinitions' => 'Attributdefinitioner',
|
||||
'global_default_keywords' => 'Globala nyckelord',
|
||||
|
|
@ -832,7 +834,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Checksumma saknas',
|
||||
'missing_file' => 'Fil saknas',
|
||||
'missing_filesize' => 'Filstorlek saknas',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => 'Mottagande saknas',
|
||||
'missing_request_object' => 'Begärt objekt saknas',
|
||||
'missing_transition_user_group' => 'Användare/grupp saknas för övergång',
|
||||
|
|
@ -849,6 +853,11 @@ URL: [url]',
|
|||
'my_documents' => 'Mina dokument',
|
||||
'my_transmittals' => 'Mina överföringar',
|
||||
'name' => 'Namn',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norska (Bokmål)',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => 'Detta dokument behöver din uppmärksamhet. Kontrollera inställningarna för arbetsflödet.',
|
||||
|
|
@ -1773,6 +1782,7 @@ Kommentar: [comment]',
|
|||
'status_approval_rejected' => 'Utkast avvisat',
|
||||
'status_approved' => 'Godkänt',
|
||||
'status_approver_removed' => 'Godkännare har tagits bort från processen',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Ej godkänt',
|
||||
'status_not_receipted' => 'Ej mottaget ännu',
|
||||
|
|
@ -1830,6 +1840,7 @@ Kommentar: [comment]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -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 (1125), aydin (83)
|
||||
// Translators: Admin (1129), aydin (83)
|
||||
|
||||
$text = array(
|
||||
'2_factor_auth' => 'İki faktörlü yetkilendirme',
|
||||
|
|
@ -171,7 +171,7 @@ URL: [url]',
|
|||
'attrdef_type_boolean' => 'Mantık',
|
||||
'attrdef_type_date' => 'Tarih',
|
||||
'attrdef_type_document' => '',
|
||||
'attrdef_type_email' => '',
|
||||
'attrdef_type_email' => 'Eposta',
|
||||
'attrdef_type_float' => '',
|
||||
'attrdef_type_folder' => '',
|
||||
'attrdef_type_group' => '',
|
||||
|
|
@ -278,6 +278,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'İş akışı seçiniz',
|
||||
'choose_workflow_action' => 'İş akış eylemi seçiniz',
|
||||
'choose_workflow_state' => 'İş akış durumunu seçiniz',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '',
|
||||
'clear_cache' => 'Ön belleği temizle',
|
||||
'clear_clipboard' => 'Panoyu temizle',
|
||||
|
|
@ -557,7 +558,7 @@ URL: [url]',
|
|||
'expire_in_1y' => '1 Yıl içinde silinecek',
|
||||
'expire_in_2h' => '',
|
||||
'expire_in_2y' => '2 Yıl içinde silinecek',
|
||||
'expire_in_3y' => '',
|
||||
'expire_in_3y' => '3 Yıl içinde silinecek',
|
||||
'expire_today' => '',
|
||||
'expire_tomorrow' => '',
|
||||
'expiry_changed_email' => 'Süresinin dolacağı tarihi değişti',
|
||||
|
|
@ -568,7 +569,7 @@ Kullanıcı: [username]
|
|||
URL: [url]',
|
||||
'expiry_changed_email_subject' => '[sitename]: [name] - Bitiş tarihi değişti',
|
||||
'export' => '',
|
||||
'export_user_list_csv' => '',
|
||||
'export_user_list_csv' => 'Kullanıcıları CSV olarak dışa aktar',
|
||||
'extension_archive' => '',
|
||||
'extension_changelog' => 'Değişiklik Listesi',
|
||||
'extension_is_off_now' => '',
|
||||
|
|
@ -645,6 +646,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => 'Doküman dönüştürmeyi indeksle',
|
||||
'fulltext_info' => 'Tam metin indeks bilgi',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => 'Nitelikler',
|
||||
'global_default_keywords' => 'Global anahtar kelimeler',
|
||||
|
|
@ -820,7 +822,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Sağlama toplamı eksik',
|
||||
'missing_file' => '',
|
||||
'missing_filesize' => 'Dosya boyutu eksik',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => 'Eksik php eklentileri',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => 'Geçiş için kullanıcı/grup bilgisi eksik',
|
||||
|
|
@ -837,6 +841,11 @@ URL: [url]',
|
|||
'my_documents' => 'Dokümanlarım',
|
||||
'my_transmittals' => 'Çevirilerim',
|
||||
'name' => 'İsim',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Norveç Havayolları',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => 'Bu doküman dikkatinizi gerektiriyor. Lütfen iş akış sekmesini kontrol ediniz.',
|
||||
|
|
@ -1739,6 +1748,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => 'Taslak reddedildi',
|
||||
'status_approved' => 'Onaylandı',
|
||||
'status_approver_removed' => 'Onaylayan süreci sildi',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Onaylanmadı',
|
||||
'status_not_receipted' => '',
|
||||
|
|
@ -1796,6 +1806,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
@ -1933,7 +1944,7 @@ URL: [url]',
|
|||
'version_deleted_email_subject' => '[sitename]: [name] - Versiyon silindi',
|
||||
'version_info' => 'Versiyon Bilgisi',
|
||||
'view' => 'Görüntüle',
|
||||
'view_document' => '',
|
||||
'view_document' => 'Dokümanın detaylarını görüntüle',
|
||||
'view_folder' => '',
|
||||
'view_online' => 'Online görüntüle',
|
||||
'warning' => 'Dikkat',
|
||||
|
|
|
|||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => 'Оберіть процес',
|
||||
'choose_workflow_action' => 'Оберіть дію процесу',
|
||||
'choose_workflow_state' => 'Оберіть статус процесу',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '',
|
||||
'clear_cache' => 'Очистити кеш',
|
||||
'clear_clipboard' => 'Очистити буфер обміну',
|
||||
|
|
@ -651,6 +652,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '',
|
||||
'fulltext_converters' => 'Індексування документів',
|
||||
'fulltext_info' => 'Інформація про повнотекстовий індекс',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '',
|
||||
'global_attributedefinitions' => 'Атрибути',
|
||||
'global_default_keywords' => 'Глобальні ключові слова',
|
||||
|
|
@ -826,7 +828,9 @@ URL: [url]',
|
|||
'missing_checksum' => 'Відсутня контрольна сума',
|
||||
'missing_file' => 'Відсутній файл',
|
||||
'missing_filesize' => 'Відсутній розмір файлу',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => 'Відсутній користувач/група для зміни.',
|
||||
|
|
@ -843,6 +847,11 @@ URL: [url]',
|
|||
'my_documents' => 'Мої документи',
|
||||
'my_transmittals' => 'Мої перенесення',
|
||||
'name' => 'Назва',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => 'Норвезька (букмол)',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => 'Цей документ потребує вашої уваги. Див. вкладку «Процес».',
|
||||
|
|
@ -1760,6 +1769,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => 'Чернетку відхилено',
|
||||
'status_approved' => 'Затверджено',
|
||||
'status_approver_removed' => 'Затверджувач видалений з процесу',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => 'Не затверджено',
|
||||
'status_not_receipted' => 'Отримання не підтверджено',
|
||||
|
|
@ -1817,6 +1827,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -276,6 +276,7 @@ URL: [url]',
|
|||
'choose_workflow' => '选择工作流',
|
||||
'choose_workflow_action' => '选择工作流节点',
|
||||
'choose_workflow_state' => '选择工作流状态',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '类名',
|
||||
'clear_cache' => '清除缓存',
|
||||
'clear_clipboard' => '清除粘贴板',
|
||||
|
|
@ -641,6 +642,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '全文索引已禁用',
|
||||
'fulltext_converters' => '索引文件转换',
|
||||
'fulltext_info' => '全文索引信息',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '属性组',
|
||||
'global_attributedefinitions' => '属性',
|
||||
'global_default_keywords' => '全局关键字',
|
||||
|
|
@ -816,7 +818,9 @@ URL: [url]',
|
|||
'missing_checksum' => '缺失校验',
|
||||
'missing_file' => '',
|
||||
'missing_filesize' => '缺失文件大小',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '',
|
||||
'missing_request_object' => '',
|
||||
'missing_transition_user_group' => '',
|
||||
|
|
@ -833,6 +837,11 @@ URL: [url]',
|
|||
'my_documents' => '我的文档',
|
||||
'my_transmittals' => '我的送达函',
|
||||
'name' => '名称',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => '挪威语(书面挪威语)',
|
||||
'needs_correction' => '',
|
||||
'needs_workflow_action' => '',
|
||||
|
|
@ -1735,6 +1744,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => '拟拒绝',
|
||||
'status_approved' => '批准',
|
||||
'status_approver_removed' => '从审核队列中删除',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '',
|
||||
'status_not_approved' => '未批准',
|
||||
'status_not_receipted' => '尚未接收',
|
||||
|
|
@ -1792,6 +1802,7 @@ URL: [url]',
|
|||
'task_description' => '',
|
||||
'task_disabled' => '',
|
||||
'task_frequency' => '',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '',
|
||||
'task_name' => '',
|
||||
'task_next_run' => '',
|
||||
|
|
|
|||
|
|
@ -284,6 +284,7 @@ URL: [url]',
|
|||
'choose_workflow' => '選擇流程',
|
||||
'choose_workflow_action' => '選擇流程行為',
|
||||
'choose_workflow_state' => '選擇流程狀態',
|
||||
'class_finfo_missing' => '',
|
||||
'class_name' => '類別名稱',
|
||||
'clear_cache' => '清除緩存',
|
||||
'clear_clipboard' => '清除剪貼簿',
|
||||
|
|
@ -670,6 +671,7 @@ URL: [url]',
|
|||
'fulltextsearch_disabled' => '全文索引已禁用',
|
||||
'fulltext_converters' => '索引檔轉換',
|
||||
'fulltext_info' => '全文索引資訊',
|
||||
'func_proc_open_missing' => '',
|
||||
'global_attributedefinitiongroups' => '屬性組',
|
||||
'global_attributedefinitions' => '屬性',
|
||||
'global_default_keywords' => '全域關鍵字',
|
||||
|
|
@ -845,7 +847,9 @@ URL: [url]',
|
|||
'missing_checksum' => '缺少校驗',
|
||||
'missing_file' => '缺少檔案',
|
||||
'missing_filesize' => '缺少檔案大小',
|
||||
'missing_func_class_note' => '',
|
||||
'missing_php_extensions' => '',
|
||||
'missing_php_functions_and_classes' => '',
|
||||
'missing_reception' => '缺少接待處',
|
||||
'missing_request_object' => '缺少請求物件',
|
||||
'missing_transition_user_group' => '缺少傳送的使用者/群組',
|
||||
|
|
@ -862,6 +866,11 @@ URL: [url]',
|
|||
'my_documents' => '我的文件',
|
||||
'my_transmittals' => '我的傳送',
|
||||
'name' => '名稱',
|
||||
'nav_brand_admin_tools' => '',
|
||||
'nav_brand_my_account' => '',
|
||||
'nav_brand_my_documents' => '',
|
||||
'nav_brand_view_document' => '',
|
||||
'nav_brand_view_folder' => '',
|
||||
'nb_NO' => '',
|
||||
'needs_correction' => '需要糾正',
|
||||
'needs_workflow_action' => '本文檔需要您注意。請檢查工作流程標籤。',
|
||||
|
|
@ -1798,6 +1807,7 @@ URL: [url]',
|
|||
'status_approval_rejected' => '擬拒絕',
|
||||
'status_approved' => '批准',
|
||||
'status_approver_removed' => '從審核佇列中刪除',
|
||||
'status_change' => '',
|
||||
'status_needs_correction' => '需要糾正',
|
||||
'status_not_approved' => '未批准',
|
||||
'status_not_receipted' => '尚未收到',
|
||||
|
|
@ -1855,6 +1865,7 @@ URL: [url]',
|
|||
'task_description' => '描述',
|
||||
'task_disabled' => '不啟用',
|
||||
'task_frequency' => '頻率',
|
||||
'task_frequency_placeholder' => '',
|
||||
'task_last_run' => '最後一次啟用',
|
||||
'task_name' => '名稱',
|
||||
'task_next_run' => '下次啟用',
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ $version_comment = !empty($_POST["version_comment"]) ? trim($_POST["version_comm
|
|||
if($version_comment == "" && isset($_POST["use_comment"]))
|
||||
$version_comment = $comment;
|
||||
|
||||
$keywords = trim($_POST["keywords"]);
|
||||
$keywords = isset($_POST["keywords"]) ? trim($_POST["keywords"]) : '';
|
||||
$categories = isset($_POST["categories"]) ? $_POST["categories"] : null;
|
||||
$cats = array();
|
||||
if($categories) {
|
||||
|
|
|
|||
|
|
@ -331,6 +331,9 @@ switch($command) {
|
|||
if($folder = $dms->getFolder($_REQUEST['targetfolderid'])) {
|
||||
if($folder->getAccessMode($user, 'moveDocument') >= M_READWRITE) {
|
||||
if($mdocument->setFolder($folder)) {
|
||||
if(isset($_REQUEST['sequence'])) {
|
||||
$mdocument->setSequence((float) $_REQUEST['sequence']);
|
||||
}
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>getMLText('splash_move_document'), 'data'=>''));
|
||||
add_log_line();
|
||||
|
|
|
|||
|
|
@ -41,6 +41,10 @@ if(empty($settings->_enableCancelCheckout)) {
|
|||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("operation_disallowed"));
|
||||
}
|
||||
|
||||
if(empty($_POST['confirm'])) {
|
||||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("operation_disallowed"));
|
||||
}
|
||||
|
||||
$document->cancelCheckOut($comment);
|
||||
if (is_bool($result) && !$result) {
|
||||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured"));
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
if(!isset($settings))
|
||||
require_once("../inc/inc.Settings.php");
|
||||
require_once("inc/inc.LogInit.php");
|
||||
require_once("inc/inc.Utils.php");
|
||||
require_once("inc/inc.Language.php");
|
||||
require_once("inc/inc.Init.php");
|
||||
require_once("inc/inc.Extension.php");
|
||||
|
|
|
|||
|
|
@ -37,7 +37,10 @@ require_once("inc/inc.Authentication.php");
|
|||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
|
||||
$accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings);
|
||||
|
||||
if($view) {
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,10 +36,6 @@ if (!$accessop->check_view_access($view, $_GET)) {
|
|||
UI::exitError(getMLText("my_documents"),getMLText("access_denied"));
|
||||
}
|
||||
|
||||
if ($user->isGuest()) {
|
||||
UI::exitError(getMLText("expired_documents"),getMLText("access_denied"));
|
||||
}
|
||||
|
||||
$orderby='e';
|
||||
if (isset($_GET["orderby"]) && strlen($_GET["orderby"])==1 ) {
|
||||
$orderby=$_GET["orderby"];
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ require_once("inc/inc.Language.php");
|
|||
require_once("inc/inc.Init.php");
|
||||
require_once("inc/inc.Extension.php");
|
||||
require_once("inc/inc.ClassAccessOperation.php");
|
||||
require_once("inc/inc.DBInit.php");
|
||||
require_once("inc/inc.ClassUI.php");
|
||||
|
||||
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ require_once("inc/inc.Authentication.php");
|
|||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||
|
||||
if ($user->isGuest()) {
|
||||
UI::exitError(getMLText("my_account"),getMLText("access_denied"));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0) {
|
|||
if($view) {
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->setParam('referrer', $referrer);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ $dumpname = $_GET["dumpname"];
|
|||
|
||||
if($view) {
|
||||
$view->setParam('dumpfile', $dumpname);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ if (!is_object($group)) {
|
|||
|
||||
if($view) {
|
||||
$view->setParam('group', $group);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ foreach($lognames as $file) {
|
|||
if($view) {
|
||||
$view->setParam('lognames', $lognames);
|
||||
$view->setParam('mode', $mode);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,11 +48,23 @@ if ($rmuser->getID()==$user->getID()) {
|
|||
UI::exitError(getMLText("rm_user"),getMLText("cannot_delete_yourself"));
|
||||
}
|
||||
|
||||
$task = null;
|
||||
if (isset($_GET["task"])) {
|
||||
$task = $_GET['task'];
|
||||
}
|
||||
|
||||
$allusers = $dms->getAllUsers($settings->_sortUsersInList);
|
||||
|
||||
if($view) {
|
||||
$view->setParam('showtree', showtree());
|
||||
$view->setParam('rmuser', $rmuser);
|
||||
$view->setParam('allusers', $allusers);
|
||||
$view->setParam('task', $task);
|
||||
$view->setParam('cachedir', $settings->_cacheDir);
|
||||
$view->setParam('rootfolder', $dms->getFolder($settings->_rootFolderID));
|
||||
$view->setParam('previewWidthList', $settings->_previewWidthList);
|
||||
$view->setParam('previewconverters', $settings->_converters['preview']);
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ if (!is_object($workflow)) {
|
|||
|
||||
if($view) {
|
||||
$view->setParam('workflow', $workflow);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ require_once("inc/inc.Init.php");
|
|||
require_once("inc/inc.Extension.php");
|
||||
require_once("inc/inc.DBInit.php");
|
||||
require_once("inc/inc.ClassUI.php");
|
||||
require_once("inc/inc.ClassAccessOperation.php");
|
||||
require_once("inc/inc.Authentication.php");
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ require_once("inc/inc.Init.php");
|
|||
require_once("inc/inc.Extension.php");
|
||||
require_once("inc/inc.DBInit.php");
|
||||
require_once("inc/inc.ClassUI.php");
|
||||
require_once("inc/inc.ClassAccessOperation.php");
|
||||
require_once("inc/inc.Authentication.php");
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
|
|
|
|||
|
|
@ -10,8 +10,7 @@
|
|||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@coreui/coreui": "^3.3.0",
|
||||
"@coreui/icons": "^1.0.1",
|
||||
"@popperjs/core": "^2.5.3",
|
||||
"@ttskch/select2-bootstrap4-theme": "^1.5.2",
|
||||
"bootstrap": "^4.5.2",
|
||||
"bootstrap-datepicker": "^1.9.0",
|
||||
"chartjs": "^0.3.24",
|
||||
|
|
@ -34,6 +33,6 @@
|
|||
"perfect-scrollbar": "^1.5.0",
|
||||
"popper.js": "^1.16.1",
|
||||
"select2": "^4.0.13",
|
||||
"simple-line-icons": "^2.5.5"
|
||||
"vis-timeline": "^7.4.7"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -595,6 +595,13 @@ class RestapiController { /* {{{ */
|
|||
return $response->withJson(array('success'=>false, 'message'=>'No parent folder id given', 'data'=>''), 400);
|
||||
}
|
||||
|
||||
if($settings->_quota > 0) {
|
||||
$remain = checkQuota($userobj);
|
||||
if ($remain < 0) {
|
||||
return $response->withJson(array('success'=>false, 'message'=>'Quota exceeded', 'data'=>''), 400);
|
||||
}
|
||||
}
|
||||
|
||||
$mfolder = $dms->getFolder($args['id']);
|
||||
if($mfolder) {
|
||||
$uploadedFiles = $request->getUploadedFiles();
|
||||
|
|
@ -692,6 +699,7 @@ class RestapiController { /* {{{ */
|
|||
function updateDocument($request, $response, $args) { /* {{{ */
|
||||
$dms = $this->container->dms;
|
||||
$userobj = $this->container->userobj;
|
||||
$settings = $this->container->config;
|
||||
|
||||
if(!$userobj) {
|
||||
return $response->withJson(array('success'=>false, 'message'=>'Not logged in', 'data'=>''), 403);
|
||||
|
|
@ -701,6 +709,13 @@ class RestapiController { /* {{{ */
|
|||
return $response->withJson(array('success'=>false, 'message'=>'No document id given', 'data'=>''), 400);
|
||||
}
|
||||
|
||||
if($settings->_quota > 0) {
|
||||
$remain = checkQuota($userobj);
|
||||
if ($remain < 0) {
|
||||
return $response->withJson(array('success'=>false, 'message'=>'Quota exceeded', 'data'=>''), 400);
|
||||
}
|
||||
}
|
||||
|
||||
$document = $dms->getDocument($args['id']);
|
||||
if($document) {
|
||||
if ($document->getAccessMode($userobj, 'updateDocument') >= M_READWRITE) {
|
||||
|
|
@ -726,7 +741,13 @@ class RestapiController { /* {{{ */
|
|||
$file_info = array_pop($uploadedFiles);
|
||||
if ($origfilename == null)
|
||||
$origfilename = $file_info->getClientFilename();
|
||||
$temp = $file_info->file;
|
||||
$temp = $file_info->file;
|
||||
|
||||
/* Check if the uploaded file is identical to last version */
|
||||
$lc = $document->getLatestContent();
|
||||
if($lc->getChecksum() == SeedDMS_Core_File::checksum($temp)) {
|
||||
return $response->withJson(array('success'=>false, 'message'=>'Uploaded file identical to last version', 'data'=>''), 400);
|
||||
}
|
||||
$finfo = finfo_open(FILEINFO_MIME_TYPE);
|
||||
$userfiletype = finfo_file($finfo, $temp);
|
||||
$fileType = ".".pathinfo($origfilename, PATHINFO_EXTENSION);
|
||||
|
|
@ -762,7 +783,15 @@ class RestapiController { /* {{{ */
|
|||
|
||||
if(!ctype_digit($args['id']) || $args['id'] == 0) {
|
||||
return $response->withJson(array('success'=>false, 'message'=>'No document id given', 'data'=>''), 400);
|
||||
}
|
||||
}
|
||||
|
||||
if($settings->_quota > 0) {
|
||||
$remain = checkQuota($userobj);
|
||||
if ($remain < 0) {
|
||||
return $response->withJson(array('success'=>false, 'message'=>'Quota exceeded', 'data'=>''), 400);
|
||||
}
|
||||
}
|
||||
|
||||
$mfolder = $dms->getFolder($args['id']);
|
||||
if($mfolder) {
|
||||
if ($mfolder->getAccessMode($userobj, 'addDocument') >= M_READWRITE) {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for Acl view
|
||||
|
|
@ -27,7 +27,7 @@ require_once("class.Bootstrap.php");
|
|||
* @copyright Copyright (C) 2016 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_Acl extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_Acl extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$selrole = $this->params['selrole'];
|
||||
|
|
@ -241,10 +241,8 @@ $(document).ready( function() {
|
|||
if(!$settings->_advancedAcl) {
|
||||
$this->warningMsg(getMLText("access_control_is_off"));
|
||||
}
|
||||
?>
|
||||
<div class="row-fluid">
|
||||
<div class="span4">
|
||||
<?php
|
||||
$this->rowStart();
|
||||
$this->columnStart(4);
|
||||
$this->contentHeading(getMLText("role"));
|
||||
?>
|
||||
<form class="form-horizontal">
|
||||
|
|
@ -267,11 +265,10 @@ $(document).ready( function() {
|
|||
</form>
|
||||
<?php if($accessop->check_view_access($this, array('action'=>'info')) || $user->isAdmin()) { ?>
|
||||
<div class="ajax" data-view="Acl" data-action="info" <?php echo ($selrole ? "data-query=\"roleid=".$selrole->getID()."\"" : "") ?>></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="span8">
|
||||
<?php
|
||||
}
|
||||
$this->columnEnd();
|
||||
$this->columnStart(8);
|
||||
$this->contentHeading(getMLText("access_control"));
|
||||
|
||||
if($selrole) {
|
||||
|
|
@ -285,10 +282,8 @@ $(document).ready( function() {
|
|||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
$this->columnEnd();
|
||||
$this->rowEnd();
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for AddDocument view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_AddDocument extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_AddDocument extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$libraryfolder = $this->params['libraryfolder'];
|
||||
|
|
@ -348,6 +348,46 @@ $(document).ready(function() {
|
|||
}
|
||||
|
||||
$this->contentContainerEnd();
|
||||
if(!$nodocumentformfields || !in_array('notification', $nodocumentformfields)) {
|
||||
$this->contentSubHeading(getMLText("add_document_notify"));
|
||||
$this->contentContainerStart();
|
||||
|
||||
$options = array();
|
||||
$allUsers = $dms->getAllUsers($sortusersinlist);
|
||||
foreach ($allUsers as $userObj) {
|
||||
if (!$userObj->isGuest() && $folder->getAccessMode($userObj) >= M_READ)
|
||||
$options[] = array($userObj->getID(), htmlspecialchars($userObj->getLogin() . " - " . $userObj->getFullName()));
|
||||
}
|
||||
$this->formField(
|
||||
getMLText("individuals"),
|
||||
array(
|
||||
'element'=>'select',
|
||||
'name'=>'notification_users[]',
|
||||
'class'=>'chzn-select',
|
||||
'attributes'=>array(array('data-placeholder', getMLText('select_ind_notification'))),
|
||||
'multiple'=>true,
|
||||
'options'=>$options
|
||||
)
|
||||
);
|
||||
$options = array();
|
||||
$allGroups = $dms->getAllGroups();
|
||||
foreach ($allGroups as $groupObj) {
|
||||
if ($folder->getGroupAccessMode($groupObj) >= M_READ)
|
||||
$options[] = array($groupObj->getID(), htmlspecialchars($groupObj->getName()));
|
||||
}
|
||||
$this->formField(
|
||||
getMLText("groups"),
|
||||
array(
|
||||
'element'=>'select',
|
||||
'name'=>'notification_groups[]',
|
||||
'class'=>'chzn-select',
|
||||
'attributes'=>array(array('data-placeholder', getMLText('select_grp_notification'))),
|
||||
'multiple'=>true,
|
||||
'options'=>$options
|
||||
)
|
||||
);
|
||||
$this->contentContainerEnd();
|
||||
}
|
||||
$this->columnEnd();
|
||||
$this->columnStart(6);
|
||||
$this->contentSubHeading(getMLText("version_info"));
|
||||
|
|
@ -771,46 +811,6 @@ $(document).ready(function() {
|
|||
$this->contentContainerEnd();
|
||||
}
|
||||
|
||||
if(!$nodocumentformfields || !in_array('notification', $nodocumentformfields)) {
|
||||
$this->contentSubHeading(getMLText("add_document_notify"));
|
||||
$this->contentContainerStart();
|
||||
|
||||
$options = array();
|
||||
$allUsers = $dms->getAllUsers($sortusersinlist);
|
||||
foreach ($allUsers as $userObj) {
|
||||
if (!$userObj->isGuest() && $folder->getAccessMode($userObj) >= M_READ)
|
||||
$options[] = array($userObj->getID(), htmlspecialchars($userObj->getLogin() . " - " . $userObj->getFullName()));
|
||||
}
|
||||
$this->formField(
|
||||
getMLText("individuals"),
|
||||
array(
|
||||
'element'=>'select',
|
||||
'name'=>'notification_users[]',
|
||||
'class'=>'chzn-select',
|
||||
'attributes'=>array(array('data-placeholder', getMLText('select_ind_notification'))),
|
||||
'multiple'=>true,
|
||||
'options'=>$options
|
||||
)
|
||||
);
|
||||
$options = array();
|
||||
$allGroups = $dms->getAllGroups();
|
||||
foreach ($allGroups as $groupObj) {
|
||||
if ($folder->getGroupAccessMode($groupObj) >= M_READ)
|
||||
$options[] = array($groupObj->getID(), htmlspecialchars($groupObj->getName()));
|
||||
}
|
||||
$this->formField(
|
||||
getMLText("groups"),
|
||||
array(
|
||||
'element'=>'select',
|
||||
'name'=>'notification_groups[]',
|
||||
'class'=>'chzn-select',
|
||||
'attributes'=>array(array('data-placeholder', getMLText('select_grp_notification'))),
|
||||
'multiple'=>true,
|
||||
'options'=>$options
|
||||
)
|
||||
);
|
||||
$this->contentContainerEnd();
|
||||
}
|
||||
$this->columnEnd();
|
||||
$this->rowEnd();
|
||||
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('add_document'));
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for AddEvent view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_AddEvent extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_AddEvent extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for AddFile view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_AddFile extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_AddFile extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$enablelargefileupload = $this->params['enablelargefileupload'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for AddSubFolder view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_AddSubFolder extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_AddSubFolder extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
|
|
@ -74,10 +74,12 @@ $(document).ready( function() {
|
|||
$this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))));
|
||||
$this->globalNavigation($folder);
|
||||
$this->contentStart();
|
||||
// $this->pageNavigation($this->getFolderPathHTML($folder, true), "view_folder", $folder);
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true), "view_folder", $folder);
|
||||
/*
|
||||
?>
|
||||
<div class="ajax" data-view="ViewFolder" data-action="navigation" data-no-spinner="true" <?php echo ($folder ? "data-query=\"folderid=".$folder->getID()."\"" : "") ?>></div>
|
||||
<?php
|
||||
*/
|
||||
$this->contentHeading(getMLText("add_subfolder"));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for AdminTools view
|
||||
|
|
@ -29,22 +29,30 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_AdminTools extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_AdminTools extends SeedDMS_Theme_Style {
|
||||
|
||||
static function wrapRow($content) { /* {{{ */
|
||||
return self::startRow().$content.self::endRow();
|
||||
} /* }}} */
|
||||
|
||||
static function startRow() { /* {{{ */
|
||||
return '<div class="row-fluid">';
|
||||
public function startRow() { /* {{{ */
|
||||
ob_start();
|
||||
$this->rowStart();
|
||||
return ob_get_clean();
|
||||
} /* }}} */
|
||||
|
||||
static function endRow() { /* {{{ */
|
||||
return '</div>';
|
||||
public function endRow() { /* {{{ */
|
||||
ob_start();
|
||||
$this->rowEnd();
|
||||
return ob_get_clean();
|
||||
} /* }}} */
|
||||
|
||||
static function rowButton($link, $icon, $label) { /* {{{ */
|
||||
return '<a href="'.$link.'" class="span2 btn btn-medium"><i class="fa fa-'.$icon.'"></i><br />'.getMLText($label).'</a>';
|
||||
public function rowButton($link, $icon, $label) { /* {{{ */
|
||||
ob_start();
|
||||
$this->columnStart(2);
|
||||
echo '<a href="'.$link.'" class="btn btn-medium btn-light btn-block btn-md"><i class="fa fa-'.$icon.'"></i><br />'.getMLText($label).'</a>';
|
||||
$this->columnEnd();
|
||||
return ob_get_clean();
|
||||
} /* }}} */
|
||||
|
||||
function show() { /* {{{ */
|
||||
|
|
@ -59,7 +67,7 @@ class SeedDMS_View_AdminTools extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentStart();
|
||||
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
||||
// $this->contentHeading(getMLText("admin_tools"));
|
||||
$this->contentContainerStart();
|
||||
// $this->contentContainerStart();
|
||||
?>
|
||||
<div id="admin-tools">
|
||||
<?php echo $this->callHook('beforeRows'); ?>
|
||||
|
|
@ -172,7 +180,7 @@ class SeedDMS_View_AdminTools extends SeedDMS_Bootstrap_Style {
|
|||
<?php echo $this->callHook('afterRows'); ?>
|
||||
</div>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
// $this->contentContainerEnd();
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Include class to preview documents
|
||||
|
|
@ -34,7 +34,7 @@ require_once("SeedDMS/Preview.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_ApprovalSummary extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_ApprovalSummary extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for ApproveDocument view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_ApproveDocument extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_ApproveDocument extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
@ -111,8 +111,6 @@ $(document).ready(function() {
|
|||
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
|
||||
$this->contentHeading(getMLText("add_approval"));
|
||||
|
||||
$this->contentContainerStart();
|
||||
|
||||
// Display the Approval form.
|
||||
$approvaltype = ($approvalStatus['type'] == 0) ? 'ind' : 'grp';
|
||||
if($approvalStatus["status"]!=0) {
|
||||
|
|
@ -134,6 +132,8 @@ $(document).ready(function() {
|
|||
<form class="form-horizontal" method="post" action="../op/op.ApproveDocument.php" id="form<?= $approvaltype ?>" name="form<?= $approvaltype ?>" enctype="multipart/form-data">
|
||||
<?php echo createHiddenFieldWithKey('approvedocument'); ?>
|
||||
<?php
|
||||
$this->contentContainerStart();
|
||||
|
||||
$this->formField(
|
||||
getMLText("comment"),
|
||||
array(
|
||||
|
|
@ -160,6 +160,7 @@ $(document).ready(function() {
|
|||
'options'=>$options,
|
||||
)
|
||||
);
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit(getMLText('submit_approval'), $approvaltype.'Approval');
|
||||
?>
|
||||
<input type='hidden' name='approvalType' value='<?= $approvaltype ?>'/>
|
||||
|
|
@ -170,7 +171,6 @@ $(document).ready(function() {
|
|||
<input type='hidden' name='version' value='<?php echo $content->getVersion(); ?>'/>
|
||||
</form>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Include class to preview documents
|
||||
|
|
@ -34,7 +34,7 @@ require_once("SeedDMS/Preview.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_AttributeMgr extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_AttributeMgr extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$selattrdef = $this->params['selattrdef'];
|
||||
|
|
@ -79,7 +79,7 @@ $(document).ready( function() {
|
|||
foreach(array('document', 'folder', 'content') as $type) {
|
||||
$content = '';
|
||||
if(isset($res['frequencies'][$type]) && $res['frequencies'][$type]) {
|
||||
$content .= "<table class=\"table table-condensed\">";
|
||||
$content .= "<table class=\"table table-condensed table-sm\">";
|
||||
$content .= "<thead>\n<tr>\n";
|
||||
$content .= "<th>".getMLText("attribute_value")."</th>\n";
|
||||
$content .= "<th>".getMLText("attribute_count")."</th>\n";
|
||||
|
|
@ -172,7 +172,7 @@ $(document).ready( function() {
|
|||
<?php echo createHiddenFieldWithKey('removeattrdef'); ?>
|
||||
<input type="hidden" name="attrdefid" value="<?php echo $selattrdef->getID()?>">
|
||||
<input type="hidden" name="action" value="removeattrdef">
|
||||
<button type="submit" class="btn"><i class="fa fa-remove"></i> <?php echo getMLText("rm_attrdef")?></button>
|
||||
<button type="submit" class="btn btn-secondary"><i class="fa fa-remove"></i> <?php echo getMLText("rm_attrdef")?></button>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for BackupTools view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_BackupTools extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
@ -68,7 +68,7 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentContainerStart();
|
||||
print "<form class=\"form-inline\" action=\"../op/op.CreateVersioningFiles.php\" name=\"form1\">";
|
||||
$this->printFolderChooserHtml("form1",M_READWRITE);
|
||||
print "<input type='submit' class='btn' name='' value='".getMLText("versioning_file_creation")."'/>";
|
||||
print "<input type='submit' class='btn btn-primary' name='' value='".getMLText("versioning_file_creation")."'/>";
|
||||
print "</form>\n";
|
||||
|
||||
$this->contentContainerEnd();
|
||||
|
|
@ -83,7 +83,7 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
|
|||
print "<form action=\"../op/op.CreateFolderArchive.php\" name=\"form2\">";
|
||||
$this->printFolderChooserHtml("form2",M_READWRITE);
|
||||
print "<label class=\"checkbox\"><input type=\"checkbox\" name=\"human_readable\" value=\"1\">".getMLText("human_readable")."</label>";
|
||||
print "<input type='submit' class='btn' name='' value='".getMLText("archive_creation")."'/>";
|
||||
print "<input type='submit' class='btn btn-primary' name='' value='".getMLText("archive_creation")."'/>";
|
||||
print "</form>\n";
|
||||
}
|
||||
|
||||
|
|
@ -147,7 +147,7 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
|
|||
|
||||
if($accessop->check_controller_access('CreateDump', array('action'=>'run'))) {
|
||||
print "<form action=\"../op/op.CreateDump.php\" name=\"form4\">";
|
||||
print "<input type='submit' class='btn' name='' value='".getMLText("dump_creation")."'/>";
|
||||
print "<input type='submit' class='btn btn-primary' name='' value='".getMLText("dump_creation")."'/>";
|
||||
print "</form>\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
|
||||
class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
||||
class SeedDMS_Theme_Style extends SeedDMS_View_Common {
|
||||
/**
|
||||
* @var string $extraheader extra html code inserted in the html header
|
||||
* of the page
|
||||
|
|
@ -79,12 +79,8 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
|||
header($name . ": " . $value);
|
||||
}
|
||||
}
|
||||
$hookObjs = $this->getHookObjects('SeedDMS_View_Bootstrap');
|
||||
foreach($hookObjs as $hookObj) {
|
||||
if (method_exists($hookObj, 'startPage')) {
|
||||
$hookObj->startPage($this);
|
||||
}
|
||||
}
|
||||
if($this->hasHook('startPage'))
|
||||
$this->callHook('startPage');
|
||||
echo "<!DOCTYPE html>\n";
|
||||
echo "<html lang=\"en\">\n<head>\n";
|
||||
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
|
||||
|
|
@ -103,8 +99,8 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
|||
echo '<link href="../styles/'.$this->theme.'/chosen/css/chosen.css" rel="stylesheet">'."\n";
|
||||
echo '<link href="../views/'.$this->theme.'/vendors/select2/css/select2.min.css" rel="stylesheet">'."\n";
|
||||
echo '<link href="../styles/'.$this->theme.'/select2/css/select2-bootstrap.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 '<link href="../views/'.$this->theme.'/vendors/jqtree/jqtree.css" rel="stylesheet">'."\n";
|
||||
echo '<link href="../views/'.$this->theme.'/styles/application.css" rel="stylesheet">'."\n";
|
||||
if($this->extraheader['css'])
|
||||
echo $this->extraheader['css'];
|
||||
if(method_exists($this, 'css'))
|
||||
|
|
@ -118,8 +114,10 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
|||
echo '<script type="text/javascript" src="../views/'.$this->theme.'/vendors/noty/layouts/topRight.js"></script>'."\n";
|
||||
echo '<script type="text/javascript" src="../views/'.$this->theme.'/vendors/noty/layouts/topCenter.js"></script>'."\n";
|
||||
echo '<script type="text/javascript" src="../views/'.$this->theme.'/vendors/noty/themes/default.js"></script>'."\n";
|
||||
echo '<script type="text/javascript" src="../styles/'.$this->theme.'/jqtree/tree.jquery.js"></script>'."\n";
|
||||
// echo '<script type="text/javascript" src="../styles/'.$this->theme.'/jquery-cookie/jquery.cookie.js"></script>'."\n";
|
||||
echo '<script type="text/javascript" src="../views/'.$this->theme.'/vendors/jqtree/tree.jquery.js"></script>'."\n";
|
||||
echo '<script type="text/javascript" src="../views/'.$this->theme.'/vendors/bootbox/bootbox.min.js"></script>'."\n";
|
||||
// echo '<script type="text/javascript" src="../views/'.$this->theme.'/vendors/bootbox/bootbox.min.js"></script>'."\n";
|
||||
// echo '<script type="text/javascript" src="../views/'.$this->theme.'/vendors/bootbox/bootbox.locales.js"></script>'."\n";
|
||||
if(!empty($this->extraheader['favicon']))
|
||||
echo $this->extraheader['favicon'];
|
||||
else {
|
||||
|
|
@ -145,11 +143,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo "<div class=\"splash\" data-type=\"".$flashmsg['type']."\"".(!empty($flashmsg['timeout']) ? ' data-timeout="'.$flashmsg['timeout'].'"': '').">".$flashmsg['msg']."</div>\n";
|
||||
}
|
||||
echo "<div class=\"statusbar-container\"><h1>".getMLText('recent_uploads')."</h1></div>\n";
|
||||
foreach($hookObjs as $hookObj) {
|
||||
if (method_exists($hookObj, 'startBody')) {
|
||||
$hookObj->startBody($this);
|
||||
}
|
||||
}
|
||||
if($this->hasHook('startBody'))
|
||||
$this->callHook('startBody');
|
||||
} /* }}} */
|
||||
|
||||
function htmlAddHeader($head, $type='js') { /* {{{ */
|
||||
|
|
@ -164,13 +159,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
function htmlEndPage($nofooter=false) { /* {{{ */
|
||||
if(!$nofooter) {
|
||||
$hookObjs = $this->getHookObjects('SeedDMS_View_Bootstrap');
|
||||
$html = $this->footNote();
|
||||
foreach($hookObjs as $hookObj) {
|
||||
if (method_exists($hookObj, 'footNote')) {
|
||||
$html = $hookObj->footNote($this, $html);
|
||||
}
|
||||
}
|
||||
if($this->hasHook('footNote'))
|
||||
$html = $this->callHook('footNote', $html);
|
||||
echo $html;
|
||||
if($this->params['showmissingtranslations']) {
|
||||
$this->missingLanguageKeys();
|
||||
|
|
@ -182,13 +173,13 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
foreach(array('de', 'es', 'ar', 'el', 'bg', 'ru', 'hr', 'hu', 'ko', 'pl', 'ro', 'sk', 'tr', 'uk', 'ca', 'nl', 'fi', 'cs', 'it', 'fr', 'sv', 'sl', 'pt-BR', 'zh-CN', 'zh-TW') as $lang)
|
||||
echo '<script src="../views/'.$this->theme.'/vendors/bootstrap-datepicker/locales/bootstrap-datepicker.'.$lang.'.min.js"></script>'."\n";
|
||||
echo '<script src="../styles/'.$this->theme.'/chosen/js/chosen.jquery.min.js"></script>'."\n";
|
||||
echo '<script src="../styles/'.$this->theme.'/select2/js/select2.min.js"></script>'."\n";
|
||||
echo '<script src="../views/'.$this->theme.'/vendors/select2/js/select2.min.js"></script>'."\n";
|
||||
parse_str($_SERVER['QUERY_STRING'], $tmp);
|
||||
$tmp['action'] = 'webrootjs';
|
||||
if(isset($tmp['formtoken']))
|
||||
unset($tmp['formtoken']);
|
||||
echo '<script src="'.$this->params['absbaseprefix'].'out/out.'.$this->params['class'].'.php?'.http_build_query($tmp).'"></script>'."\n";
|
||||
echo '<script src="../styles/'.$this->theme.'/application.js"></script>'."\n";
|
||||
echo '<script src="../views/'.$this->theme.'/styles/application.js"></script>'."\n";
|
||||
if($this->params['enablemenutasks'] && isset($this->params['user']) && $this->params['user']) {
|
||||
$this->addFooterJS('SeedDMSTask.run();');
|
||||
}
|
||||
|
|
@ -244,10 +235,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
global $MISSING_LANG, $LANG;
|
||||
if($MISSING_LANG) {
|
||||
echo '<div class="container-fluid">'."\n";
|
||||
echo '<div class="row-fluid">'."\n";
|
||||
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>";
|
||||
$this->rowStart();
|
||||
$this->columnStart(12);
|
||||
echo $this->errorMsg("This page contains missing translations in the selected language. Please help to improve SeedDMS and provide the translation.");
|
||||
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) {
|
||||
|
|
@ -256,7 +246,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo "</table>";
|
||||
echo "<div class=\"splash\" data-type=\"error\" data-timeout=\"5500\"><b>There are missing translations on this page!</b><br />Please check the bottom of the page.</div>\n";
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
$this->columnEnd();
|
||||
$this->rowEnd();
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
|
|
@ -281,13 +272,13 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
} /* }}} */
|
||||
|
||||
function contentStart() { /* {{{ */
|
||||
echo "<div class=\"container-fluid\">\n";
|
||||
echo "<main role=\"main\" class=\"container-fluid\">\n";
|
||||
echo " <div class=\"row-fluid\">\n";
|
||||
} /* }}} */
|
||||
|
||||
function contentEnd() { /* {{{ */
|
||||
echo " </div>\n";
|
||||
echo "</div>\n";
|
||||
echo "</main>\n";
|
||||
} /* }}} */
|
||||
|
||||
function globalBanner() { /* {{{ */
|
||||
|
|
@ -382,6 +373,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " <span class=\"fa fa-bars\"></span>\n";
|
||||
echo " </a>\n";
|
||||
echo " <a class=\"brand\" href=\"../out/out.ViewFolder.php?folderid=".$this->params['dms']->getRootFolder()->getId()."\">".(strlen($this->params['sitename'])>0 ? $this->params['sitename'] : "SeedDMS")."</a>\n";
|
||||
|
||||
/* user profile menu {{{ */
|
||||
if(isset($this->params['session']) && isset($this->params['user']) && $this->params['user']) {
|
||||
echo " <div class=\"nav-collapse nav-col1\">\n";
|
||||
echo " <ul id=\"main-menu-admin\" class=\"nav pull-right\">\n";
|
||||
|
|
@ -396,12 +389,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$menuitems['my_account'] = array('link'=>"../out/out.MyAccount.php", 'label'=>'my_account');
|
||||
if ($accessobject->check_view_access('TransmittalMgr'))
|
||||
$menuitems['my_transmittals'] = array('link'=>"../out/out.TransmittalMgr.php", 'label'=>'my_transmittals');
|
||||
$hookObjs = $this->getHookObjects('SeedDMS_View_Bootstrap');
|
||||
foreach($hookObjs as $hookObj) {
|
||||
if (method_exists($hookObj, 'userMenuItems')) {
|
||||
$menuitems = $hookObj->userMenuItems($this, $menuitems);
|
||||
}
|
||||
}
|
||||
if($this->hasHook('userMenuItems'))
|
||||
$menuitems = $this->callHook('userMenuItems', $menuitems);
|
||||
if($menuitems) {
|
||||
foreach($menuitems as $menuitem) {
|
||||
echo "<li><a href=\"".$menuitem['link']."\">".getMLText($menuitem['label'])."</a></li>";
|
||||
|
|
@ -449,7 +438,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " </ul>\n";
|
||||
echo " </li>\n";
|
||||
echo " </ul>\n";
|
||||
/* }}} End of user profile menu */
|
||||
|
||||
/* menu tasks {{{ */
|
||||
if($this->params['enablemenutasks']) {
|
||||
if($accessobject->check_view_access('Tasks', array('action'=>'menuTasks'))) {
|
||||
echo " <div id=\"menu-tasks\">";
|
||||
|
|
@ -463,7 +454,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
//$this->addFooterJS('checkTasks();');
|
||||
}
|
||||
}
|
||||
/* }}} End of menu tasks */
|
||||
|
||||
/* drop folder dir {{{ */
|
||||
if($this->params['dropfolderdir'] && $this->params['enabledropfolderlist']) {
|
||||
echo " <div id=\"menu-dropfolder\">";
|
||||
echo " <div class=\"ajax\" data-no-spinner=\"true\" data-view=\"DropFolderChooser\" data-action=\"menuList\"";
|
||||
|
|
@ -472,16 +465,23 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo "></div>";
|
||||
echo " </div>";
|
||||
}
|
||||
/* }}} End of drop folder dir */
|
||||
|
||||
/* session list {{{ */
|
||||
if($this->params['enablesessionlist']) {
|
||||
echo " <div id=\"menu-session\">";
|
||||
echo " <div class=\"ajax\" data-no-spinner=\"true\" data-view=\"Session\" data-action=\"menuSessions\"></div>";
|
||||
echo " </div>";
|
||||
}
|
||||
/* }}} End of session list */
|
||||
|
||||
/* clipboard {{{ */
|
||||
if($this->params['enableclipboard']) {
|
||||
echo " <div id=\"menu-clipboard\">";
|
||||
echo " <div class=\"ajax\" data-no-spinner=\"true\" data-view=\"Clipboard\" data-action=\"menuClipboard\" data-query=\"folderid=".($folder != null ? $folder->getID() : 0)."\"></div>";
|
||||
echo " </div>";
|
||||
}
|
||||
/* }}} End of clipboard */
|
||||
|
||||
echo " <ul class=\"nav\">\n";
|
||||
$menuitems = array();
|
||||
|
|
@ -492,11 +492,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$menuitems['help'] = array('link'=>'../out/out.Help.php?context='.$tmp[1], 'label'=>"help");
|
||||
}
|
||||
/* Check if hook exists because otherwise callHook() will override $menuitems */
|
||||
foreach($hookObjs as $hookObj) {
|
||||
if (method_exists($hookObj, 'globalNavigationBar')) {
|
||||
$menuitems = $hookObj->globalNavigationBar($this, $menuitems);
|
||||
}
|
||||
}
|
||||
if($this->hasHook('globalNavigationBar'))
|
||||
$menuitems = $this->callHook('globalNavigationBar', $menuitems);
|
||||
foreach($menuitems as $menuitem) {
|
||||
if(!empty($menuitem['children'])) {
|
||||
echo " <li class=\"dropdown\">\n";
|
||||
|
|
@ -511,6 +508,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
}
|
||||
}
|
||||
echo " </ul>\n";
|
||||
|
||||
/* search form {{{ */
|
||||
echo " <form action=\"../out/out.Search.php\" class=\"form-inline navbar-search pull-left\" autocomplete=\"off\">";
|
||||
if ($folder!=null && is_object($folder) && $folder->isType('folder')) {
|
||||
echo " <input type=\"hidden\" name=\"folderid\" value=\"".$folder->getID()."\" />";
|
||||
|
|
@ -524,6 +523,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
// }
|
||||
// echo " <input type=\"submit\" value=\"".getMLText("search")."\" id=\"searchButton\" class=\"btn\"/>";
|
||||
echo "</form>\n";
|
||||
/* }}} End of search form */
|
||||
echo " </div>\n";
|
||||
}
|
||||
echo " </div>\n";
|
||||
|
|
@ -603,69 +603,155 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
return;
|
||||
} /* }}} */
|
||||
|
||||
protected function showNavigationBar($menuitems) { /* {{{ */
|
||||
protected function showNavigationBar($menuitems, $options = array()) { /* {{{ */
|
||||
$content = '';
|
||||
$content .= "<ul".(isset($options['id']) ? ' id="'.$options['id'].'"' : '')." class=\"nav".(isset($options['right']) ? ' pull-right' : '')."\">\n";
|
||||
foreach($menuitems as $menuitem) {
|
||||
if(!empty($menuitem['children'])) {
|
||||
echo " <li class=\"dropdown\">\n";
|
||||
echo " <a class=\"dropdown-toggle\" data-toggle=\"dropdown\">".getMLText($menuitem['label'])." <i class=\"fa fa-caret-down\"></i></a>\n";
|
||||
echo " <ul class=\"dropdown-menu\" role=\"menu\">\n";
|
||||
$content .= " <li class=\"dropdown\">\n";
|
||||
$content .= " <a class=\"dropdown-toggle\" data-toggle=\"dropdown\">".$menuitem['label']." <i class=\"fa fa-caret-down\"></i></a>\n";
|
||||
$content .= " <ul class=\"dropdown-menu\" role=\"menu\">\n";
|
||||
foreach($menuitem['children'] as $submenuitem) {
|
||||
echo " <li><a href=\"".$submenuitem['link']."\"".(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '').">".getMLText($submenuitem['label'])."</a></li>\n";
|
||||
if(!empty($submenuitem['children'])) {
|
||||
$content .= " <li class=\"dropdown-submenu\">\n";
|
||||
$content .= " <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">".$submenuitem['label']."</a>\n";
|
||||
$content .= " <ul class=\"dropdown-menu\" role=\"menu\">\n";
|
||||
foreach($submenuitem['children'] as $subsubmenuitem) {
|
||||
if(!empty($submenuitem['divider'])) {
|
||||
$content .= " <li class=\"divider\"></li>\n";
|
||||
} else {
|
||||
$content .= " <li><a href=\"".$subsubmenuitem['link']."\"".(isset($subsubmenuitem['class']) ? " class=\"".$subsubmenuitem['class']."\"" : "").(isset($subsubmenuitem['rel']) ? " rel=\"".$subsubmenuitem['rel']."\"" : "");
|
||||
if(!empty($subsubmenuitem['attributes']))
|
||||
foreach($subsubmenuitem['attributes'] as $attr)
|
||||
$content .= ' '.$attr[0].'="'.$attr[1].'"';
|
||||
$content .= ">".$subsubmenuitem['label']."</a></li>";
|
||||
}
|
||||
}
|
||||
$content .= " </ul>\n";
|
||||
$content .= " </li>\n";
|
||||
} else {
|
||||
if(!empty($submenuitem['divider'])) {
|
||||
$content .= " <li class=\"divider\"></li>\n";
|
||||
} else {
|
||||
$content .= " <li><a".(isset($submenuitem['link']) ? " href=\"".$submenuitem['link']."\"" : "").(isset($submenuitem['class']) ? " class=\"".$submenuitem['class']."\"" : "").(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '');
|
||||
if(!empty($submenuitem['attributes']))
|
||||
foreach($submenuitem['attributes'] as $attr)
|
||||
$content .= ' '.$attr[0].'="'.$attr[1].'"';
|
||||
$content .= ">".$submenuitem['label']."</a></li>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
echo " </ul>\n";
|
||||
$content .= " </ul>\n";
|
||||
} else {
|
||||
echo "<li><a href=\"".$menuitem['link']."\"".(isset($menuitem['target']) ? ' target="'.$menuitem['target'].'"' : '').">".getMLText($menuitem['label'])."</a></li>";
|
||||
if(!empty($submenuitem['divider'])) {
|
||||
$content .= " <li class=\"divider\"></li>\n";
|
||||
} else {
|
||||
$content .= "<li><a".(isset($menuitem['link']) ? " href=\"".$menuitem['link']."\"" : "").(isset($menuitem['target']) ? ' target="'.$menuitem['target'].'"' : '').">";
|
||||
if(!empty($menuitem['attributes']))
|
||||
foreach($menuitem['attributes'] as $attr)
|
||||
$content .= ' '.$attr[0].'="'.$attr[1].'"';
|
||||
$content .= $menuitem['label']."</a></li>";
|
||||
}
|
||||
}
|
||||
}
|
||||
$content .= "</ul>\n";
|
||||
echo $content;
|
||||
} /* }}} */
|
||||
|
||||
protected function showNavigationListWithBadges($menuitems, $options=array()) { /* {{{ */
|
||||
$content = '';
|
||||
$content .= "<ul".(isset($options['id']) ? ' id="'.$options['id'].'"' : '')." class=\"nav nav-list sidenav bs-docs-sidenav\">\n";
|
||||
foreach($menuitems as $menuitem) {
|
||||
$content .= " <li class=\"\">\n";
|
||||
$content .= ' <a';
|
||||
$content .= !empty($menuitem['link']) ? 'href="'.$menuitem['link'].'"' : '';
|
||||
if(!empty($menuitem['attributes']))
|
||||
foreach($menuitem['attributes'] as $attr)
|
||||
$content .= ' '.$attr[0].'="'.$attr[1].'"';
|
||||
$content .= '>';
|
||||
$content .= $menuitem['label'];
|
||||
$content .= '<span class="badge badge-right">'.$menuitem['badge']."</span>";
|
||||
$content .= ' </a>'."\n";
|
||||
$content .= " </li>\n";
|
||||
}
|
||||
|
||||
$content .= "</ul>\n";
|
||||
echo $content;
|
||||
} /* }}} */
|
||||
|
||||
protected function showButtonwithMenu($button, $options=array()) { /* {{{ */
|
||||
$content = '';
|
||||
$content .= '
|
||||
<div class="btn-group">
|
||||
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
||||
'.$button['label'].'
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
';
|
||||
if($button['menuitems']) {
|
||||
$content .= '
|
||||
<ul class="dropdown-menu">
|
||||
';
|
||||
foreach($button['menuitems'] as $menuitem) {
|
||||
$content .= '
|
||||
<li><a href="'.$menuitem['link'].'">'.$menuitem['label'].'</a><li>
|
||||
';
|
||||
}
|
||||
$content .= '
|
||||
</ul>
|
||||
';
|
||||
}
|
||||
$content .= '
|
||||
</div>
|
||||
';
|
||||
echo $content;
|
||||
} /* }}} */
|
||||
|
||||
private function folderNavigationBar($folder) { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$accessobject = $this->params['accessobject'];
|
||||
if (!is_object($folder) || !$folder->isType('folder')) {
|
||||
echo "<ul class=\"nav\">\n";
|
||||
echo "</ul>\n";
|
||||
self::showNavigationBar(array());
|
||||
return;
|
||||
}
|
||||
$accessMode = $folder->getAccessMode($this->params['user']);
|
||||
$folderID = $folder->getID();
|
||||
echo "<id=\"first\"><a href=\"../out/out.ViewFolder.php?folderid=". $folderID ."&showtree=".showtree()."\" class=\"brand\">".getMLText("folder")."</a>\n";
|
||||
echo "<div class=\"nav-collapse col2\">\n";
|
||||
echo "<ul class=\"nav\">\n";
|
||||
$menuitems = array();
|
||||
|
||||
if ($accessMode == M_READ) {
|
||||
if ($accessMode == M_READ && !$this->params['user']->isGuest()) {
|
||||
if ($accessobject->check_view_access('FolderNotify'))
|
||||
$menuitems['edit_folder_notify'] = array('link'=>"../out/out.FolderNotify.php?folderid=".$folderID."&showtree=".showtree(), 'label'=>'edit_folder_notify');
|
||||
$menuitems['edit_folder_notify'] = array('link'=>"../out/out.FolderNotify.php?folderid=".$folderID."&showtree=".showtree(), 'label'=>getMLText('edit_folder_notify'));
|
||||
}
|
||||
else if ($accessMode >= M_READWRITE) {
|
||||
if ($accessobject->check_view_access('AddSubFolder'))
|
||||
$menuitems['add_subfolder'] = array('link'=>"../out/out.AddSubFolder.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>'add_subfolder');
|
||||
$menuitems['add_subfolder'] = array('link'=>"../out/out.AddSubFolder.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>getMLText('add_subfolder'));
|
||||
if ($accessobject->check_view_access('AddDocument'))
|
||||
$menuitems['add_document'] = array('link'=>"../out/out.AddDocument.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>'add_document');
|
||||
$menuitems['add_document'] = array('link'=>"../out/out.AddDocument.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>getMLText('add_document'));
|
||||
if(0 && $this->params['enablelargefileupload'])
|
||||
$menuitems['add_multiple_documents'] = array('link'=>"../out/out.AddMultiDocument.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>'add_multiple_documents');
|
||||
$menuitems['edit_folder_props'] = array('link'=>"../out/out.EditFolder.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>'edit_folder_props');
|
||||
$menuitems['add_multiple_documents'] = array('link'=>"../out/out.AddMultiDocument.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>getMLText('add_multiple_documents'));
|
||||
$menuitems['edit_folder_props'] = array('link'=>"../out/out.EditFolder.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>getMLText('edit_folder_props'));
|
||||
if ($folderID != $this->params['rootfolderid'] && $folder->getParent())
|
||||
$menuitems['move_folder'] = array('link'=>"../out/out.MoveFolder.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>'move_folder');
|
||||
$menuitems['move_folder'] = array('link'=>"../out/out.MoveFolder.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>getMLText('move_folder'));
|
||||
|
||||
if ($accessMode == M_ALL) {
|
||||
if ($folderID != $this->params['rootfolderid'] && $folder->getParent())
|
||||
if ($accessobject->check_view_access('RemoveFolder'))
|
||||
$menuitems['rm_folder'] = array('link'=>"../out/out.RemoveFolder.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>'rm_folder');
|
||||
$menuitems['rm_folder'] = array('link'=>"../out/out.RemoveFolder.php?folderid=". $folderID ."&showtree=".showtree(), 'label'=>getMLText('rm_folder'));
|
||||
}
|
||||
if ($accessMode == M_ALL) {
|
||||
if ($accessobject->check_view_access('FolderAccess'))
|
||||
$menuitems['edit_folder_access'] = array('link'=>"../out/out.FolderAccess.php?folderid=".$folderID."&showtree=".showtree(), 'label'=>'edit_folder_access');
|
||||
$menuitems['edit_folder_access'] = array('link'=>"../out/out.FolderAccess.php?folderid=".$folderID."&showtree=".showtree(), 'label'=>getMLText('edit_folder_access'));
|
||||
}
|
||||
if ($accessobject->check_view_access('FolderNotify'))
|
||||
$menuitems['edit_existing_notify'] = array('link'=>"../out/out.FolderNotify.php?folderid=". $folderID ."&showtree=". showtree(), 'label'=>'edit_existing_notify');
|
||||
$menuitems['edit_existing_notify'] = array('link'=>"../out/out.FolderNotify.php?folderid=". $folderID ."&showtree=". showtree(), 'label'=>getMLText('edit_existing_notify'));
|
||||
if ($accessMode == M_ALL) {
|
||||
$menuitems['edit_folder_attrdefgrp'] = array('link'=>"../out/out.FolderAttributeGroup.php?folderid=".$folderID."&showtree=".showtree(), 'label'=>'edit_folder_attrdefgrp');
|
||||
}
|
||||
}
|
||||
if ($accessobject->check_view_access('Indexer') && $this->params['enablefullsearch']) {
|
||||
$menuitems['index_folder'] = array('link'=>"../out/out.Indexer.php?folderid=". $folderID."&showtree=".showtree(), 'label'=>'index_folder');
|
||||
$menuitems['index_folder'] = array('link'=>"../out/out.Indexer.php?folderid=". $folderID."&showtree=".showtree(), 'label'=>getMLText('index_folder'));
|
||||
}
|
||||
|
||||
/* Check if hook exists because otherwise callHook() will override $menuitems */
|
||||
|
|
@ -674,9 +760,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
self::showNavigationBar($menuitems);
|
||||
|
||||
echo "</ul>\n";
|
||||
echo "</div>\n";
|
||||
return;
|
||||
} /* }}} */
|
||||
|
||||
private function documentNavigationBar($document) { /* {{{ */
|
||||
|
|
@ -685,62 +769,61 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$docid=".php?documentid=" . $document->getID();
|
||||
echo "<id=\"first\"><a href=\"../out/out.ViewDocument". $docid ."\" class=\"brand\">".getMLText("document")."</a>\n";
|
||||
echo "<div class=\"nav-collapse col2\">\n";
|
||||
echo "<ul class=\"nav\">\n";
|
||||
$menuitems = array();
|
||||
|
||||
if ($accessMode >= M_READWRITE) {
|
||||
if (!$document->isLocked()) {
|
||||
if($accessobject->check_controller_access('UpdateDocument'))
|
||||
$menuitems['update_document'] = array('link'=>"../out/out.UpdateDocument".$docid, 'label'=>'update_document');
|
||||
$menuitems['update_document'] = array('link'=>"../out/out.UpdateDocument".$docid, 'label'=>getMLText('update_document'));
|
||||
if($accessobject->check_controller_access('LockDocument'))
|
||||
$menuitems['lock_document'] = array('link'=>"../op/op.LockDocument".$docid, 'label'=>'lock_document');
|
||||
$menuitems['lock_document'] = array('link'=>"../op/op.LockDocument".$docid, 'label'=>getMLText('lock_document'));
|
||||
if($document->isCheckedOut())
|
||||
$menuitems['checkin_document'] = array('link'=>"../out/out.CheckInDocument".$docid, 'label'=>'checkin_document');
|
||||
$menuitems['checkin_document'] = array('link'=>"../out/out.CheckInDocument".$docid, 'label'=>getMLText('checkin_document'));
|
||||
else {
|
||||
if($this->params['checkoutdir']) {
|
||||
$menuitems['checkout_document'] = array('link'=>"../op/op.CheckOutDocument".$docid, 'label'=>'checkout_document');
|
||||
$menuitems['checkout_document'] = array('link'=>"../op/op.CheckOutDocument".$docid, 'label'=>getMLText('checkout_document'));
|
||||
}
|
||||
}
|
||||
if($accessobject->check_controller_access('EditDocument'))
|
||||
$menuitems['edit_document_props'] = array('link'=>"../out/out.EditDocument".$docid , 'label'=>'edit_document_props');
|
||||
$menuitems['move_document'] = array('link'=>"../out/out.MoveDocument".$docid, 'label'=>'move_document');
|
||||
$menuitems['edit_document_props'] = array('link'=>"../out/out.EditDocument".$docid , 'label'=>getMLText('edit_document_props'));
|
||||
$menuitems['move_document'] = array('link'=>"../out/out.MoveDocument".$docid, 'label'=>getMLText('move_document'));
|
||||
}
|
||||
else {
|
||||
$lockingUser = $document->getLockingUser();
|
||||
if (($lockingUser->getID() == $this->params['user']->getID()) || ($document->getAccessMode($this->params['user']) == M_ALL)) {
|
||||
if($accessobject->check_controller_access('UpdateDocument'))
|
||||
$menuitems['update_document'] = array('link'=>"../out/out.UpdateDocument".$docid, 'label'=>'update_document');
|
||||
$menuitems['update_document'] = array('link'=>"../out/out.UpdateDocument".$docid, 'label'=>getMLText('update_document'));
|
||||
if($accessobject->check_controller_access('UnlockDocument'))
|
||||
$menuitems['unlock_document'] = array('link'=>"../op/op.UnlockDocument".$docid, 'label'=>'unlock_document');
|
||||
$menuitems['unlock_document'] = array('link'=>"../op/op.UnlockDocument".$docid, 'label'=>getMLText('unlock_document'));
|
||||
if($document->isCheckedOut()) {
|
||||
$menuitems['checkin_document'] = array('link'=>"../out/out.CheckInDocument".$docid, 'label'=>'checkin_document');
|
||||
$menuitems['checkin_document'] = array('link'=>"../out/out.CheckInDocument".$docid, 'label'=>getMLText('checkin_document'));
|
||||
} else {
|
||||
if($this->params['checkoutdir']) {
|
||||
$menuitems['checkout_document'] = array('link'=>"../op/op.CheckOutDocument".$docid, 'label'=>'checkout_document');
|
||||
$menuitems['checkout_document'] = array('link'=>"../op/op.CheckOutDocument".$docid, 'label'=>getMLText('checkout_document'));
|
||||
}
|
||||
}
|
||||
if($accessobject->check_controller_access('EditDocument'))
|
||||
$menuitems['edit_document_props'] = array('link'=>"../out/out.EditDocument".$docid, 'label'=>'edit_document_props');
|
||||
$menuitems['move_document'] = array('link'=>"../out/out.MoveDocument".$docid, 'label'=>'move_document');
|
||||
$menuitems['edit_document_props'] = array('link'=>"../out/out.EditDocument".$docid, 'label'=>getMLText('edit_document_props'));
|
||||
$menuitems['move_document'] = array('link'=>"../out/out.MoveDocument".$docid, 'label'=>getMLText('move_document'));
|
||||
}
|
||||
}
|
||||
if($accessobject->maySetExpires($document)) {
|
||||
if ($accessobject->check_view_access('SetExpires'))
|
||||
$menuitems['expires'] = array('link'=>"../out/out.SetExpires".$docid, 'label'=>'expires');
|
||||
$menuitems['expires'] = array('link'=>"../out/out.SetExpires".$docid, 'label'=>getMLText('expires'));
|
||||
}
|
||||
}
|
||||
if ($accessMode == M_ALL) {
|
||||
if ($accessobject->check_view_access('RemoveDocument'))
|
||||
$menuitems['rm_document'] = array('link'=>"../out/out.RemoveDocument".$docid, 'label'=>'rm_document');
|
||||
$menuitems['rm_document'] = array('link'=>"../out/out.RemoveDocument".$docid, 'label'=>getMLText('rm_document'));
|
||||
if ($accessobject->check_view_access('DocumentAccess'))
|
||||
$menuitems['edit_document_access'] = array('link'=>"../out/out.DocumentAccess". $docid, 'label'=>'edit_document_access');
|
||||
$menuitems['edit_document_access'] = array('link'=>"../out/out.DocumentAccess". $docid, 'label'=>getMLText('edit_document_access'));
|
||||
}
|
||||
if ($accessMode >= M_READ) {
|
||||
if ($accessobject->check_view_access('DocumentNotify'))
|
||||
$menuitems['edit_existing_notify'] = array('link'=>"../out/out.DocumentNotify". $docid, 'label'=>'edit_existing_notify');
|
||||
$menuitems['edit_existing_notify'] = array('link'=>"../out/out.DocumentNotify". $docid, 'label'=>getMLText('edit_existing_notify'));
|
||||
}
|
||||
if ($accessobject->check_view_access('TransferDocument')) {
|
||||
$menuitems['transfer_document'] = array('link'=>"../out/out.TransferDocument". $docid, 'label'=>'transfer_document');
|
||||
$menuitems['transfer_document'] = array('link'=>"../out/out.TransferDocument". $docid, 'label'=>getMLText('transfer_document'));
|
||||
}
|
||||
|
||||
/* Check if hook exists because otherwise callHook() will override $menuitems */
|
||||
|
|
@ -761,25 +844,22 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
self::showNavigationBar($menuitems);
|
||||
|
||||
echo "</ul>\n";
|
||||
echo "</div>\n";
|
||||
return;
|
||||
} /* }}} */
|
||||
|
||||
private function accountNavigationBar() { /* {{{ */
|
||||
$accessobject = $this->params['accessobject'];
|
||||
echo "<id=\"first\"><a href=\"../out/out.MyAccount.php\" class=\"brand\">".getMLText("my_account")."</a>\n";
|
||||
echo "<div class=\"nav-collapse col2\">\n";
|
||||
echo "<ul class=\"nav\">\n";
|
||||
|
||||
$menuitems = array();
|
||||
if ($accessobject->check_view_access('EditUserData') || !$this->params['disableselfedit'])
|
||||
$menuitems['edit_user_details'] = array('link'=>"../out/out.EditUserData.php", 'label'=>'edit_user_details');
|
||||
$menuitems['edit_user_details'] = array('link'=>"../out/out.EditUserData.php", 'label'=>getMLText('edit_user_details'));
|
||||
|
||||
if (!$this->params['user']->isAdmin())
|
||||
$menuitems['edit_default_keywords'] = array('link'=>"../out/out.UserDefaultKeywords.php", 'label'=>'edit_default_keywords');
|
||||
$menuitems['edit_default_keywords'] = array('link'=>"../out/out.UserDefaultKeywords.php", 'label'=>getMLText('edit_default_keywords'));
|
||||
|
||||
$menuitems['edit_notify'] = array('link'=>"../out/out.ManageNotify.php", 'label'=>'edit_existing_notify');
|
||||
$menuitems['edit_notify'] = array('link'=>"../out/out.ManageNotify.php", 'label'=>getMLText('edit_existing_notify'));
|
||||
|
||||
$menuitems['2_factor_auth'] = array('link'=>"../out/out.Setup2Factor.php", 'label'=>'2_factor_auth');
|
||||
|
||||
|
|
@ -787,9 +867,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
if ($this->params['enableusersview']){
|
||||
if ($accessobject->check_view_access('UsrView'))
|
||||
$menuitems['users'] = array('link'=>"../out/out.UsrView.php", 'label'=>'users');
|
||||
$menuitems['users'] = array('link'=>"../out/out.UsrView.php", 'label'=>getMLText('users'));
|
||||
if ($accessobject->check_view_access('GroupView'))
|
||||
$menuitems['groups'] = array('link'=>"../out/out.GroupView.php", 'label'=>'groups');
|
||||
$menuitems['groups'] = array('link'=>"../out/out.GroupView.php", 'label'=>getMLText('groups'));
|
||||
}
|
||||
|
||||
/* Check if hook exists because otherwise callHook() will override $menuitems */
|
||||
|
|
@ -798,9 +878,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
self::showNavigationBar($menuitems);
|
||||
|
||||
echo "</ul>\n";
|
||||
echo "</div>\n";
|
||||
return;
|
||||
} /* }}} */
|
||||
|
||||
private function myDocumentsNavigationBar() { /* {{{ */
|
||||
|
|
@ -808,24 +886,23 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
echo "<id=\"first\"><a href=\"../out/out.MyDocuments.php\" class=\"brand\">".getMLText("my_documents")."</a>\n";
|
||||
echo "<div class=\"nav-collapse col2\">\n";
|
||||
echo "<ul class=\"nav\">\n";
|
||||
|
||||
$menuitems = array();
|
||||
$menuitems['inprocess'] = array('link'=>"../out/out.MyDocuments.php?inProcess=1", 'label'=>'documents_in_process');
|
||||
$menuitems['all_documents'] = array('link'=>"../out/out.MyDocuments.php", 'label'=>'all_documents');
|
||||
$menuitems['inprocess'] = array('link'=>"../out/out.MyDocuments.php?inProcess=1", 'label'=>getMLText('documents_in_process'));
|
||||
$menuitems['all_documents'] = array('link'=>"../out/out.MyDocuments.php", 'label'=>getMLText('all_documents'));
|
||||
if($this->params['workflowmode'] == 'traditional' || $this->params['workflowmode'] == 'traditional_only_approval') {
|
||||
if ($accessobject->check_view_access('ReviewSummary'))
|
||||
$menuitems['review_summary'] = array('link'=>"../out/out.ReviewSummary.php", 'label'=>'review_summary');
|
||||
$menuitems['review_summary'] = array('link'=>"../out/out.ReviewSummary.php", 'label'=>getMLText('review_summary'));
|
||||
if ($accessobject->check_view_access('ApprovalSummary'))
|
||||
$menuitems['approval_summary'] = array('link'=>"../out/out.ApprovalSummary.php", 'label'=>'approval_summary');
|
||||
$menuitems['approval_summary'] = array('link'=>"../out/out.ApprovalSummary.php", 'label'=>getMLText('approval_summary'));
|
||||
} else {
|
||||
if ($accessobject->check_view_access('WorkflowSummary'))
|
||||
$menuitems['workflow_summary'] = array('link'=>"../out/out.WorkflowSummary.php", 'label'=>'workflow_summary');
|
||||
$menuitems['workflow_summary'] = array('link'=>"../out/out.WorkflowSummary.php", 'label'=>getMLText('workflow_summary'));
|
||||
}
|
||||
if ($accessobject->check_view_access('ReceiptSummary'))
|
||||
$menuitems['receipt_summary'] = array('link'=>"../out/out.ReceiptSummary.php", 'label'=>'receipt_summary');
|
||||
$menuitems['receipt_summary'] = array('link'=>"../out/out.ReceiptSummary.php", 'label'=>getMLText('receipt_summary'));
|
||||
if ($accessobject->check_view_access('RevisionSummary'))
|
||||
$menuitems['revision_summary'] = array('link'=>"../out/out.RevisionSummary.php", 'label'=>'revision_summary');
|
||||
$menuitems['revision_summary'] = array('link'=>"../out/out.RevisionSummary.php", 'label'=>getMLText('revision_summary'));
|
||||
|
||||
/* Check if hook exists because otherwise callHook() will override $menuitems */
|
||||
if($this->hasHook('mydocumentsNavigationBar'))
|
||||
|
|
@ -833,9 +910,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
self::showNavigationBar($menuitems);
|
||||
|
||||
echo "</ul>\n";
|
||||
echo "</div>\n";
|
||||
return;
|
||||
} /* }}} */
|
||||
|
||||
private function adminToolsNavigationBar() { /* {{{ */
|
||||
|
|
@ -843,93 +918,93 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$settings = $this->params['settings'];
|
||||
echo " <id=\"first\"><a href=\"../out/out.AdminTools.php\" class=\"brand\">".getMLText("admin_tools")."</a>\n";
|
||||
echo "<div class=\"nav-collapse col2\">\n";
|
||||
echo " <ul class=\"nav\">\n";
|
||||
|
||||
$menuitems = array();
|
||||
if($accessobject->check_view_access(array('UsrMgr', 'RoleMgr', 'GroupMgr', 'UserList', 'Acl'))) {
|
||||
$menuitems['user_group_management'] = array('link'=>"#", 'label'=>'user_group_management');
|
||||
if ($accessobject->check_view_access('UsrMgr'))
|
||||
$menuitems['user_group_management']['children']['user_management'] = array('link'=>"../out/out.UsrMgr.php", 'label'=>'user_management');
|
||||
if ($accessobject->check_view_access('RoleMgr'))
|
||||
$menuitems['user_group_management']['children']['role_management'] = array('link'=>"../out/out.RoleMgr.php", 'label'=>'role_management');
|
||||
if ($accessobject->check_view_access('GroupMgr'))
|
||||
$menuitems['user_group_management']['children']['group_management'] = array('link'=>"../out/out.GroupMgr.php", 'label'=>'group_management');
|
||||
if ($accessobject->check_view_access('UserList'))
|
||||
$menuitems['user_group_management']['children']['user_list'] = array('link'=>"../out/out.UserList.php", 'label'=>'user_list');
|
||||
if ($accessobject->check_view_access('Acl'))
|
||||
$menuitems['user_group_management']['children']['access_control'] = array('link'=>"../out/out.Acl.php", 'label'=>'access_control');
|
||||
}
|
||||
$menuitems['user_group_management'] = array('link'=>"#", 'label'=>getMLText('user_group_management'));
|
||||
if ($accessobject->check_view_access('UsrMgr'))
|
||||
$menuitems['user_group_management']['children']['user_management'] = array('link'=>"../out/out.UsrMgr.php", 'label'=>getMLText('user_management'));
|
||||
if ($accessobject->check_view_access('RoleMgr'))
|
||||
$menuitems['user_group_management']['children']['role_management'] = array('link'=>"../out/out.RoleMgr.php", 'label'=>getMLText('role_management'));
|
||||
if ($accessobject->check_view_access('GroupMgr'))
|
||||
$menuitems['user_group_management']['children']['group_management'] = array('link'=>"../out/out.GroupMgr.php", 'label'=>getMLText('group_management'));
|
||||
if ($accessobject->check_view_access('UserList'))
|
||||
$menuitems['user_group_management']['children']['user_list'] = array('link'=>"../out/out.UserList.php", 'label'=>getMLText('user_list'));
|
||||
if ($accessobject->check_view_access('Acl'))
|
||||
$menuitems['user_group_management']['children']['access_control'] = array('link'=>"../out/out.Acl.php", 'label'=>getMLText('access_control'));
|
||||
}
|
||||
|
||||
if($accessobject->check_view_access(array('DefaultKeywords', 'Categories', 'AttributeMgr', 'WorkflowMgr', 'WorkflowStatesMgr', 'WorkflowActionsMgr'))) {
|
||||
$menuitems['definitions'] = array('link'=>"#", 'label'=>'definitions');
|
||||
if ($accessobject->check_view_access('DefaultKeywords'))
|
||||
$menuitems['definitions']['children']['default_keywords'] = array('link'=>"../out/out.DefaultKeywords.php", 'label'=>'global_default_keywords');
|
||||
if ($accessobject->check_view_access('Categories'))
|
||||
$menuitems['definitions']['children']['document_categories'] = array('link'=>"../out/out.Categories.php", 'label'=>'global_document_categories');
|
||||
if ($accessobject->check_view_access('AttributeMgr'))
|
||||
$menuitems['definitions']['children']['attribute_definitions'] = array('link'=>"../out/out.AttributeMgr.php", 'label'=>'global_attributedefinitions');
|
||||
$menuitems['definitions']['children']['attribute_definitiongroupss'] = array('link'=>"../out/out.AttributeGroupMgr.php", 'label'=>'global_attributedefinitiongroups');
|
||||
if($this->params['workflowmode'] == 'advanced') {
|
||||
if ($accessobject->check_view_access('WorkflowMgr'))
|
||||
$menuitems['definitions']['children']['workflows'] = array('link'=>"../out/out.WorkflowMgr.php", 'label'=>'global_workflows');
|
||||
if ($accessobject->check_view_access('WorkflowStatesMgr'))
|
||||
$menuitems['definitions']['children']['workflow_states'] = array('link'=>"../out/out.WorkflowStatesMgr.php", 'label'=>'global_workflow_states');
|
||||
if ($accessobject->check_view_access('WorkflowActionsMgr'))
|
||||
$menuitems['definitions']['children']['workflow_actions'] = array('link'=>"../out/out.WorkflowActionsMgr.php", 'label'=>'global_workflow_actions');
|
||||
}
|
||||
if($accessobject->check_view_access(array('DefaultKeywords', 'Categories', 'AttributeMgr', 'WorkflowMgr', 'WorkflowStatesMgr', 'WorkflowActionsMgr'))) {
|
||||
$menuitems['definitions'] = array('link'=>"#", 'label'=>getMLText('definitions'));
|
||||
if ($accessobject->check_view_access('DefaultKeywords'))
|
||||
$menuitems['definitions']['children']['default_keywords'] = array('link'=>"../out/out.DefaultKeywords.php", 'label'=>getMLText('global_default_keywords'));
|
||||
if ($accessobject->check_view_access('Categories'))
|
||||
$menuitems['definitions']['children']['document_categories'] = array('link'=>"../out/out.Categories.php", 'label'=>getMLText('global_document_categories'));
|
||||
if ($accessobject->check_view_access('AttributeMgr'))
|
||||
$menuitems['definitions']['children']['attribute_definitions'] = array('link'=>"../out/out.AttributeMgr.php", 'label'=>getMLText('global_attributedefinitions'));
|
||||
if ($accessobject->check_view_access('AttributeGroupMgr'))
|
||||
$menuitems['definitions']['children']['attribute_definitiongroupss'] = array('link'=>"../out/out.AttributeGroupMgr.php", 'label'=>getMLText('global_attributedefinitiongroups'));
|
||||
if($this->params['workflowmode'] == 'advanced') {
|
||||
if ($accessobject->check_view_access('WorkflowMgr'))
|
||||
$menuitems['definitions']['children']['workflows'] = array('link'=>"../out/out.WorkflowMgr.php", 'label'=>getMLText('global_workflows'));
|
||||
if ($accessobject->check_view_access('WorkflowStatesMgr'))
|
||||
$menuitems['definitions']['children']['workflow_states'] = array('link'=>"../out/out.WorkflowStatesMgr.php", 'label'=>getMLText('global_workflow_states'));
|
||||
if ($accessobject->check_view_access('WorkflowActionsMgr'))
|
||||
$menuitems['definitions']['children']['workflow_actions'] = array('link'=>"../out/out.WorkflowActionsMgr.php", 'label'=>getMLText('global_workflow_actions'));
|
||||
}
|
||||
}
|
||||
|
||||
if($this->params['enablefullsearch']) {
|
||||
if($accessobject->check_view_access(array('Indexer', 'CreateIndex', 'IndexInfo'))) {
|
||||
$menuitems['fulltext'] = array('link'=>"#", 'label'=>'fullsearch');
|
||||
$menuitems['fulltext'] = array('link'=>"#", 'label'=>getMLText('fullsearch'));
|
||||
if ($accessobject->check_view_access('Indexer'))
|
||||
$menuitems['fulltext']['children']['update_fulltext_index'] = array('link'=>"../out/out.Indexer.php", 'label'=>'update_fulltext_index');
|
||||
$menuitems['fulltext']['children']['update_fulltext_index'] = array('link'=>"../out/out.Indexer.php", 'label'=>getMLText('update_fulltext_index'));
|
||||
if ($accessobject->check_view_access('CreateIndex'))
|
||||
$menuitems['fulltext']['children']['create_fulltext_index'] = array('link'=>"../out/out.CreateIndex.php", 'label'=>'create_fulltext_index');
|
||||
$menuitems['fulltext']['children']['create_fulltext_index'] = array('link'=>"../out/out.CreateIndex.php", 'label'=>getMLText('create_fulltext_index'));
|
||||
if ($accessobject->check_view_access('IndexInfo'))
|
||||
$menuitems['fulltext']['children']['fulltext_info'] = array('link'=>"../out/out.IndexInfo.php", 'label'=>'fulltext_info');
|
||||
$menuitems['fulltext']['children']['fulltext_info'] = array('link'=>"../out/out.IndexInfo.php", 'label'=>getMLText('fulltext_info'));
|
||||
}
|
||||
}
|
||||
|
||||
if($accessobject->check_view_access(array('BackupTools', 'LogManagement'))) {
|
||||
$menuitems['backup_log_management'] = array('link'=>"#", 'label'=>'backup_log_management');
|
||||
if ($accessobject->check_view_access('BackupTools'))
|
||||
$menuitems['backup_log_management']['children'][] = array('link'=>"../out/out.BackupTools.php", 'label'=>'backup_tools');
|
||||
if ($this->params['logfileenable'])
|
||||
if ($accessobject->check_view_access('LogManagement'))
|
||||
$menuitems['backup_log_management']['children'][] = array('link'=>"../out/out.LogManagement.php", 'label'=>'log_management');
|
||||
$menuitems['backup_log_management'] = array('link'=>"#", 'label'=>getMLText('backup_log_management'));
|
||||
if ($accessobject->check_view_access('BackupTools'))
|
||||
$menuitems['backup_log_management']['children'][] = array('link'=>"../out/out.BackupTools.php", 'label'=>getMLText('backup_tools'));
|
||||
if ($this->params['logfileenable'])
|
||||
if ($accessobject->check_view_access('LogManagement'))
|
||||
$menuitems['backup_log_management']['children'][] = array('link'=>"../out/out.LogManagement.php", 'label'=>getMLText('log_management'));
|
||||
}
|
||||
|
||||
if($accessobject->check_view_access(array('ImportFS', 'ImportUsers', 'Statistic', 'Charts', 'Timeline', 'ObjectCheck', 'ExtensionMgr', 'Info'))) {
|
||||
$menuitems['misc'] = array('link'=>"#", 'label'=>'misc');
|
||||
if ($accessobject->check_view_access('ImportFS'))
|
||||
$menuitems['misc']['children']['import_fs'] = array('link'=>"../out/out.ImportFS.php", 'label'=>'import_fs');
|
||||
if ($accessobject->check_view_access('ImportUsers'))
|
||||
$menuitems['misc']['children']['import_users'] = array('link'=>"../out/out.ImportUsers.php", 'label'=>'import_users');
|
||||
if ($accessobject->check_view_access('Statistic'))
|
||||
$menuitems['misc']['children']['folders_and_documents_statistic'] = array('link'=>"../out/out.Statistic.php", 'label'=>'folders_and_documents_statistic');
|
||||
if ($accessobject->check_view_access('Charts'))
|
||||
$menuitems['misc']['children']['charts'] = array('link'=>"../out/out.Charts.php", 'label'=>'charts');
|
||||
if ($accessobject->check_view_access('Timeline'))
|
||||
$menuitems['misc']['children']['timeline'] = array('link'=>"../out/out.Timeline.php", 'label'=>'timeline');
|
||||
if ($accessobject->check_view_access('SchedulerTaskMgr'))
|
||||
$menuitems['misc']['children']['schedulertaskmgr'] = array('link'=>"../out/out.SchedulerTaskMgr.php", 'label'=>'scheduler_task_mgr');
|
||||
if ($accessobject->check_view_access('ObjectCheck'))
|
||||
$menuitems['misc']['children']['objectcheck'] = array('link'=>"../out/out.ObjectCheck.php", 'label'=>'objectcheck');
|
||||
if ($accessobject->check_view_access('ExpiredDocuments'))
|
||||
$menuitems['misc']['children']['documents_expired'] = array('link'=>"../out/out.ExpiredDocuments.php", 'label'=>'documents_expired');
|
||||
if ($accessobject->check_view_access('ExtensionMgr'))
|
||||
$menuitems['misc']['children']['extension_manager'] = array('link'=>"../out/out.ExtensionMgr.php", 'label'=>'extension_manager');
|
||||
if ($accessobject->check_view_access('ClearCache'))
|
||||
$menuitems['misc']['children']['clear_cache'] = array('link'=>"../out/out.ClearCache.php", 'label'=>'clear_cache');
|
||||
if ($accessobject->check_view_access('Info'))
|
||||
$menuitems['misc']['children']['version_info'] = array('link'=>"../out/out.Info.php", 'label'=>'version_info');
|
||||
$menuitems['misc'] = array('link'=>"#", 'label'=>getMLText('misc'));
|
||||
if ($accessobject->check_view_access('ImportFS'))
|
||||
$menuitems['misc']['children']['import_fs'] = array('link'=>"../out/out.ImportFS.php", 'label'=>getMLText('import_fs'));
|
||||
if ($accessobject->check_view_access('ImportUsers'))
|
||||
$menuitems['misc']['children']['import_users'] = array('link'=>"../out/out.ImportUsers.php", 'label'=>getMLText('import_users'));
|
||||
if ($accessobject->check_view_access('Statistic'))
|
||||
$menuitems['misc']['children']['folders_and_documents_statistic'] = array('link'=>"../out/out.Statistic.php", 'label'=>getMLText('folders_and_documents_statistic'));
|
||||
if ($accessobject->check_view_access('Charts'))
|
||||
$menuitems['misc']['children']['charts'] = array('link'=>"../out/out.Charts.php", 'label'=>getMLText('charts'));
|
||||
if ($accessobject->check_view_access('Timeline'))
|
||||
$menuitems['misc']['children']['timeline'] = array('link'=>"../out/out.Timeline.php", 'label'=>getMLText('timeline'));
|
||||
if ($accessobject->check_view_access('SchedulerTaskMgr'))
|
||||
$menuitems['misc']['children']['schedulertaskmgr'] = array('link'=>"../out/out.SchedulerTaskMgr.php", 'label'=>getMLText('scheduler_task_mgr'));
|
||||
if ($accessobject->check_view_access('ObjectCheck'))
|
||||
$menuitems['misc']['children']['objectcheck'] = array('link'=>"../out/out.ObjectCheck.php", 'label'=>getMLText('objectcheck'));
|
||||
if ($accessobject->check_view_access('ExpiredDocuments'))
|
||||
$menuitems['misc']['children']['documents_expired'] = array('link'=>"../out/out.ExpiredDocuments.php", 'label'=>getMLText('documents_expired'));
|
||||
if ($accessobject->check_view_access('ExtensionMgr'))
|
||||
$menuitems['misc']['children']['extension_manager'] = array('link'=>"../out/out.ExtensionMgr.php", 'label'=>getMLText('extension_manager'));
|
||||
if ($accessobject->check_view_access('ClearCache'))
|
||||
$menuitems['misc']['children']['clear_cache'] = array('link'=>"../out/out.ClearCache.php", 'label'=>getMLText('clear_cache'));
|
||||
if ($accessobject->check_view_access('Info'))
|
||||
$menuitems['misc']['children']['version_info'] = array('link'=>"../out/out.Info.php", 'label'=>getMLText('version_info'));
|
||||
}
|
||||
|
||||
if ($settings->_enableDebugMode) {
|
||||
$menuitems['debug'] = array('link'=>"#", 'label'=>'debug');
|
||||
$menuitems['debug'] = array('link'=>"#", 'label'=>getMLText('debug'));
|
||||
if ($accessobject->check_view_access('Hooks'))
|
||||
$menuitems['debug']['children']['hooks'] = array('link'=>"../out/out.Hooks.php", 'label'=>'list_hooks');
|
||||
$menuitems['debug']['children']['hooks'] = array('link'=>"../out/out.Hooks.php", 'label'=>getMLText('list_hooks'));
|
||||
}
|
||||
|
||||
/* Check if hook exists because otherwise callHook() will override $menuitems */
|
||||
|
|
@ -938,11 +1013,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
self::showNavigationBar($menuitems);
|
||||
|
||||
echo " </ul>\n";
|
||||
echo "<ul class=\"nav\">\n";
|
||||
echo "</ul>\n";
|
||||
echo "</div>\n";
|
||||
return;
|
||||
} /* }}} */
|
||||
|
||||
private function calendarOldNavigationBar($d){ /* {{{ */
|
||||
|
|
@ -967,11 +1038,10 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$accessobject = $this->params['accessobject'];
|
||||
echo "<id=\"first\"><a href=\"../out/out.Calendar.php\" class=\"brand\">".getMLText("calendar")."</a>\n";
|
||||
echo "<div class=\"nav-collapse col2\">\n";
|
||||
echo "<ul class=\"nav\">\n";
|
||||
|
||||
$menuitems = array();
|
||||
if($accessobject->check_view_access(array('AddEvent')))
|
||||
$menuitems['addevent'] = array('link'=>"../out/out.AddEvent.php", 'label'=>'add_event');
|
||||
$menuitems['addevent'] = array('link'=>"../out/out.AddEvent.php", 'label'=>getMLText('add_event'));
|
||||
|
||||
/* Check if hook exists because otherwise callHook() will override $menuitems */
|
||||
if($this->hasHook('calendarNavigationBar'))
|
||||
|
|
@ -979,10 +1049,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
self::showNavigationBar($menuitems);
|
||||
|
||||
echo "</ul>\n";
|
||||
echo "</div>\n";
|
||||
return;
|
||||
|
||||
} /* }}} */
|
||||
|
||||
function pageList($pageNumber, $totalPages, $baseURI, $params) { /* {{{ */
|
||||
|
|
@ -1146,26 +1213,32 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo '<textarea'.
|
||||
(!empty($value['id']) ? ' id="'.$value['id'].'"' : '').
|
||||
(!empty($value['name']) ? ' name="'.$value['name'].'"' : '').
|
||||
(!empty($value['class']) ? ' class="'.$value['class'].'"' : '').
|
||||
(!empty($value['rows']) ? ' rows="'.$value['rows'].'"' : '').
|
||||
(!empty($value['cols']) ? ' rows="'.$value['cols'].'"' : '').
|
||||
(!empty($value['required']) ? ' required' : '').">".(!empty($value['value']) ? $value['value'] : '')."</textarea>";
|
||||
break;
|
||||
case 'input':
|
||||
default:
|
||||
echo '<input'.
|
||||
(!empty($value['type']) ? ' type="'.$value['type'].'"' : '').
|
||||
(!empty($value['id']) ? ' id="'.$value['id'].'"' : '').
|
||||
(!empty($value['name']) ? ' name="'.$value['name'].'"' : '').
|
||||
((isset($value['value']) && is_string($value['value'])) || !empty($value['value']) ? ' value="'.$value['value'].'"' : '').
|
||||
(!empty($value['placeholder']) ? ' placeholder="'.$value['placeholder'].'"' : '').
|
||||
(!empty($value['autocomplete']) ? ' autocomplete="'.$value['autocomplete'].'"' : '').
|
||||
(isset($value['min']) ? ' min="'.$value['min'].'"' : '').
|
||||
(!empty($value['checked']) ? ' checked' : '').
|
||||
(!empty($value['required']) ? ' required' : '');
|
||||
if(!empty($value['attributes']) && is_array($value['attributes']))
|
||||
foreach($value['attributes'] as $a)
|
||||
echo ' '.$a[0].'="'.$a[1].'"';
|
||||
echo ">";
|
||||
switch($value['type']) {
|
||||
default:
|
||||
echo '<input'.
|
||||
(!empty($value['type']) ? ' type="'.$value['type'].'"' : '').
|
||||
(!empty($value['id']) ? ' id="'.$value['id'].'"' : '').
|
||||
(!empty($value['name']) ? ' name="'.$value['name'].'"' : '').
|
||||
(!empty($value['class']) ? ' class="'.$value['class'].'"' : '').
|
||||
((isset($value['value']) && is_string($value['value'])) || !empty($value['value']) ? ' value="'.$value['value'].'"' : '').
|
||||
(!empty($value['placeholder']) ? ' placeholder="'.$value['placeholder'].'"' : '').
|
||||
(!empty($value['autocomplete']) ? ' autocomplete="'.$value['autocomplete'].'"' : '').
|
||||
(isset($value['min']) ? ' min="'.$value['min'].'"' : '').
|
||||
(!empty($value['checked']) ? ' checked' : '').
|
||||
(!empty($value['required']) ? ' required' : '');
|
||||
if(!empty($value['attributes']) && is_array($value['attributes']))
|
||||
foreach($value['attributes'] as $a)
|
||||
echo ' '.$a[0].'="'.$a[1].'"';
|
||||
echo ">";
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -1178,14 +1251,22 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
return;
|
||||
} /* }}} */
|
||||
|
||||
function formSubmit($value, $name='', $target='') { /* {{{ */
|
||||
function formSubmit($value, $name='', $target='', $type='primary') { /* {{{ */
|
||||
switch($type) {
|
||||
case 'danger':
|
||||
$class = 'btn-danger';
|
||||
break;
|
||||
case 'primary':
|
||||
default:
|
||||
$class = 'btn-primary';
|
||||
}
|
||||
echo "<div class=\"controls\">\n";
|
||||
if(is_string($value)) {
|
||||
echo "<button type=\"submit\" class=\"btn btn-primary\"".($name ? ' name="'.$name.'" id="'.$name.'"' : '').($target ? ' formtarget="'.$target.'"' : '').">".$value."</button>\n";
|
||||
echo "<button type=\"submit\" class=\"btn ".$class."\"".($name ? ' name="'.$name.'" id="'.$name.'"' : '').($target ? ' formtarget="'.$target.'"' : '').">".$value."</button>\n";
|
||||
} else {
|
||||
if(is_array($value)) {
|
||||
foreach($value as $i=>$v)
|
||||
echo "<button type=\"submit\" class=\"btn btn-primary\"".(!empty($name[$i]) ? ' name="'.$name[$i].'" id="'.$name[$i].'"' : '').(!empty($target[$i]) ? ' formtarget="'.$name[$i].'"' : '').">".$v."</button>\n";
|
||||
echo "<button type=\"submit\" class=\"btn ".$class."\"".(!empty($name[$i]) ? ' name="'.$name[$i].'" id="'.$name[$i].'"' : '').(!empty($target[$i]) ? ' formtarget="'.$name[$i].'"' : '').">".$v."</button>\n";
|
||||
}
|
||||
}
|
||||
echo "</div>\n";
|
||||
|
|
@ -2148,17 +2229,17 @@ $(function() {
|
|||
*/
|
||||
autoOpen: false,
|
||||
drapAndDrop: true,
|
||||
onCreateLi: function(node, $li) {
|
||||
// Add 'icon' span before title
|
||||
if(node.is_folder)
|
||||
$li.find('.jqtree-title').before('<i class="fa fa-folder-o table-row-folder droptarget" data-droptarget="folder_' + node.id + '" rel="folder_' + node.id + '"></i> ').attr('data-name', node.name).attr('rel', 'folder_' + node.id).attr('formtoken', '<?php echo createFormKey(''); ?>').attr('data-uploadformtoken', '<?php echo createFormKey(''); ?>').attr('data-droptarget', 'folder_' + node.id).addClass('droptarget');
|
||||
else
|
||||
$li.find('.jqtree-title').before('<i class="fa fa-file"></i> ');
|
||||
}
|
||||
onCreateLi: function(node, $li) {
|
||||
// Add 'icon' span before title
|
||||
if(node.is_folder)
|
||||
$li.find('.jqtree-title').before('<i class="fa fa-folder-o table-row-folder droptarget" data-droptarget="folder_' + node.id + '" rel="folder_' + node.id + '"></i> ').attr('data-name', node.name).attr('rel', 'folder_' + node.id).attr('formtoken', '<?php echo createFormKey(''); ?>').attr('data-uploadformtoken', '<?php echo createFormKey(''); ?>').attr('data-droptarget', 'folder_' + node.id).addClass('droptarget');
|
||||
else
|
||||
$li.find('.jqtree-title').before('<i class="fa fa-file"></i> ');
|
||||
}
|
||||
});
|
||||
// Unfold node for currently selected folder
|
||||
$('#jqtree<?php echo $formid ?>').tree('selectNode', $('#jqtree<?php echo $formid ?>').tree('getNodeById', <?php echo $folderid ?>), false, true);
|
||||
$('#jqtree<?php echo $formid ?>').on(
|
||||
$('#jqtree<?php echo $formid ?>').on(
|
||||
'tree.click',
|
||||
function(event) {
|
||||
var node = event.node;
|
||||
|
|
@ -2214,7 +2295,7 @@ $(function() {
|
|||
if(typeof node.fetched == 'undefined') {
|
||||
node.fetched = true;
|
||||
$(this).tree('loadDataFromUrl', node, function() {$(this).tree('openNode', node);});
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
@ -2478,7 +2559,7 @@ $(function() {
|
|||
$title = 'lock_document';
|
||||
}
|
||||
$content = '';
|
||||
$content .= '<a class="lock-document-btn" rel="'.$docid.'" msg="'.getMLText($msg).'" title="'.getMLText($title).'"><i class="fa fa-'.$icon.'"></i></a>';
|
||||
$content .= '<a class="lock-document-btn" rel="'.$docid.'" msg="'.getMLText($msg).'" title="'.getMLText($title).'"><i class="fa fa-'.$icon.'"></i></a>';
|
||||
if($return)
|
||||
return $content;
|
||||
else
|
||||
|
|
@ -2682,7 +2763,7 @@ $(document).ready( function() {
|
|||
*/
|
||||
function printDeleteAttributeValueButton($attrdef, $value, $msg, $return=false){ /* {{{ */
|
||||
$content = '';
|
||||
$content .= '<a class="delete-attribute-value-btn" rel="'.$attrdef->getID().'" msg="'.getMLText($msg).'" attrvalue="'.htmlspecialchars($value, ENT_QUOTES).'" confirmmsg="'.htmlspecialchars(getMLText("confirm_rm_attr_value", array ("attrdefname" => $attrdef->getName())), ENT_QUOTES).'"><i class="fa fa-remove"></i></a>';
|
||||
$content .= '<a class="delete-attribute-value-btn" rel="'.$attrdef->getID().'" msg="'.getMLText($msg).'" attrvalue="'.htmlspecialchars($value, ENT_QUOTES).'" confirmmsg="'.htmlspecialchars(getMLText("confirm_rm_attr_value", array ("attrdefname" => $attrdef->getName())), ENT_QUOTES).'"><i class="fa fa-remove"></i></a>';
|
||||
if($return)
|
||||
return $content;
|
||||
else
|
||||
|
|
@ -2778,6 +2859,29 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
|||
}
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Return HTML containing the path of a document or folder
|
||||
*
|
||||
* This is used for showing the path of a document/folder below the title
|
||||
* in document/folder lists like on the search page.
|
||||
*
|
||||
* @param object $object
|
||||
* @return string
|
||||
*/
|
||||
function getListRowPath($object) { /* {{{ */
|
||||
$belowtitle = '';
|
||||
$folder = $object->getParent();
|
||||
if($folder) {
|
||||
$belowtitle .= "<br /><span style=\"font-size: 85%;\">".getMLText('in_folder').": /";
|
||||
$path = $folder->getPath();
|
||||
for ($i = 1; $i < count($path); $i++) {
|
||||
$belowtitle .= htmlspecialchars($path[$i]->getName())."/";
|
||||
}
|
||||
$belowtitle .= "</span>";
|
||||
}
|
||||
return $belowtitle;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Start the row for a folder in list of documents and folders
|
||||
*
|
||||
|
|
@ -2870,7 +2974,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
|||
} else {
|
||||
$content .= "<img draggable=\"false\" class=\"mimeicon\" width=\"".$previewwidth."\" src=\"".$this->getMimeIcon($latestContent->getFileType())."\" ".($previewwidth ? "width=\"".$previewwidth."\"" : "")."\" title=\"".htmlspecialchars($latestContent->getMimeType())."\">";
|
||||
}
|
||||
if($accessop->check_controller_access('Download', array('action'=>'run')))
|
||||
if($accessop->check_controller_access('Download', array('action'=>'version')))
|
||||
$content .= "</a>";
|
||||
} else
|
||||
$content .= "<img draggable=\"false\" class=\"mimeicon\" width=\"".$previewwidth."\" src=\"".$this->getMimeIcon($latestContent->getFileType())."\" title=\"".htmlspecialchars($latestContent->getMimeType())."\">";
|
||||
|
|
@ -3067,6 +3171,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
|||
$content .= "<td style=\"cursor: pointer;\">" . "<b title=\"Id:".$subFolder->getId()."\">".htmlspecialchars($subFolder->getName())."</b>";
|
||||
else
|
||||
$content .= "<td><a draggable=\"false\" href=\"../out/out.ViewFolder.php?folderid=".$subFolder->getID()."&showtree=".$showtree."\">" . htmlspecialchars($subFolder->getName()) . "</a>";
|
||||
if(isset($extracontent['below_title']))
|
||||
$content .= $extracontent['below_title'];
|
||||
$content .= "<br /><span style=\"font-size: 85%; font-style: italic; color: #666;\">".getMLText('owner').": <b>".htmlspecialchars($owner->getFullName())."</b>, ".getMLText('creation_date').": <b>".date('Y-m-d', $subFolder->getDate())."</b></span>";
|
||||
if($comment) {
|
||||
$content .= "<br /><span style=\"font-size: 85%;\">".htmlspecialchars($comment)."</span>";
|
||||
|
|
@ -3583,21 +3689,23 @@ $("body").on("click", "span.openpopupbox", function(e) {
|
|||
$id = substr(md5(uniqid()), 0, 4);
|
||||
?>
|
||||
<div class="accordion" id="accordion<?php echo $id; ?>">
|
||||
<div class="accordion-group">
|
||||
<div class="accordion-heading">
|
||||
<div class="accordion-group">
|
||||
<div class="accordion-heading">
|
||||
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion<?php echo $id; ?>" href="#collapse<?php echo $id; ?>">
|
||||
<?php echo $title; ?>
|
||||
</a>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapse<?php echo $id; ?>" class="accordion-body collapse" style="height: 0px;">
|
||||
<div class="accordion-inner">
|
||||
<div class="accordion-inner">
|
||||
<?php
|
||||
echo $content;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
} /* }}} */
|
||||
}
|
||||
|
||||
class_alias('SeedDMS_Theme_Style', 'SeedDMS_Bootstrap_Style');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Include class to preview documents
|
||||
|
|
@ -34,7 +34,7 @@ require_once("SeedDMS/Preview.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_Calendar extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_Calendar extends SeedDMS_Theme_Style {
|
||||
|
||||
function iteminfo() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Include class to preview documents
|
||||
|
|
@ -34,7 +34,7 @@ require_once("SeedDMS/Preview.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_Categories extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_Categories extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$selcat = $this->params['selcategory'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for CategoryChooser view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_CategoryChooser extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_CategoryChooser extends SeedDMS_Theme_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for ChangePassword view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_ChangePassword extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_ChangePassword extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
@ -48,7 +48,6 @@ document.form1.newpassword.focus();
|
|||
$this->globalBanner();
|
||||
$this->contentStart();
|
||||
$this->pageNavigation(getMLText("change_password"));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
<form class="form-horizontal" action="../op/op.ChangePassword.php" method="post" name="form1">
|
||||
<?php echo createHiddenFieldWithKey('changepassword'); ?>
|
||||
|
|
@ -59,6 +58,7 @@ document.form1.newpassword.focus();
|
|||
if ($hash) {
|
||||
echo "<input type='hidden' name='hash' value='".$hash."'/>";
|
||||
}
|
||||
$this->contentContainerStart();
|
||||
$this->formField(
|
||||
getMLText("password"),
|
||||
'<input class="pwd" type="password" rel="strengthbar" name="newpassword" id="password">'
|
||||
|
|
@ -83,11 +83,10 @@ document.form1.newpassword.focus();
|
|||
'autocomplete'=>'off',
|
||||
)
|
||||
);
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit(getMLText('submit_password'));
|
||||
?>
|
||||
|
||||
</form>
|
||||
<?php $this->contentContainerEnd(); ?>
|
||||
<p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p>
|
||||
<?php
|
||||
$this->contentEnd();
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for Charts view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_Charts extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_Charts extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$data = $this->params['data'];
|
||||
|
|
|
|||
|
|
@ -698,8 +698,17 @@ $(document).ready(function() {
|
|||
<form class="form-horizontal" action="../op/op.CancelCheckOut.php" method="post">
|
||||
<input type="hidden" name="documentid" value="<?php print $document->getID(); ?>">
|
||||
<?php
|
||||
echo createHiddenFieldWithKey('cancelcheckout');
|
||||
$this->formSubmit(getMLText('cancel_checkout'));
|
||||
echo createHiddenFieldWithKey('cancelcheckout');
|
||||
$this->formField(
|
||||
getMLText("checkout_cancel_confirm"),
|
||||
array(
|
||||
'element'=>'input',
|
||||
'type'=>'checkbox',
|
||||
'name'=>'confirm',
|
||||
'value'=>1
|
||||
)
|
||||
);
|
||||
$this->formSubmit(getMLText('cancel_checkout'), '', '', 'danger');
|
||||
?>
|
||||
</form>
|
||||
<?php
|
||||
|
|
@ -710,7 +719,8 @@ $(document).ready(function() {
|
|||
<form action="../op/op.CancelCheckOut.php" method="post">
|
||||
<?php echo createHiddenFieldWithKey('cancelcheckout'); ?>
|
||||
<input type="hidden" name="documentid" value="<?php print $document->getID(); ?>">
|
||||
<input type="submit" class="btn" value="<?php printMLText("cancel_checkout"); ?>">
|
||||
<input type="hidden" name="confirm" value="1">
|
||||
<input type="submit" class="btn btn-danger" value="<?php printMLText("cancel_checkout"); ?>">
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for ClearCache view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_ClearCache extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_ClearCache extends SeedDMS_Theme_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Include class to preview documents
|
||||
|
|
@ -34,7 +34,7 @@ require_once("SeedDMS/Preview.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_Clipboard extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_Clipboard extends SeedDMS_Theme_Style {
|
||||
/**
|
||||
* Returns the html needed for the clipboard list in the menu
|
||||
*
|
||||
|
|
@ -50,29 +50,38 @@ class SeedDMS_View_Clipboard extends SeedDMS_Bootstrap_Style {
|
|||
if ($this->params['user']->isGuest() || (count($clipboard['docs']) + count($clipboard['folders'])) == 0) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$menuitems = [];
|
||||
|
||||
$content = '';
|
||||
$content .= " <ul id=\"main-menu-clipboard\" class=\"nav pull-right\">\n";
|
||||
$content .= " <li class=\"dropdown add-clipboard-area\">\n";
|
||||
$content .= " <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" class=\"add-clipboard-area\">".getMLText('clipboard')." (".count($clipboard['folders'])."/".count($clipboard['docs']).") <i class=\"fa fa-caret-down\"></i></a>\n";
|
||||
$content .= " <ul class=\"dropdown-menu\" role=\"menu\">\n";
|
||||
$subitems = [];
|
||||
foreach($clipboard['folders'] as $folderid) {
|
||||
if($folder = $this->params['dms']->getFolder($folderid))
|
||||
if($folder = $this->params['dms']->getFolder($folderid)) {
|
||||
$content .= " <li><a href=\"../out/out.ViewFolder.php?folderid=".$folder->getID()."\" class=\"table-row-folder droptarget\" data-droptarget=\"folder_".$folder->getID()."\" rel=\"folder_".$folder->getID()."\" data-name=\"".htmlspecialchars($folder->getName(), ENT_QUOTES)."\" data-uploadformtoken=\"".createFormKey('')."\" formtoken=\"".createFormKey('')."\"><i class=\"fa fa-folder-o\"></i> ".htmlspecialchars($folder->getName())."</a></li>\n";
|
||||
$subitems[] = array('label'=>'<i class="fa fa-folder-o"></i> '.$folder->getName(), 'link'=>"../out/out.ViewFolder.php?folderid=".$folder->getID(), 'class'=>"table-row-folder droptarget", 'rel'=>"folder_".$folder->getID(), 'attributes'=>array(array('data-droptarget', "folder_".$folder->getID()), array('data-name', htmlspecialchars($folder->getName(), ENT_QUOTES))));
|
||||
}
|
||||
}
|
||||
foreach($clipboard['docs'] as $docid) {
|
||||
if($document = $this->params['dms']->getDocument($docid))
|
||||
$content .= " <li><a href=\"../out/out.ViewDocument.php?documentid=".$document->getID()."\" class=\"table-row-document droptarget\" data-droptarget=\"document_".$document->getID()."\" rel=\"document_".$document->getID()."\" data-name=\"".htmlspecialchars($document->getName(), ENT_QUOTES)."\" formtoken=\"".createFormKey('')."\"><i class=\"fa fa-file\"></i> ".htmlspecialchars($document->getName())."</a></li>\n";
|
||||
$subitems[] = array('label'=>'<i class="fa fa-file"></i> '.$document->getName(), 'link'=>"../out/out.ViewDocument.php?documentid=".$document->getID(), 'class'=>"table-row-document droptarget", 'rel'=>"document_".$document->getID(), 'attributes'=>array(array('data-droptarget', "document_".$document->getID()), array('data-name', htmlspecialchars($document->getName(), ENT_QUOTES))));
|
||||
}
|
||||
$content .= " <li class=\"divider\"></li>\n";
|
||||
$subitems[] = array('divider'=>true);
|
||||
if(isset($this->params['folder']) && $this->params['folder']->getAccessMode($this->params['user']) >= M_READWRITE) {
|
||||
$content .= " <li><a href=\"../op/op.MoveClipboard.php?targetid=".$this->params['folder']->getID()."&refferer=".urlencode('../out/out.ViewFolder.php?folderid='.$this->params['folder']->getID())."\">".getMLText("move_clipboard")."</a></li>\n";
|
||||
$subitems[] = array('label'=>getMLText("move_clipboard"), 'link'=>"../op/op.MoveClipboard.php?targetid=".$this->params['folder']->getID()."&refferer=".urlencode('../out/out.ViewFolder.php?folderid='.$this->params['folder']->getID()));
|
||||
}
|
||||
// $content .= " <li><a href=\"../op/op.ClearClipboard.php?refferer=".urlencode($this->params['refferer'])."\">".getMLText("clear_clipboard")."</a><a class=\"ajax-click\" data-href=\"../op/op.Ajax.php\" data-param1=\"command=clearclipboard\">kkk</a> </li>\n";
|
||||
// $content .= " <li><a class=\"ajax-click\" data-href=\"../op/op.Ajax.php\" data-param1=\"command=clearclipboard\">".getMLText("clear_clipboard")."</a></li>\n";
|
||||
$menuitems = array();
|
||||
$menuitems['clear_clipboard'] = array('label'=>'clear_clipboard', 'attributes'=>array(array('class', 'ajax-click'), array('data-href', '../op/op.Ajax.php'), array('data-param1', 'command=clearclipboard')));
|
||||
$subitems[] = array('label'=>getMLText('clear_clipboard'), 'attributes'=>array(array('class', 'ajax-click'), array('data-href', '../op/op.Ajax.php'), array('data-param1', 'command=clearclipboard')));
|
||||
if($this->hasHook('clipboardMenuItems'))
|
||||
$menuitems = $this->callHook('clipboardMenuItems', $clipboard, $menuitems);
|
||||
$subitems = $this->callHook('clipboardMenuItems', $clipboard, $subitems);
|
||||
/*
|
||||
foreach($menuitems as $menuitem) {
|
||||
$content .= "<li>";
|
||||
$content .= "<a";
|
||||
|
|
@ -85,10 +94,13 @@ class SeedDMS_View_Clipboard extends SeedDMS_Bootstrap_Style {
|
|||
$content .= getMLText($menuitem['label']);
|
||||
$content .= "</a></li>";
|
||||
}
|
||||
*/
|
||||
$content .= " </ul>\n";
|
||||
$content .= " </li>\n";
|
||||
$content .= " </ul>\n";
|
||||
echo $content;
|
||||
$menuitems['clipboard'] = array('label'=>getMLText('clipboard')." (".count($clipboard['folders'])."/". count($clipboard['docs']).")", 'children'=>$subitems);
|
||||
self::showNavigationBar($menuitems, array('right'=>true));
|
||||
// echo $content;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
|
|
@ -225,7 +237,7 @@ class SeedDMS_View_Clipboard extends SeedDMS_Bootstrap_Style {
|
|||
$content .= "</table>";
|
||||
} else {
|
||||
}
|
||||
$content .= "<div class=\"alert add-clipboard-area\">".getMLText("drag_icon_here")."</div>";
|
||||
$content .= "<div class=\"alert alert-warning add-clipboard-area\">".getMLText("drag_icon_here")."</div>";
|
||||
$txt = $this->callHook('postClipboard', $clipboard);
|
||||
if(is_string($txt))
|
||||
$content .= $txt;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for CreateIndex view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_CreateIndex extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_CreateIndex extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
@ -41,12 +41,10 @@ class SeedDMS_View_CreateIndex extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentStart();
|
||||
$this->pageNavigation(getMLText('admin_tools'), 'admin_tools');
|
||||
$this->contentHeading(getMLText("create_fulltext_index"));
|
||||
$this->contentContainerStart();
|
||||
|
||||
echo '<p>'.getMLText('create_fulltext_index_warning').'</p>';
|
||||
echo '<a href="out.Indexer.php?create=1&confirm=1" class="btn">'.getMLText('confirm_create_fulltext_index').'</a>';
|
||||
$this->warningMsg(getMLText('create_fulltext_index_warning'));
|
||||
echo '<p><a href="out.Indexer.php?create=1&confirm=1" class="btn btn-primary">'.getMLText('confirm_create_fulltext_index').'</a></p>';
|
||||
|
||||
$this->contentContainerEnd();
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for DefaultKeywords view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_DefaultKeywords extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_DefaultKeywords extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for DocumentAccess view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_DocumentAccess extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_DocumentAccess extends SeedDMS_Theme_Style {
|
||||
function printAccessModeSelection($defMode) { /* {{{ */
|
||||
echo self::getAccessModeSelection($defMode);
|
||||
} /* }}} */
|
||||
|
|
@ -137,14 +137,14 @@ $(document).ready( function() {
|
|||
<input type="hidden" name="documentid" value="<?php print $document->getId();?>">
|
||||
<input type="hidden" name="action" value="notinherit">
|
||||
<input type="hidden" name="mode" value="copy">
|
||||
<input type="submit" class="btn" value="<?php printMLText("inherits_access_copy_msg")?>">
|
||||
<input type="submit" class="btn btn-primary" value="<?php printMLText("inherits_access_copy_msg")?>">
|
||||
</form>
|
||||
<form action="../op/op.DocumentAccess.php" style="display: inline-block;">
|
||||
<?php echo createHiddenFieldWithKey('documentaccess'); ?>
|
||||
<input type="hidden" name="documentid" value="<?php print $document->getId();?>">
|
||||
<input type="hidden" name="action" value="notinherit">
|
||||
<input type="hidden" name="mode" value="empty">
|
||||
<input type="submit" class="btn" value="<?php printMLText("inherits_access_empty_msg")?>">
|
||||
<input type="submit" class="btn btn-primary" value="<?php printMLText("inherits_access_empty_msg")?>">
|
||||
</form>
|
||||
</p>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for DocumentChooser view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_DocumentChooser extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_DocumentChooser extends SeedDMS_Theme_Style {
|
||||
|
||||
public function subtree() { /* {{{ */
|
||||
$user = $this->params['user'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for DocumentNotify view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_DocumentNotify extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_DocumentNotify extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Include class to preview documents
|
||||
|
|
@ -34,7 +34,7 @@ require_once("SeedDMS/Preview.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
||||
|
||||
/**
|
||||
* Output a single attribute in the document info section
|
||||
|
|
@ -162,9 +162,9 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
|||
$this->rowStart();
|
||||
$this->columnStart(4);
|
||||
$this->contentHeading(getMLText("document_infos"));
|
||||
$this->contentContainerStart();
|
||||
// $this->contentContainerStart();
|
||||
?>
|
||||
<table class="table-condensed">
|
||||
<table class="table table-condensed table-sm">
|
||||
<tr>
|
||||
<td><?php printMLText("owner");?>:</td>
|
||||
<td>
|
||||
|
|
@ -241,7 +241,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
|||
?>
|
||||
</table>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
// $this->contentContainerEnd();
|
||||
$this->preview();
|
||||
$this->columnEnd();
|
||||
$this->columnStart(8);
|
||||
|
|
@ -265,8 +265,20 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
|||
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidthdetail, $timeout, $xsendfile);
|
||||
$previewer->setConverters($previewconverters);
|
||||
$previewer->createPreview($version);
|
||||
if ($file_exists) {
|
||||
if ($viewonlinefiletypes && (in_array(strtolower($version->getFileType()), $viewonlinefiletypes) || in_array(strtolower($version->getMimeType()), $viewonlinefiletypes))) {
|
||||
print "<a target=\"_blank\" href=\"../op/op.ViewOnline.php?documentid=".$version->getDocument()->getId()."&version=". $version->getVersion()."\">";
|
||||
} else {
|
||||
print "<a href=\"../op/op.Download.php?documentid=".$version->getDocument()->getId()."&version=".$version->getVersion()."\">";
|
||||
}
|
||||
}
|
||||
if($previewer->hasPreview($version)) {
|
||||
print("<img class=\"mimeicon\" width=\"".$previewwidthdetail."\" src=\"../op/op.Preview.php?documentid=".$document->getID()."&version=".$version->getVersion()."&width=".$previewwidthdetail."\" title=\"".htmlspecialchars($version->getMimeType())."\">");
|
||||
} else {
|
||||
print "<img class=\"mimeicon\" width=\"".$previewwidthdetail."\" src=\"".$this->getMimeIcon($version->getFileType())."\" title=\"".htmlspecialchars($version->getMimeType())."\">";
|
||||
}
|
||||
if ($file_exists) {
|
||||
print "</a>";
|
||||
}
|
||||
print "</td>\n";
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Include class to preview documents
|
||||
|
|
@ -34,7 +34,7 @@ require_once("SeedDMS/Preview.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_DropFolderChooser extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_DropFolderChooser extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
@ -66,7 +66,7 @@ $('.folderselect').click(function(ev) {
|
|||
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth, $timeout, $xsendfile);
|
||||
|
||||
$c = 0; // count files
|
||||
$filecontent = '';
|
||||
$menuitems['dropfolder'] = array('label'=>'', 'children'=>array());
|
||||
$dir = rtrim($dropfolderdir, '/').'/'.$user->getLogin();
|
||||
/* Check if we are still looking in the configured directory and
|
||||
* not somewhere else, e.g. if the login was '../test'
|
||||
|
|
@ -80,36 +80,32 @@ $('.folderselect').click(function(ev) {
|
|||
if($entry != '..' && $entry != '.') {
|
||||
if($showfolders == 0 && !is_dir($dir.'/'.$entry)) {
|
||||
$c++;
|
||||
$subitem = array('label'=>'', 'attributes'=>array(array('title', getMLText('menu_upload_from_dropfolder'))));
|
||||
if($folder)
|
||||
$subitem['link'] = '../out/out.AddDocument.php?folderid='.$folder->getId()."&dropfolderfileform1=".urldecode($entry);
|
||||
$mimetype = finfo_file($finfo, $dir.'/'.$entry);
|
||||
if(file_exists($dir.'/'.$entry)) {
|
||||
$filecontent .= "<li><a".($folder ? " href=\"../out/out.AddDocument.php?folderid=".$folder->getId()."&dropfolderfileform1=".urldecode($entry)."\" title=\"".getMLText('menu_upload_from_dropfolder')."\"" : "").">";
|
||||
if($previewwidth) {
|
||||
$previewer->createRawPreview($dir.'/'.$entry, 'dropfolder/', $mimetype);
|
||||
if($previewer->hasRawPreview($dir.'/'.$entry, 'dropfolder/')) {
|
||||
$filecontent .= "<div class=\"dropfolder-menu-img\" style=\"display: none; overflow:hidden; position: absolute; left:-".($previewwidth+10)."px; border: 1px solid #888;background: white;\"><img filename=\"".$entry."\" width=\"".$previewwidth."\" src=\"../op/op.DropFolderPreview.php?filename=".$entry."&width=".$previewwidth."\" title=\"".htmlspecialchars($mimetype)."\"></div>";
|
||||
$subitem['label'] .= "<div class=\"dropfolder-menu-img\" style=\"display: none; overflow:hidden; position: absolute; left:-".($previewwidth+10)."px; border: 1px solid #888;background: white;\"><img filename=\"".$entry."\" width=\"".$previewwidth."\" src=\"../op/op.DropFolderPreview.php?filename=".$entry."&width=".$previewwidth."\" title=\"".htmlspecialchars($mimetype)."\"></div>";
|
||||
}
|
||||
}
|
||||
$filecontent .= "<div class=\"dropfolder-menu-text\" style=\"margin-left:10px; margin-right: 10px; display:inline-block;\">".$entry."<br /><span style=\"font-size: 85%;\">".SeedDMS_Core_File::format_filesize(filesize($dir.'/'.$entry)).", ".date('Y-m-d H:i:s', filectime($dir.'/'.$entry))."</span></div></a></li>\n";
|
||||
$subitem['label'] .= "<div class=\"dropfolder-menu-text\" style=\"margin-left:10px; margin-right: 10px; display:inline-block;\">".$entry."<br /><span style=\"font-size: 85%;\">".SeedDMS_Core_File::format_filesize(filesize($dir.'/'.$entry)).", ".date('Y-m-d H:i:s', filectime($dir.'/'.$entry))."</span></div>";
|
||||
$menuitems['dropfolder']['children'][] = $subitem;
|
||||
}
|
||||
} elseif($showfolders && is_dir($dir.'/'.$entry)) {
|
||||
$filecontent .= "<li><a _href=\"\">".$entry."</a></li>";
|
||||
$subitem = array('label'=>$entry);
|
||||
$menuitems['dropfolder']['children'][] = $subitem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$content = '';
|
||||
if($c) {
|
||||
$content .= " <ul id=\"main-menu-dropfolderlist\" class=\"nav pull-right\">\n";
|
||||
$content .= " <li class=\"dropdown add-dropfolderlist-area\">\n";
|
||||
$content .= " <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" class=\"add-dropfolderlist-area\">".getMLText('menu_dropfolder')." (".$c.") <i class=\"fa fa-caret-down\"></i></a>\n";
|
||||
$content .= " <ul class=\"dropdown-menu\" role=\"menu\" style=\"width: 400px;\">\n";
|
||||
$content .= $filecontent;
|
||||
$content .= " </ul>\n";
|
||||
$content .= " </li>\n";
|
||||
$content .= " </ul>\n";
|
||||
$menuitems['dropfolder']['label'] = getMLText('menu_dropfolder')." (".$c.")";
|
||||
self::showNavigationBar($menuitems, array('id'=>'main-menu-dropfolderlist', 'right'=>true));
|
||||
}
|
||||
echo $content;
|
||||
} /* }}} */
|
||||
|
||||
function show() { /* {{{ */
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for EditAttributes view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_EditAttributes extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_EditAttributes extends SeedDMS_Theme_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for EditComment view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_EditComment extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_EditComment extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for EditDocument view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_EditDocument extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_EditDocument extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for EditDocumentFile view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_EditDocumentFile extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_EditDocumentFile extends SeedDMS_Theme_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
|
|
@ -43,7 +43,6 @@ class SeedDMS_View_EditDocumentFile extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
|
||||
$this->contentHeading(getMLText("edit"));
|
||||
$this->contentContainerStart();
|
||||
|
||||
?>
|
||||
<form action="../op/op.EditDocumentFile.php" class="form-horizontal" name="form1" method="post">
|
||||
|
|
@ -51,6 +50,7 @@ class SeedDMS_View_EditDocumentFile extends SeedDMS_Bootstrap_Style {
|
|||
<input type="hidden" name="documentid" value="<?php echo $document->getID()?>">
|
||||
<input type="hidden" name="fileid" value="<?php echo $file->getID()?>">
|
||||
<?php
|
||||
$this->contentContainerStart();
|
||||
$options = array();
|
||||
$options[] = array("", getMLText('document'));
|
||||
$versions = $document->getContent();
|
||||
|
|
@ -94,13 +94,11 @@ class SeedDMS_View_EditDocumentFile extends SeedDMS_Bootstrap_Style {
|
|||
'checked'=>$file->isPublic()
|
||||
)
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('save'));
|
||||
?>
|
||||
</form>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for EditFolder view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_EditFolder extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_EditFolder extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for EditOnline view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_EditOnline extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_EditOnline extends SeedDMS_Theme_Style {
|
||||
var $dms;
|
||||
var $folder_count;
|
||||
var $document_count;
|
||||
|
|
@ -128,10 +128,10 @@ $(document).ready(function() {
|
|||
|
||||
$set = 'markdown'; //default or markdown
|
||||
$skin = 'simple'; // simple or markitup
|
||||
$this->htmlAddHeader('<link href="../styles/'.$this->theme.'/markitup/skins/'.$skin.'/style.css" rel="stylesheet">'."\n", 'css');
|
||||
$this->htmlAddHeader('<link href="../styles/'.$this->theme.'/markitup/sets/'.$set.'/style.css" rel="stylesheet">'."\n", 'css');
|
||||
$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/markitup/jquery.markitup.js"></script>'."\n", 'js');
|
||||
$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/markitup/sets/'.$set.'/set.js"></script>'."\n", 'js');
|
||||
$this->htmlAddHeader('<link href="../styles/bootstrap/markitup/skins/'.$skin.'/style.css" rel="stylesheet">'."\n", 'css');
|
||||
$this->htmlAddHeader('<link href="../styles/bootstrap/markitup/sets/'.$set.'/style.css" rel="stylesheet">'."\n", 'css');
|
||||
$this->htmlAddHeader('<script type="text/javascript" src="../styles/bootstrap/markitup/jquery.markitup.js"></script>'."\n", 'js');
|
||||
$this->htmlAddHeader('<script type="text/javascript" src="../styles/bootstrap/markitup/sets/'.$set.'/set.js"></script>'."\n", 'js');
|
||||
|
||||
$this->htmlStartPage(getMLText("edit_online"));
|
||||
$this->globalNavigation();
|
||||
|
|
@ -144,7 +144,7 @@ $(document).ready(function() {
|
|||
?>
|
||||
<form action="../op/op.EditOnline.php" id="form1" method="post">
|
||||
<input type="hidden" name="documentid" value="<?php echo $document->getId(); ?>" />
|
||||
<textarea id="markdown" name="data" width="100%" rows="20">
|
||||
<textarea id="markdown" name="data" style="width: 100%;" rows="15">
|
||||
<?php
|
||||
$luser = $document->getLatestContent()->getUser();
|
||||
echo htmlspecialchars(file_get_contents($dms->contentDir . $version->getPath()), ENT_SUBSTITUTE);
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for EditUserData view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_EditUserData extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_EditUserData extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for ErrorDlg view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_ErrorDlg extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_ErrorDlg extends SeedDMS_Theme_Style {
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
|
|
@ -45,12 +45,10 @@ class SeedDMS_View_ErrorDlg extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentStart();
|
||||
}
|
||||
|
||||
print "<div class=\"alert alert-error\">";
|
||||
print "<h4>".getMLText('error')."!</h4>";
|
||||
print htmlspecialchars($errormsg);
|
||||
print "</div>";
|
||||
$this->errorMsg(htmlspecialchars($errormsg));
|
||||
if($showbutton)
|
||||
print "<div><button class=\"btn history-back\">".getMLText('back')."</button></div>";
|
||||
print "<div><button class=\"btn btn-primary history-back\">".getMLText('back')."</button></div>";
|
||||
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Include class to preview documents
|
||||
|
|
@ -34,7 +34,7 @@ require_once("SeedDMS/Preview.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_ExpiredDocuments extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_ExpiredDocuments extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for ExtensionMgr view
|
||||
|
|
@ -25,7 +25,7 @@ require_once("class.Bootstrap.php");
|
|||
* @copyright Copyright (C) 2013 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_ExtensionMgr extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_ExtensionMgr extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
@ -272,8 +272,8 @@ class SeedDMS_View_ExtensionMgr extends SeedDMS_Bootstrap_Style {
|
|||
$this->columnStart(8);
|
||||
?>
|
||||
<ul class="nav nav-tabs" id="extensionstab">
|
||||
<li class="<?php if(!$currenttab || $currenttab == 'installed') echo 'active'; ?>"><a data-target="#installed" data-toggle="tab"><?= getMLText('extension_mgr_installed'); ?></a></li>
|
||||
<li class="<?php if($currenttab == 'repository') echo 'active'; ?>"><a data-target="#repository" data-toggle="tab"><?= getMLText('extension_mgr_repository'); ?></a></li>
|
||||
<li class="nav-item <?php if(!$currenttab || $currenttab == 'installed') echo 'active'; ?>"><a class="nav-link <?php if(!$currenttab || $currenttab == 'installed') echo 'active'; ?>" data-target="#installed" data-toggle="tab"><?= getMLText('extension_mgr_installed'); ?></a></li>
|
||||
<li class="nav-item <?php if($currenttab == 'repository') echo 'active'; ?>"><a class="nav-link <?php if($currenttab == 'repository') echo 'active'; ?>" data-target="#repository" data-toggle="tab"><?= getMLText('extension_mgr_repository'); ?></a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane <?php if(!$currenttab || $currenttab == 'installed') echo 'active'; ?>" id="installed">
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for FolderAccess view
|
||||
|
|
@ -29,13 +29,13 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_FolderAccess extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_FolderAccess extends SeedDMS_Theme_Style {
|
||||
function printAccessModeSelection($defMode) { /* {{{ */
|
||||
echo self::getAccessModeSelection($defMode);
|
||||
} /* }}} */
|
||||
|
||||
function getAccessModeSelection($defMode) { /* {{{ */
|
||||
$content = "<select name=\"mode\">\n";
|
||||
$content = "<select name=\"mode\" class=\"form-control\">\n";
|
||||
$content .= "\t<option value=\"".M_NONE."\"" . (($defMode == M_NONE) ? " selected" : "") . ">" . getMLText("access_mode_none") . "\n";
|
||||
$content .= "\t<option value=\"".M_READ."\"" . (($defMode == M_READ) ? " selected" : "") . ">" . getMLText("access_mode_read") . "\n";
|
||||
$content .= "\t<option value=\"".M_READWRITE."\"" . (($defMode == M_READWRITE) ? " selected" : "") . ">" . getMLText("access_mode_readwrite") . "\n";
|
||||
|
|
@ -183,7 +183,10 @@ $(document).ready(function() {
|
|||
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('save'));
|
||||
?>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
<form class="form-horizontal" action="../op/op.FolderAccess.php" id="form1" name="form1">
|
||||
<?php echo createHiddenFieldWithKey('folderaccess'); ?>
|
||||
<input type="hidden" name="folderid" value="<?php print $folder->getID()?>">
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for FolderChooser view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_FolderChooser extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_FolderChooser extends SeedDMS_Theme_Style {
|
||||
|
||||
public function subtree() { /* {{{ */
|
||||
$user = $this->params['user'];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for FolderNotify view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_FolderNotify extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_FolderNotify extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Class which outputs the html page for ForcePasswordChange view
|
||||
|
|
@ -29,7 +29,7 @@ require_once("class.Bootstrap.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_ForcePasswordChange extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_ForcePasswordChange extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
|
@ -74,7 +74,7 @@ $(document).ready( function() {
|
|||
$this->globalBanner();
|
||||
$this->contentStart();
|
||||
$this->contentHeading(getMLText('password_expiration'));
|
||||
echo "<div class=\"alert\">".getMLText('password_expiration_text')."</div>";
|
||||
$this->warningMsg(getMLText('password_expiration_text'));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
<form class="form-horizontal" action="../op/op.EditUserData.php" method="post" id="form" name="form1">
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* Include parent class
|
||||
*/
|
||||
require_once("class.Bootstrap.php");
|
||||
//require_once("class.Bootstrap.php");
|
||||
|
||||
/**
|
||||
* Include class to preview documents
|
||||
|
|
@ -34,7 +34,7 @@ require_once("SeedDMS/Preview.php");
|
|||
* 2010-2012 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_View_GroupMgr extends SeedDMS_Bootstrap_Style {
|
||||
class SeedDMS_View_GroupMgr extends SeedDMS_Theme_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
$selgroup = $this->params['selgroup'];
|
||||
|
|
@ -119,7 +119,7 @@ $(document).ready( function() {
|
|||
if($selgroup) {
|
||||
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth, $timeout, $xsendfile);
|
||||
$this->contentHeading(getMLText("group_info"));
|
||||
echo "<table class=\"table table-condensed\">\n";
|
||||
echo "<table class=\"table table-condensed table-sm\">\n";
|
||||
if($workflowmode == "traditional") {
|
||||
$reviewstatus = $selgroup->getReviewStatus();
|
||||
$i = 0;
|
||||
|
|
@ -155,21 +155,15 @@ $(document).ready( function() {
|
|||
$selgroup = $this->params['selgroup'];
|
||||
|
||||
if($selgroup) {
|
||||
?>
|
||||
<div class="btn-group">
|
||||
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
||||
<?php echo getMLText('action'); ?>
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
echo '<li><a href="../out/out.RemoveGroup.php?groupid='.$selgroup->getID().'"><i class="fa fa-remove"></i> '.getMLText("rm_group").'</a><li>';
|
||||
$button = array(
|
||||
'label'=>getMLText('action'),
|
||||
'menuitems'=>array(
|
||||
)
|
||||
);
|
||||
$button['menuitems'][] = array('label'=>'<i class="fa fa-remove"></i> '.getMLText("rm_group"), 'link'=>'../out/out.RemoveGroup.php?groupid='.$selgroup->getID());
|
||||
if($selgroup->getUsers())
|
||||
echo '<li><a href="../op/op.UserListCsv.php?groupid='.$selgroup->getID().'"><i class="fa fa-download"></i> '.getMLText("export_user_list_csv").'</a><li>';
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php
|
||||
$button['menuitems'][] = array('label'=>'<i class="fa fa-download"></i> '.getMLText("export_user_list_csv"), 'link'=>'../op/op.UserListCsv.php?groupid='.$selgroup->getID());
|
||||
self::showButtonwithMenu($button);
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user