diff --git a/SeedDMS_Core/package.xml b/SeedDMS_Core/package.xml
index b93968967..9d5de3e24 100644
--- a/SeedDMS_Core/package.xml
+++ b/SeedDMS_Core/package.xml
@@ -12,7 +12,7 @@
uwe@steinmann.cx
yes
- 2017-03-23
+ 2017-07-13
6.0.1
@@ -1189,7 +1189,7 @@ SeedDMS_Core_DMS::getDuplicateDocumentContent() returns complete document
- 2017-03-23
+ 2017-07-11
4.3.35
@@ -1204,6 +1204,21 @@ SeedDMS_Core_DMS::getDuplicateDocumentContent() returns complete document
do not sort some temporary tables anymore, because it causes an error in mysql if sql_mode=only_full_group_by is set
+
+ 2017-03-22
+
+
+ 4.3.36
+ 4.3.36
+
+
+ stable
+ stable
+
+ GPL License
+
+
+
2016-01-22
@@ -1398,6 +1413,21 @@ all sql statements can be logged to a file
do not sort some temporary tables anymore, because it causes an error in mysql if sql_mode=only_full_group_by is set
+
+ 2017-07-13
+
+
+ 5.0.13
+ 5.0.13
+
+
+ stable
+ stable
+
+ GPL License
+
+
+
2017-02-20
@@ -1453,6 +1483,21 @@ if the owner tries to access them
- Add hook onAttributeValidate
+
+ 2017-07-13
+
+
+ 5.1.3
+ 5.1.3
+
+
+ stable
+ stable
+
+ GPL License
+
+
+
2017-02-28
diff --git a/op/op.EditUserData.php b/op/op.EditUserData.php
index f390613de..fec4ad607 100644
--- a/op/op.EditUserData.php
+++ b/op/op.EditUserData.php
@@ -127,6 +127,8 @@ if (isset($_FILES["userfile"]) && is_uploaded_file($_FILES["userfile"]["tmp_name
$user->setImage($_FILES["userfile"]["tmp_name"], $_FILES["userfile"]["type"]);
}
+$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_save_user_data')));
+
add_log_line("?user=".$user->getLogin());
header("Location:../out/out.MyAccount.php");
diff --git a/views/bootstrap/class.AddFile.php b/views/bootstrap/class.AddFile.php
index fc6298f14..9414e19b7 100644
--- a/views/bootstrap/class.AddFile.php
+++ b/views/bootstrap/class.AddFile.php
@@ -68,6 +68,12 @@ $(document).ready( function() {
timeout: 1500,
});
},
+ highlight: function(e, errorClass, validClass) {
+ $(e).parent().parent().removeClass(validClass).addClass(errorClass);
+ },
+ unhighlight: function(e, errorClass, validClass) {
+ $(e).parent().parent().removeClass(errorClass).addClass(validClass);
+ },
diff --git a/views/bootstrap/class.AddSubFolder.php b/views/bootstrap/class.AddSubFolder.php
index 05c7fb959..9202a2282 100644
--- a/views/bootstrap/class.AddSubFolder.php
+++ b/views/bootstrap/class.AddSubFolder.php
@@ -35,37 +35,7 @@ class SeedDMS_View_AddSubFolder extends SeedDMS_Bootstrap_Style {
$strictformcheck = $this->params['strictformcheck'];
header('Content-Type: application/javascript');
?>
-function checkForm()
-{
- msg = new Array();
- if (document.form1.name.value == "") msg.push("");
-
- if (document.form1.comment.value == "") msg.push("");
-
- if (msg != "") {
- noty({
- text: msg.join('
'),
- type: 'error',
- dismissQueue: true,
- layout: 'topRight',
- theme: 'defaultTheme',
- _timeout: 1500,
- });
- return false;
- }
- else
- return true;
-}
$(document).ready( function() {
-/* $('body').on('submit', '#form1', function(ev){
- if(checkForm()) return;
- ev.preventDefault();
- });
-*/
$("#form1").validate({
invalidHandler: function(e, validator) {
noty({
@@ -77,6 +47,12 @@ $(document).ready( function() {
timeout: 1500,
});
},
+ highlight: function(e, errorClass, validClass) {
+ $(e).parent().parent().removeClass(validClass).addClass(errorClass);
+ },
+ unhighlight: function(e, errorClass, validClass) {
+ $(e).parent().parent().removeClass(errorClass).addClass(validClass);
+ },
messages: {
name: "",
comment: ""
diff --git a/views/bootstrap/class.EditDocument.php b/views/bootstrap/class.EditDocument.php
index 2e43087f8..c3199197b 100644
--- a/views/bootstrap/class.EditDocument.php
+++ b/views/bootstrap/class.EditDocument.php
@@ -36,41 +36,7 @@ class SeedDMS_View_EditDocument extends SeedDMS_Bootstrap_Style {
header('Content-Type: application/javascript');
$this->printKeywordChooserJs('form1');
?>
-function checkForm()
-{
- msg = new Array();
- if ($("#name").val() == "") msg.push("");
-
- if ($("#comment").val() == "") msg.push("");
- if ($("#keywords").val() == "") msg.push("");
-
- if (msg != "")
- {
- noty({
- text: msg.join('
'),
- type: 'error',
- dismissQueue: true,
- layout: 'topRight',
- theme: 'defaultTheme',
- _timeout: 1500,
- });
- return false;
- }
- else
- return true;
-}
-
$(document).ready( function() {
-/*
- $('body').on('submit', '#form1', function(ev){
- if(checkForm()) return;
- ev.preventDefault();
- });
-*/
$("#form1").validate({
invalidHandler: function(e, validator) {
noty({
diff --git a/views/bootstrap/class.EditFolder.php b/views/bootstrap/class.EditFolder.php
index 2da21e14b..d5c71f9ed 100644
--- a/views/bootstrap/class.EditFolder.php
+++ b/views/bootstrap/class.EditFolder.php
@@ -35,37 +35,7 @@ class SeedDMS_View_EditFolder extends SeedDMS_Bootstrap_Style {
$strictformcheck = $this->params['strictformcheck'];
header('Content-Type: application/javascript; charset=UTF-8');
?>
-function checkForm()
-{
- msg = new Array();
- if (document.form1.name.value == "") msg.push("");
-
- if (document.form1.comment.value == "") msg.push("");
-
- if (msg != "") {
- noty({
- text: msg.join('
'),
- type: 'error',
- dismissQueue: true,
- layout: 'topRight',
- theme: 'defaultTheme',
- });
- return false;
- }
- else
- return true;
-}
$(document).ready(function() {
-/*
- $('body').on('submit', '#form1', function(ev){
- if(checkForm()) return;
- ev.preventDefault();
- });
-*/
$("#form1").validate({
invalidHandler: function(e, validator) {
noty({
@@ -77,6 +47,12 @@ $(document).ready(function() {
timeout: 1500,
});
},
+ highlight: function(e, errorClass, validClass) {
+ $(e).parent().parent().removeClass(validClass).addClass(errorClass);
+ },
+ unhighlight: function(e, errorClass, validClass) {
+ $(e).parent().parent().removeClass(errorClass).addClass(validClass);
+ },
messages: {
name: "",
comment: ""
diff --git a/views/bootstrap/class.EditUserData.php b/views/bootstrap/class.EditUserData.php
index af6ccd32a..aea65afa6 100644
--- a/views/bootstrap/class.EditUserData.php
+++ b/views/bootstrap/class.EditUserData.php
@@ -34,35 +34,7 @@ class SeedDMS_View_EditUserData extends SeedDMS_Bootstrap_Style {
function js() { /* {{{ */
header('Content-Type: application/javascript');
?>
-function checkForm()
-{
- msg = new Array();
- if ($("#pwd").val() != $("#pwdconf").val()) msg.push("");
- if ($("#fullname").val() == "") msg.push("");
- if ($("#email").val() == "") msg.push("");
-// if (document.form1.comment.value == "") msg.push("");
- if (msg != "") {
- noty({
- text: msg.join('
'),
- type: 'error',
- dismissQueue: true,
- layout: 'topRight',
- theme: 'defaultTheme',
- _timeout: 1500,
- });
- return false;
- }
- else
- return true;
-}
-
$(document).ready( function() {
-/*
- $('body').on('submit', '#form', function(ev){
- if(checkForm()) return;
- ev.preventDefault();
- });
-*/
$("#form").validate({
invalidHandler: function(e, validator) {
noty({
@@ -74,7 +46,16 @@ $(document).ready( function() {
timeout: 1500,
});
},
+ highlight: function(e, errorClass, validClass) {
+ $(e).parent().parent().removeClass(validClass).addClass(errorClass);
+ },
+ unhighlight: function(e, errorClass, validClass) {
+ $(e).parent().parent().removeClass(errorClass).addClass(validClass);
+ },
rules: {
+ currentpwd: {
+ required: true
+ },
fullname: {
required: true
},
@@ -87,6 +68,7 @@ $(document).ready( function() {
}
},
messages: {
+ currentpwd: "",
fullname: "",
email: {
required: "",