mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
add [begin|end]_action_list as keys for extracontent in list items
This commit is contained in:
parent
0cd7a621f4
commit
1ce602c98c
|
@ -2439,6 +2439,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
||||||
// $content .= "<td>".$version."</td>";
|
// $content .= "<td>".$version."</td>";
|
||||||
$content .= "<td>";
|
$content .= "<td>";
|
||||||
$content .= "<div class=\"list-action\">";
|
$content .= "<div class=\"list-action\">";
|
||||||
|
if(!empty($extracontent['begin_action_list']))
|
||||||
|
$content .= $extracontent['begin_action_list'];
|
||||||
if($document->getAccessMode($user) >= M_ALL) {
|
if($document->getAccessMode($user) >= M_ALL) {
|
||||||
$content .= $this->printDeleteDocumentButton($document, 'splash_rm_document', true);
|
$content .= $this->printDeleteDocumentButton($document, 'splash_rm_document', true);
|
||||||
} else {
|
} else {
|
||||||
|
@ -2455,6 +2457,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
||||||
if($enableClipboard) {
|
if($enableClipboard) {
|
||||||
$content .= '<a class="addtoclipboard" rel="D'.$docID.'" msg="'.getMLText('splash_added_to_clipboard').'" title="'.getMLText("add_to_clipboard").'"><i class="icon-copy"></i></a>';
|
$content .= '<a class="addtoclipboard" rel="D'.$docID.'" msg="'.getMLText('splash_added_to_clipboard').'" title="'.getMLText("add_to_clipboard").'"><i class="icon-copy"></i></a>';
|
||||||
}
|
}
|
||||||
|
if(!empty($extracontent['end_action_list']))
|
||||||
|
$content .= $extracontent['end_action_list'];
|
||||||
$content .= "</div>";
|
$content .= "</div>";
|
||||||
$content .= "</td>";
|
$content .= "</td>";
|
||||||
}
|
}
|
||||||
|
@ -2564,6 +2568,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
||||||
// $content .= "<td></td>";
|
// $content .= "<td></td>";
|
||||||
$content .= "<td>";
|
$content .= "<td>";
|
||||||
$content .= "<div class=\"list-action\">";
|
$content .= "<div class=\"list-action\">";
|
||||||
|
if(!empty($extracontent['begin_action_list']))
|
||||||
|
$content .= $extracontent['begin_action_list'];
|
||||||
$subFolderAccessMode = $subFolder->getAccessMode($user);
|
$subFolderAccessMode = $subFolder->getAccessMode($user);
|
||||||
if($subFolderAccessMode >= M_ALL) {
|
if($subFolderAccessMode >= M_ALL) {
|
||||||
$content .= $this->printDeleteFolderButton($subFolder, 'splash_rm_folder', true);
|
$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) {
|
if($enableClipboard) {
|
||||||
$content .= '<a class="addtoclipboard" rel="F'.$subFolder->getID().'" msg="'.getMLText('splash_added_to_clipboard').'" title="'.getMLText("add_to_clipboard").'"><i class="icon-copy"></i></a>';
|
$content .= '<a class="addtoclipboard" rel="F'.$subFolder->getID().'" msg="'.getMLText('splash_added_to_clipboard').'" title="'.getMLText("add_to_clipboard").'"><i class="icon-copy"></i></a>';
|
||||||
}
|
}
|
||||||
|
if(!empty($extracontent['end_action_list']))
|
||||||
|
$content .= $extracontent['end_action_list'];
|
||||||
$content .= "</div>";
|
$content .= "</div>";
|
||||||
$content .= "</td>";
|
$content .= "</td>";
|
||||||
if(!$skipcont)
|
if(!$skipcont)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user