mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
Merge branch 'seeddms-5.0.x' into seeddms-5.1.x
This commit is contained in:
commit
c44b7853b2
|
@ -129,8 +129,12 @@
|
|||
--------------------------------------------------------------------------------
|
||||
Changes in version 4.3.36
|
||||
--------------------------------------------------------------------------------
|
||||
- mark disabled users in user list and substitute user list
|
||||
- if expandFolderTree is set to hidden the tree actually is hidden (partially
|
||||
closes #312)
|
||||
- fix sql statement for creating temp. tables (sqlite)
|
||||
- remove empty lines at end of view/bootstrap/class.*.php files (Closes #329)
|
||||
- make sure contentDir ends with DIRECTORY_SEPARATOR (Closes #323)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 4.3.35
|
||||
|
|
|
@ -450,6 +450,8 @@ class Settings { /* {{{ */
|
|||
$this->_rootDir = strval($tab["rootDir"]);
|
||||
$this->_httpRoot = strval($tab["httpRoot"]);
|
||||
$this->_contentDir = strval($tab["contentDir"]);
|
||||
if(substr($this->_contentDir, -1, 1) != DIRECTORY_SEPARATOR)
|
||||
$this->_contentDir .= DIRECTORY_SEPARATOR;
|
||||
$this->_cacheDir = strval($tab["cacheDir"]);
|
||||
$this->_stagingDir = strval($tab["stagingDir"]);
|
||||
$this->_luceneDir = strval($tab["luceneDir"]);
|
||||
|
|
|
@ -424,7 +424,7 @@ function showtree() { /* {{{ */
|
|||
global $settings;
|
||||
|
||||
if (isset($_GET["showtree"])) return intval($_GET["showtree"]);
|
||||
else if ($settings->_enableFolderTree==0) return 0;
|
||||
else if ($settings->_expandFolderTree==0) return 0;
|
||||
|
||||
return 1;
|
||||
} /* }}} */
|
||||
|
|
|
@ -45,7 +45,6 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
|
|||
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
||||
|
||||
$this->contentHeading(getMLText("substitute_user"));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
<table class="table table-condensed">
|
||||
<thead>
|
||||
|
@ -54,7 +53,7 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
|
|||
<tbody>
|
||||
<?php
|
||||
foreach ($allUsers as $currUser) {
|
||||
echo "<tr>";
|
||||
echo "<tr".($currUser->isDisabled() ? " class=\"error\"" : "").">";
|
||||
echo "<td>";
|
||||
echo htmlspecialchars($currUser->getFullName())." (".htmlspecialchars($currUser->getLogin()).")<br />";
|
||||
echo "<small>".htmlspecialchars($currUser->getComment())."</small>";
|
||||
|
@ -94,7 +93,6 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
echo "</tbody>";
|
||||
echo "</table>";
|
||||
$this->contentContainerEnd();
|
||||
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
|
|
|
@ -44,7 +44,6 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentStart();
|
||||
$this->pageNavigation("", "admin_tools");
|
||||
$this->contentHeading(getMLText("user_list"));
|
||||
$this->contentContainerStart();
|
||||
|
||||
$sessionmgr = new SeedDMS_SessionMgr($dms->getDB());
|
||||
?>
|
||||
|
@ -53,7 +52,7 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
|
|||
<thead><tr><th></th><th><?php printMLText('name'); ?></th><th><?php printMLText('groups'); ?></th><th><?php printMLText('role'); ?></th><th><?php printMLText('discspace'); ?></th><th><?php printMLText('authentication'); ?></th><th></th></tr></thead><tbody>
|
||||
<?php
|
||||
foreach ($allUsers as $currUser) {
|
||||
echo "<tr>";
|
||||
echo "<tr".($currUser->isDisabled() ? " class=\"error\"" : "").">";
|
||||
echo "<td>";
|
||||
if ($currUser->hasImage())
|
||||
print "<img width=\"100\" src=\"".$httproot . "out/out.UserImage.php?userid=".$currUser->getId()."\">";
|
||||
|
@ -124,7 +123,6 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
echo "</tbody></table>";
|
||||
|
||||
$this->contentContainerEnd();
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user