Dotclear

Changeset 2222:30fe556de226 for admin/js


Ignore:
Timestamp:
10/03/13 00:57:41 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
dcRepo
Message:

Enhance repository search engine (and some fix)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_plugins.js

    r2171 r2222  
    7878                                var support = $(rsp).find('support').text(); 
    7979                                        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"; 
    8282                                 
    8383                                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>')); 
    8585                                } 
    8686                                if (details) { 
     
    9191                                                dd += '<a class="module-support" href="'+support+'">'+dotclear.msg.module_support+'</a>'; 
    9292                                        } 
    93                                         $(dl).append($('<li>'+dotclear.msg.module_help+' '+dd+'</li>')); 
     93                                        $(bloc).append($('<li>'+dotclear.msg.module_help+' '+dd+'</li>')); 
    9494                                } 
    9595 
    96                                 $(td).append($(box).addClass('two-boxes').append(dl)); 
     96                                $(td).append($(box).addClass('two-boxes').append(bloc)); 
    9797                                 
    9898                                var section = $(rsp).find('section').text(); 
     
    100100                                 
    101101                                        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"; 
    104104                                 
    105105                                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>')); 
    107107                                } 
    108108                                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>')); 
    110110                                } 
    111                                 $(td).append($(boxb).addClass('two-boxes').append(dlb)); 
     111                                $(td).append($(boxb).addClass('two-boxes').append(blocb)); 
    112112                        } else { 
    113113                                alert($(rsp).find('message').text()); 
     
    151151$(function() { 
    152152        $('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')); 
    154154        }); 
    155155        $('table.modules.expandable tr.line').each(function() { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map