Merge branch 'seeddms-5.0.x' into develop

This commit is contained in:
Uwe Steinmann 2016-05-03 07:09:26 +02:00
commit 6380e028fa
7 changed files with 45 additions and 24 deletions

View File

@ -1,4 +1,4 @@
VERSION=5.1.0 VERSION=5.1.1
SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc drop-tables-innodb.sql styles js TODO LICENSE Makefile webdav install restapi SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc drop-tables-innodb.sql styles js TODO LICENSE Makefile webdav install restapi
# webapp # webapp

View File

@ -391,7 +391,7 @@ class SeedDMS_Core_DMS {
$this->callbacks = array(); $this->callbacks = array();
$this->version = '@package_version@'; $this->version = '@package_version@';
if($this->version[0] == '@') if($this->version[0] == '@')
$this->version = '5.1.0'; $this->version = '5.1.1';
} /* }}} */ } /* }}} */
/** /**

View File

@ -12,11 +12,11 @@
<email>uwe@steinmann.cx</email> <email>uwe@steinmann.cx</email>
<active>yes</active> <active>yes</active>
</lead> </lead>
<date>2016-03-09</date> <date>2016-05-03</date>
<time>09:28:28</time> <time>09:28:28</time>
<version> <version>
<release>5.1.0</release> <release>5.1.1</release>
<api>5.1.0</api> <api>5.1.1</api>
</version> </version>
<stability> <stability>
<release>stable</release> <release>stable</release>
@ -24,9 +24,6 @@
</stability> </stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license> <license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes> <notes>
- add roles
- use classname from SeedDMS_Core_DMS::_classnames for SeedDMS_Core_DocumentContent
- all changes from 4.3.26 merged
</notes> </notes>
<contents> <contents>
<dir baseinstalldir="SeedDMS" name="/"> <dir baseinstalldir="SeedDMS" name="/">
@ -1110,5 +1107,40 @@ SeedDMS_Core_DMS::getNotificationsByUser() are deprecated
- all changes from 4.3.25 merged - all changes from 4.3.25 merged
</notes> </notes>
</release> </release>
<release>
<date>2016-04-04</date>
<time>08:56:33</time>
<version>
<release>5.0.3</release>
<api>5.0.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
- use classname from SeedDMS_Core_DMS::_classnames for SeedDMS_Core_DocumentContent
- all changes from 4.3.26 merged
</notes>
</release>
<release>
<date>2016-03-09</date>
<time>09:28:28</time>
<version>
<release>5.1.0</release>
<api>5.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
- add roles
- use classname from SeedDMS_Core_DMS::_classnames for SeedDMS_Core_DocumentContent
- all changes from 4.3.26 merged
</notes>
</release>
</changelog> </changelog>
</package> </package>

View File

@ -117,20 +117,9 @@ if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
} }
} }
/* Include additional language file for view
/* Include the language file as specified in the session. If that is not * This file must set $LANG[xx][]
* available use the language from the settings
*/ */
/*
if(file_exists($settings->_rootDir . "languages/" . $resArr["language"] . "/lang.inc")) {
include $settings->_rootDir . "languages/" . $resArr["language"] . "/lang.inc";
$session->setLanguage($resArr["language"]);
} else {
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
$session->setLanguage($settings->_language);
}
*/
if(file_exists($settings->_rootDir . "view/".$theme."/languages/" . $lang . "/lang.inc")) { if(file_exists($settings->_rootDir . "view/".$theme."/languages/" . $lang . "/lang.inc")) {
include $settings->_rootDir . "view/".$theme."/languages/" . $lang . "/lang.inc"; include $settings->_rootDir . "view/".$theme."/languages/" . $lang . "/lang.inc";
} }

View File

@ -20,7 +20,7 @@
class SeedDMS_Version { class SeedDMS_Version {
public $_number = "5.1.0"; public $_number = "5.1.1";
private $_string = "SeedDMS"; private $_string = "SeedDMS";
function __construct() { function __construct() {

View File

@ -118,7 +118,7 @@ function fileExistsInIncludePath($file) { /* {{{ */
* Load default settings + set * Load default settings + set
*/ */
define("SEEDDMS_INSTALL", "on"); define("SEEDDMS_INSTALL", "on");
define("SEEDDMS_VERSION", "5.1.0"); define("SEEDDMS_VERSION", "5.1.1");
require_once('../inc/inc.ClassSettings.php'); require_once('../inc/inc.ClassSettings.php');

View File

@ -75,7 +75,7 @@ $(document).ready( function() {
$this->htmlStartPage(getMLText("sign_in"), "forcepasswordchange"); $this->htmlStartPage(getMLText("sign_in"), "forcepasswordchange");
$this->globalBanner(); $this->globalBanner();
$this->contentStart(); $this->contentStart();
echo "<h3>".getMLText('password_expiration')."</h3>"; $this->contentHeading(getMLText('password_expiration'));
echo "<div class=\"alert\">".getMLText('password_expiration_text')."</div>"; echo "<div class=\"alert\">".getMLText('password_expiration_text')."</div>";
$this->contentContainerStart(); $this->contentContainerStart();
?> ?>