From 1ce602c98c0b38f606824b61b3826485c9baae90 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 5 Aug 2020 18:43:12 +0200 Subject: [PATCH] add [begin|end]_action_list as keys for extracontent in list items --- views/bootstrap/class.Bootstrap.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index cdc3d96c5..0a9f1e4ac 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -2439,6 +2439,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) // $content .= "".$version.""; $content .= ""; $content .= "
"; + if(!empty($extracontent['begin_action_list'])) + $content .= $extracontent['begin_action_list']; if($document->getAccessMode($user) >= M_ALL) { $content .= $this->printDeleteDocumentButton($document, 'splash_rm_document', true); } else { @@ -2455,6 +2457,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) if($enableClipboard) { $content .= ''; } + if(!empty($extracontent['end_action_list'])) + $content .= $extracontent['end_action_list']; $content .= "
"; $content .= ""; } @@ -2564,6 +2568,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) // $content .= ""; $content .= ""; $content .= "
"; + if(!empty($extracontent['begin_action_list'])) + $content .= $extracontent['begin_action_list']; $subFolderAccessMode = $subFolder->getAccessMode($user); if($subFolderAccessMode >= M_ALL) { $content .= $this->printDeleteFolderButton($subFolder, 'splash_rm_folder', true); @@ -2578,6 +2584,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) if($enableClipboard) { $content .= ''; } + if(!empty($extracontent['end_action_list'])) + $content .= $extracontent['end_action_list']; $content .= "
"; $content .= ""; if(!$skipcont)