diff --git a/Gruntfile.js b/Gruntfile.js
index e1015ea84..1ad6013f0 100644
--- a/Gruntfile.js
+++ b/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: [
diff --git a/inc/inc.ClassUI.php b/inc/inc.ClassUI.php
index 7beab4283..2b601f65e 100644
--- a/inc/inc.ClassUI.php
+++ b/inc/inc.ClassUI.php
@@ -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);
diff --git a/inc/inc.Utils.php b/inc/inc.Utils.php
index 0baec5ea4..28b788b6e 100644
--- a/inc/inc.Utils.php
+++ b/inc/inc.Utils.php
@@ -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);
}
} /* }}} */
diff --git a/out/out.ChangePassword.php b/out/out.ChangePassword.php
index 3d7153d19..3bd9572e8 100644
--- a/out/out.ChangePassword.php
+++ b/out/out.ChangePassword.php
@@ -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");
diff --git a/out/out.Login.php b/out/out.Login.php
index 99a0dffff..8fc053f1d 100644
--- a/out/out.Login.php
+++ b/out/out.Login.php
@@ -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";
diff --git a/package.json b/package.json
index ef7720150..b16c40b8b 100644
--- a/package.json
+++ b/package.json
@@ -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"
}
}
diff --git a/views/bootstrap/class.AddDocument.php b/views/bootstrap/class.AddDocument.php
index 2d866475e..ea329edeb 100644
--- a/views/bootstrap/class.AddDocument.php
+++ b/views/bootstrap/class.AddDocument.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 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'];
diff --git a/views/bootstrap/class.AddEvent.php b/views/bootstrap/class.AddEvent.php
index 65d32b90e..eb7cdebab 100644
--- a/views/bootstrap/class.AddEvent.php
+++ b/views/bootstrap/class.AddEvent.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 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'];
diff --git a/views/bootstrap/class.AddFile.php b/views/bootstrap/class.AddFile.php
index 7e7acb6b2..7e7f51e2d 100644
--- a/views/bootstrap/class.AddFile.php
+++ b/views/bootstrap/class.AddFile.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 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'];
diff --git a/views/bootstrap/class.AddSubFolder.php b/views/bootstrap/class.AddSubFolder.php
index f0b573c62..0282c54fb 100644
--- a/views/bootstrap/class.AddSubFolder.php
+++ b/views/bootstrap/class.AddSubFolder.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 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'];
diff --git a/views/bootstrap/class.AdminTools.php b/views/bootstrap/class.AdminTools.php
index 38bfc80fa..54f28b99f 100644
--- a/views/bootstrap/class.AdminTools.php
+++ b/views/bootstrap/class.AdminTools.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 AdminTools view
@@ -29,7 +29,7 @@ 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();
diff --git a/views/bootstrap/class.ApprovalSummary.php b/views/bootstrap/class.ApprovalSummary.php
index 37151c0e5..57a17c7f6 100644
--- a/views/bootstrap/class.ApprovalSummary.php
+++ b/views/bootstrap/class.ApprovalSummary.php
@@ -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');
diff --git a/views/bootstrap/class.ApproveDocument.php b/views/bootstrap/class.ApproveDocument.php
index 48528649d..fa3a31af5 100644
--- a/views/bootstrap/class.ApproveDocument.php
+++ b/views/bootstrap/class.ApproveDocument.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 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() {
contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage();
} /* }}} */
diff --git a/views/bootstrap/class.AttributeMgr.php b/views/bootstrap/class.AttributeMgr.php
index 03cf6a95d..7d196feb1 100644
--- a/views/bootstrap/class.AttributeMgr.php
+++ b/views/bootstrap/class.AttributeMgr.php
@@ -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'];
@@ -172,7 +172,7 @@ $(document).ready( function() {
-
+
contentContainerStart();
print "\n";
$this->contentContainerEnd();
@@ -83,7 +83,7 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
print "\n";
}
@@ -147,7 +147,7 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
if($accessop->check_controller_access('CreateDump', array('action'=>'run'))) {
print "\n";
}
diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php
index 601ce1cc1..747475021 100644
--- a/views/bootstrap/class.Bootstrap.php
+++ b/views/bootstrap/class.Bootstrap.php
@@ -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
@@ -103,8 +103,8 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
echo ''."\n";
echo ''."\n";
echo ''."\n";
- echo ''."\n";
- echo ''."\n";
+ echo ''."\n";
+ echo ''."\n";
if($this->extraheader['css'])
echo $this->extraheader['css'];
if(method_exists($this, 'css'))
@@ -118,8 +118,10 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
echo ''."\n";
echo ''."\n";
echo ''."\n";
- echo ''."\n";
-// echo ''."\n";
+ echo ''."\n";
+ echo ''."\n";
+// echo ''."\n";
+// echo ''."\n";
if(!empty($this->extraheader['favicon']))
echo $this->extraheader['favicon'];
else {
@@ -182,13 +184,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 ''."\n";
echo ''."\n";
- echo ''."\n";
+ echo ''."\n";
parse_str($_SERVER['QUERY_STRING'], $tmp);
$tmp['action'] = 'webrootjs';
if(isset($tmp['formtoken']))
unset($tmp['formtoken']);
echo ''."\n";
- echo ''."\n";
+ echo ''."\n";
if($this->params['enablemenutasks'] && isset($this->params['user']) && $this->params['user']) {
$this->addFooterJS('SeedDMSTask.run();');
}
@@ -603,66 +605,152 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
return;
} /* }}} */
- protected function showNavigationBar($menuitems) { /* {{{ */
+ protected function showNavigationBar($menuitems, $options = array()) { /* {{{ */
+ $content = '';
+ $content .= "\n";
+ echo $content;
+ } /* }}} */
+
+ protected function showNavigationListWithBadges($menuitems, $options=array()) { /* {{{ */
+ $content = '';
+ $content .= "\n";
+ foreach($menuitems as $menuitem) {
+ $content .= " - \n";
+ $content .= ' ";
+ $content .= ' '."\n";
+ $content .= "
\n";
+ }
+
+ $content .= "
\n";
+ echo $content;
+ } /* }}} */
+
+ protected function showButtonwithMenu($button, $options=array()) { /* {{{ */
+ $content = '';
+ $content .= '
+
+';
+ echo $content;
} /* }}} */
private function folderNavigationBar($folder) { /* {{{ */
$dms = $this->params['dms'];
$accessobject = $this->params['accessobject'];
if (!is_object($folder) || !$folder->isType('folder')) {
- echo "\n";
+ self::showNavigationBar(array());
return;
}
$accessMode = $folder->getAccessMode($this->params['user']);
$folderID = $folder->getID();
echo "".getMLText("folder")."\n";
echo "\n";
- echo "
\n";
$menuitems = array();
if ($accessMode == M_READ) {
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 ($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 */
@@ -671,7 +759,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
self::showNavigationBar($menuitems);
- echo "
\n";
echo "
\n";
return;
} /* }}} */
@@ -682,62 +769,61 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$docid=".php?documentid=" . $document->getID();
echo "".getMLText("document")."\n";
echo "\n";
- echo "
\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 */
@@ -758,7 +844,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
self::showNavigationBar($menuitems);
- echo "
\n";
echo "
\n";
return;
} /* }}} */
@@ -767,24 +852,23 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$accessobject = $this->params['accessobject'];
echo "".getMLText("my_account")."\n";
echo "\n";
- echo "
\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');
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 */
@@ -793,7 +877,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
self::showNavigationBar($menuitems);
- echo "
\n";
echo "
\n";
return;
} /* }}} */
@@ -803,24 +886,23 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
echo "".getMLText("my_documents")."\n";
echo "\n";
- echo "
\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'))
@@ -828,7 +910,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
self::showNavigationBar($menuitems);
- echo "
\n";
echo "
\n";
return;
} /* }}} */
@@ -838,92 +919,91 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$settings = $this->params['settings'];
echo " ".getMLText("admin_tools")."\n";
echo "\n";
- echo "
\n";
$menuitems = array();
if($accessobject->check_view_access(array('UsrMgr', 'RoleMgr', 'GroupMgr', 'UserList', 'Acl'))) {
- $menuitems['user_group_management'] = array('link'=>"#", 'label'=>'user_group_management');
+ $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'=>'user_management');
+ $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'=>'role_management');
+ $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'=>'group_management');
+ $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'=>'user_list');
+ $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'=>'access_control');
+ $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');
+ $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'=>'global_default_keywords');
+ $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'=>'global_document_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'=>'global_attributedefinitions');
+ $menuitems['definitions']['children']['attribute_definitions'] = array('link'=>"../out/out.AttributeMgr.php", 'label'=>getMLText('global_attributedefinitions'));
if($this->params['workflowmode'] == 'advanced') {
if ($accessobject->check_view_access('WorkflowMgr'))
- $menuitems['definitions']['children']['workflows'] = array('link'=>"../out/out.WorkflowMgr.php", 'label'=>'global_workflows');
+ $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'=>'global_workflow_states');
+ $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'=>'global_workflow_actions');
+ $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');
+ $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'=>'backup_tools');
+ $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'=>'log_management');
+ $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');
+ $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'=>'import_fs');
+ $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'=>'import_users');
+ $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'=>'folders_and_documents_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'=>'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'=>'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'=>'scheduler_task_mgr');
+ $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'=>'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'=>'documents_expired');
+ $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'=>'extension_manager');
+ $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'=>'clear_cache');
+ $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'=>'version_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 */
@@ -932,7 +1012,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
self::showNavigationBar($menuitems);
- echo "
\n";
echo "
\n";
return;
} /* }}} */
@@ -959,11 +1038,10 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$accessobject = $this->params['accessobject'];
echo "".getMLText("calendar")."\n";
echo "\n";
- echo "
\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'))
@@ -971,7 +1049,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
self::showNavigationBar($menuitems);
- echo "
\n";
echo "
\n";
return;
@@ -3534,3 +3611,5 @@ $("body").on("click", "span.openpopupbox", function(e) {
params['dms'];
diff --git a/views/bootstrap/class.Categories.php b/views/bootstrap/class.Categories.php
index 2dbf313ba..3931cfd80 100644
--- a/views/bootstrap/class.Categories.php
+++ b/views/bootstrap/class.Categories.php
@@ -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'];
diff --git a/views/bootstrap/class.CategoryChooser.php b/views/bootstrap/class.CategoryChooser.php
index 737252655..5521b5a29 100644
--- a/views/bootstrap/class.CategoryChooser.php
+++ b/views/bootstrap/class.CategoryChooser.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 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'];
diff --git a/views/bootstrap/class.ChangePassword.php b/views/bootstrap/class.ChangePassword.php
index 41e4b4e5b..158f8e462 100644
--- a/views/bootstrap/class.ChangePassword.php
+++ b/views/bootstrap/class.ChangePassword.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 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();
?>
-contentContainerEnd(); ?>
contentEnd();
diff --git a/views/bootstrap/class.Charts.php b/views/bootstrap/class.Charts.php
index 117caecc0..282b8c05f 100644
--- a/views/bootstrap/class.Charts.php
+++ b/views/bootstrap/class.Charts.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 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'];
diff --git a/views/bootstrap/class.ClearCache.php b/views/bootstrap/class.ClearCache.php
index 69ef1972e..099bcadcd 100644
--- a/views/bootstrap/class.ClearCache.php
+++ b/views/bootstrap/class.ClearCache.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'];
diff --git a/views/bootstrap/class.Clipboard.php b/views/bootstrap/class.Clipboard.php
index ec711b891..119ca805a 100644
--- a/views/bootstrap/class.Clipboard.php
+++ b/views/bootstrap/class.Clipboard.php
@@ -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 .= "