mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
b855389965
|
@ -12,7 +12,7 @@
|
|||
<email>uwe@steinmann.cx</email>
|
||||
<active>yes</active>
|
||||
</lead>
|
||||
<date>2017-03-23</date>
|
||||
<date>2017-07-13</date>
|
||||
<time>06:34:50</time>
|
||||
<version>
|
||||
<release>6.0.1</release>
|
||||
|
@ -1189,7 +1189,7 @@ SeedDMS_Core_DMS::getDuplicateDocumentContent() returns complete document
|
|||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2017-03-23</date>
|
||||
<date>2017-07-11</date>
|
||||
<time>06:38:12</time>
|
||||
<version>
|
||||
<release>4.3.35</release>
|
||||
|
@ -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
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2017-03-22</date>
|
||||
<time>06:38:12</time>
|
||||
<version>
|
||||
<release>4.3.36</release>
|
||||
<api>4.3.36</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
<api>stable</api>
|
||||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2016-01-22</date>
|
||||
<time>14:34:58</time>
|
||||
|
@ -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
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2017-07-13</date>
|
||||
<time>07:07:02</time>
|
||||
<version>
|
||||
<release>5.0.13</release>
|
||||
<api>5.0.13</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
<api>stable</api>
|
||||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2017-02-20</date>
|
||||
<time>07:07:02</time>
|
||||
|
@ -1453,6 +1483,21 @@ if the owner tries to access them
|
|||
- Add hook onAttributeValidate
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2017-07-13</date>
|
||||
<time>07:07:02</time>
|
||||
<version>
|
||||
<release>5.1.3</release>
|
||||
<api>5.1.3</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
<api>stable</api>
|
||||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
<date>2017-02-28</date>
|
||||
<time>06:34:50</time>
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
},
|
||||
<?php
|
||||
if($enablelargefileupload) {
|
||||
?>
|
||||
|
|
|
@ -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("<?php printMLText("js_no_name");?>");
|
||||
<?php
|
||||
if ($strictformcheck) {
|
||||
?>
|
||||
if (document.form1.comment.value == "") msg.push("<?php printMLText("js_no_comment");?>");
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
if (msg != "") {
|
||||
noty({
|
||||
text: msg.join('<br />'),
|
||||
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: "<?php printMLText("js_no_name");?>",
|
||||
comment: "<?php printMLText("js_no_comment");?>"
|
||||
|
|
|
@ -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("<?php printMLText("js_no_name");?>");
|
||||
<?php
|
||||
if ($strictformcheck) {
|
||||
?>
|
||||
if ($("#comment").val() == "") msg.push("<?php printMLText("js_no_comment");?>");
|
||||
if ($("#keywords").val() == "") msg.push("<?php printMLText("js_no_keywords");?>");
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
if (msg != "")
|
||||
{
|
||||
noty({
|
||||
text: msg.join('<br />'),
|
||||
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({
|
||||
|
|
|
@ -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("<?php printMLText("js_no_name");?>");
|
||||
<?php
|
||||
if ($strictformcheck) {
|
||||
?>
|
||||
if (document.form1.comment.value == "") msg.push("<?php printMLText("js_no_comment");?>");
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
if (msg != "") {
|
||||
noty({
|
||||
text: msg.join('<br />'),
|
||||
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: "<?php printMLText("js_no_name");?>",
|
||||
comment: "<?php printMLText("js_no_comment");?>"
|
||||
|
|
|
@ -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("<?php printMLText("js_pwd_not_conf");?>");
|
||||
if ($("#fullname").val() == "") msg.push("<?php printMLText("js_no_name");?>");
|
||||
if ($("#email").val() == "") msg.push("<?php printMLText("js_no_email");?>");
|
||||
// if (document.form1.comment.value == "") msg.push("<?php printMLText("js_no_comment");?>");
|
||||
if (msg != "") {
|
||||
noty({
|
||||
text: msg.join('<br />'),
|
||||
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: "<?php printMLText("js_no_currentpwd");?>",
|
||||
fullname: "<?php printMLText("js_no_name");?>",
|
||||
email: {
|
||||
required: "<?php printMLText("js_no_email");?>",
|
||||
|
|
Loading…
Reference in New Issue
Block a user