mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
This commit is contained in:
commit
a6673fe908
|
@ -75,6 +75,8 @@
|
|||
- add support for fine-uploader as a replacement for the old jumploader
|
||||
- when importing from filesystem, the imported folder can be deleted afterwards
|
||||
- new calendar
|
||||
- move folder/document properly checks for access right if done by drag and
|
||||
drop (Closes #309)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 4.3.32
|
||||
|
|
|
@ -251,7 +251,7 @@ switch($command) {
|
|||
} else {
|
||||
$mfolder = $dms->getFolder($_REQUEST['folderid']);
|
||||
if($mfolder) {
|
||||
if ($mfolder->getAccessMode($user) >= M_READ) {
|
||||
if ($mfolder->getAccessMode($user) >= M_READWRITE) {
|
||||
if($folder = $dms->getFolder($_REQUEST['targetfolderid'])) {
|
||||
if($folder->getAccessMode($user) >= M_READWRITE) {
|
||||
if($mfolder->setParent($folder)) {
|
||||
|
@ -290,7 +290,7 @@ switch($command) {
|
|||
} else {
|
||||
$mdocument = $dms->getDocument($_REQUEST['docid']);
|
||||
if($mdocument) {
|
||||
if ($mdocument->getAccessMode($user) >= M_READ) {
|
||||
if ($mdocument->getAccessMode($user) >= M_READWRITE) {
|
||||
if($folder = $dms->getFolder($_REQUEST['targetfolderid'])) {
|
||||
if($folder->getAccessMode($user) >= M_READWRITE) {
|
||||
if($mdocument->setFolder($folder)) {
|
||||
|
|
|
@ -388,9 +388,9 @@ $(document).ready(function() {
|
|||
$this->htmlStartPage(getMLText("calendar"));
|
||||
$this->globalNavigation();
|
||||
$this->contentStart();
|
||||
$this->pageNavigation("", "calendar", array());
|
||||
// $this->pageNavigation("", "calendar", array());
|
||||
?>
|
||||
<div class="row-fluid">
|
||||
<div class="row-fluid" style="margin-bottom: 20px;">
|
||||
<div id="calendar" class="span8" _style="display: inline-block; float: left;"></div>
|
||||
<div id="docinfo" class="span4" _style="display: inline-block; float: right;">
|
||||
<div class="ajax iteminfo" data-view="Calendar" data-action="iteminfo" ></div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user