mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 05:57:34 +00:00
propper icon on buttons of bootbox
This commit is contained in:
parent
91f679ed35
commit
9cff7df236
|
@ -974,7 +974,7 @@ $(document).ready(function() { /* {{{ */
|
|||
if(source_info.name)
|
||||
bootbox_message += "<p> "+escapeHtml(source_info.name)+' <i class="fa fa-arrow-right"></i> '+escapeHtml(target_name)+"</p>";
|
||||
bootbox.dialog(bootbox_message, [{
|
||||
"label" : "<i class='fa fa-remove'></i> "+trans.move_folder,
|
||||
"label" : "<i class='fa fa-arrow-right'></i> "+trans.move_folder,
|
||||
"class" : "btn-danger",
|
||||
"callback": function() {
|
||||
$.get(seeddms_webroot+'op/op.Ajax.php',
|
||||
|
@ -1029,7 +1029,7 @@ $(document).ready(function() { /* {{{ */
|
|||
if(source_type == 'document') {
|
||||
if(source_id != target_id) {
|
||||
bootbox.dialog(trans.confirm_transfer_link_document, [{
|
||||
"label" : trans.transfer_content,
|
||||
"label" : "<i class='fa fa-arrow-right'></i> "+trans.transfer_content,
|
||||
"class" : "btn-danger",
|
||||
"callback": function() {
|
||||
$.get(seeddms_webroot+'op/op.Ajax.php',
|
||||
|
@ -1060,7 +1060,7 @@ $(document).ready(function() { /* {{{ */
|
|||
);
|
||||
}
|
||||
}, {
|
||||
"label" : trans.link_document,
|
||||
"label" : "<i class='fa fa-link'></i> "+trans.link_document,
|
||||
"class" : "btn-danger",
|
||||
"callback": function() {
|
||||
$.get(seeddms_webroot+'op/op.Ajax.php',
|
||||
|
@ -1239,7 +1239,7 @@ $(document).ready(function() { /* {{{ */
|
|||
// document.location = url;
|
||||
} else if(source_type == 'folder' && source_id != target_id) {
|
||||
bootbox.dialog(trans.confirm_move_folder, [{
|
||||
"label" : "<i class='fa fa-remove'></i> "+trans.move_folder,
|
||||
"label" : "<i class='fa fa-arrow-right'></i> "+trans.move_folder,
|
||||
"class" : "btn-danger",
|
||||
"callback": function() {
|
||||
$.get(seeddms_webroot+'op/op.Ajax.php',
|
||||
|
|
|
@ -1020,7 +1020,7 @@ $(document).ready(function() { /* {{{ */
|
|||
}
|
||||
},
|
||||
"move" : {
|
||||
"label" : "<i class='fa fa-remove'></i> "+trans.move_folder,
|
||||
"label" : "<i class='fa fa-arrow-right'></i> "+trans.move_folder,
|
||||
"className" : "btn-danger",
|
||||
"callback": function() {
|
||||
$.get(seeddms_webroot+'op/op.Ajax.php',
|
||||
|
@ -1081,7 +1081,7 @@ $(document).ready(function() { /* {{{ */
|
|||
}
|
||||
},
|
||||
"transfer": {
|
||||
"label" : "<i class='fa fa-remove'></i> "+trans.transfer_content,
|
||||
"label" : "<i class='fa fa-arrow-right'></i> "+trans.transfer_content,
|
||||
"className" : "btn-danger",
|
||||
"callback": function() {
|
||||
$.get(seeddms_webroot+'op/op.Ajax.php',
|
||||
|
@ -1113,7 +1113,7 @@ $(document).ready(function() { /* {{{ */
|
|||
}
|
||||
},
|
||||
"link" : {
|
||||
"label" : trans.link_document,
|
||||
"label" : "<i class='fa fa-link'></i> "+trans.link_document,
|
||||
"className" : "btn-danger",
|
||||
"callback": function() {
|
||||
$.get(seeddms_webroot+'op/op.Ajax.php',
|
||||
|
@ -1289,7 +1289,7 @@ $(document).ready(function() { /* {{{ */
|
|||
// document.location = url;
|
||||
} else if(source_type == 'folder' && source_id != target_id) {
|
||||
bootbox.dialog(trans.confirm_move_folder, [{
|
||||
"label" : "<i class='fa fa-remove'></i> "+trans.move_folder,
|
||||
"label" : "<i class='fa fa-arrow-right'></i> "+trans.move_folder,
|
||||
"class" : "btn-danger",
|
||||
"callback": function() {
|
||||
$.get(seeddms_webroot+'op/op.Ajax.php',
|
||||
|
|
Loading…
Reference in New Issue
Block a user