diff --git a/admin/cat_move.php b/admin/cat_move.php index 4a81fe430..9824b9b26 100644 --- a/admin/cat_move.php +++ b/admin/cat_move.php @@ -115,7 +115,6 @@ $template->set_filename('cat_move', 'cat_move.tpl'); $template->assign( array( - 'U_HELP' => get_root_url().'admin/popuphelp.php?page=cat_move', 'F_ACTION' => get_root_url().'admin.php?page=cat_move', ) ); diff --git a/admin/themes/default/js/cat_move.js b/admin/themes/default/js/cat_move.js index 6eb1ee4cd..c4aa6ebe9 100644 --- a/admin/themes/default/js/cat_move.js +++ b/admin/themes/default/js/cat_move.js @@ -34,10 +34,11 @@ $(document).ready(() => { } else { cont.append($(icon.replace(/%icon%/g, 'icon-folder-open'))); } - + cont.append($(title.replace(/%name%/g, node.name))); + if (node.status == 'private') { - cont.append($(icon.replace(/%icon%/g, 'icon-lock'))); + cont.find(".move-cat-title").addClass('icon-lock'); } cont.append(actions); diff --git a/admin/themes/default/template/cat_move.tpl b/admin/themes/default/template/cat_move.tpl index 085cdc09d..78132c2dd 100644 --- a/admin/themes/default/template/cat_move.tpl +++ b/admin/themes/default/template/cat_move.tpl @@ -6,7 +6,7 @@ var str_hide_sub = "{'Hide sub-albums'|@translate}"; var str_manage_sub_album = "{'Manage sub-albums'|@translate}"; var str_apply_order = "{'Apply an automatic order to sub-albums'|@translate}"; var str_edit = "{'Edit album'|@translate}"; -var str_are_you_sure = "{'Album \'%s\' status and his sub-albums will change to private. Are you sure ?'|@translate}"; +var str_are_you_sure = "{'The status of the album \'%s\' and its sub-albums will change to private. Are you sure?'|@translate}"; var str_yes_change_parent = "{'Yes change parent anyway'|@translate}" var str_no_change_parent = "{'No, don\'t move this album here'|@translate}" var str_root = "{'Root'|@translate}" @@ -26,14 +26,11 @@ var openCat = {$open_cat};