Changeset 2222:30fe556de226 for admin/js
- Timestamp:
- 10/03/13 00:57:41 (12 years ago)
- Branch:
- dcRepo
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_plugins.js
r2171 r2222 78 78 var support = $(rsp).find('support').text(); 79 79 var box = document.createElement('div'); 80 var dl= document.createElement('ul');81 dl.className = "mod-more";80 var bloc = document.createElement('ul'); 81 bloc.className = "mod-more"; 82 82 83 83 if (author) { 84 $( dl).append($('<li class="module-author">'+dotclear.msg.module_author+' '+author+'</li>'));84 $(bloc).append($('<li class="module-author">'+dotclear.msg.module_author+' '+author+'</li>')); 85 85 } 86 86 if (details) { … … 91 91 dd += '<a class="module-support" href="'+support+'">'+dotclear.msg.module_support+'</a>'; 92 92 } 93 $( dl).append($('<li>'+dotclear.msg.module_help+' '+dd+'</li>'));93 $(bloc).append($('<li>'+dotclear.msg.module_help+' '+dd+'</li>')); 94 94 } 95 95 96 $(td).append($(box).addClass('two-boxes').append( dl));96 $(td).append($(box).addClass('two-boxes').append(bloc)); 97 97 98 98 var section = $(rsp).find('section').text(); … … 100 100 101 101 var boxb = document.createElement('div'); 102 var dlb = document.createElement('ul');103 dlb.className = "mod-more";102 var blocb = document.createElement('ul'); 103 blocb.className = "mod-more"; 104 104 105 105 if (section) { 106 $( dlb).append($('<li class="module-section">'+dotclear.msg.module_section+' '+section+'</li>'));106 $(blocb).append($('<li class="module-section">'+dotclear.msg.module_section+' '+section+'</li>')); 107 107 } 108 108 if (tags) { 109 $( dlb).append($('<li class="module-tags">'+dotclear.msg.module_tags+' '+tags+'</li>'));109 $(blocb).append($('<li class="module-tags">'+dotclear.msg.module_tags+' '+tags+'</li>')); 110 110 } 111 $(td).append($(boxb).addClass('two-boxes').append( dlb));111 $(td).append($(boxb).addClass('two-boxes').append(blocb)); 112 112 } else { 113 113 alert($(rsp).find('message').text()); … … 151 151 $(function() { 152 152 $('table.modules.expandable tr:not(.line)').each(function() { 153 dotclear.modulesExpander(this,$('table.modules tr.line'));153 dotclear.modulesExpander(this,$('table.modules.expandable tr.line')); 154 154 }); 155 155 $('table.modules.expandable tr.line').each(function() {
Note: See TracChangeset
for help on using the changeset viewer.