Dotclear

Changeset 3762:e5c18a9ead6a


Ignore:
Timestamp:
06/17/18 08:50:16 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

scope="row" obsolete in HTML5 for td, switch to th for module name (plugins list), closes #2272

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_plugins.js

    r3706 r3762  
    55  // expand a module line 
    66  $('table.modules.expandable tr.line').each(function() { 
    7     $('td.module-name', this).toggleWithLegend($(this).next('.module-more'), { 
     7    $('td.module-name, th.module-name', this).toggleWithLegend($(this).next('.module-more'), { 
    88      img_on_src: dotclear.img_plus_src, 
    99      img_on_alt: dotclear.img_plus_alt, 
  • admin/style/default.css

    r3731 r3762  
    885885  margin-bottom: .5em; } 
    886886 
    887 th { 
     887th:not(.module-name) { 
    888888  border-width: 1px 0 1px 0; 
    889889  border-style: solid; 
     
    894894  text-align: left; } 
    895895 
    896 td { 
     896td, th.module-name { 
     897  font-weight: normal; 
    897898  border-width: 0 0 1px 0; 
    898899  border-style: solid; 
  • admin/style/scss/partials/_markup.scss

    r3517 r3762  
    105105} 
    106106 
    107 th { 
     107th:not(.module-name) { 
    108108     border-width: 1px 0 1px 0; 
    109109     border-style: solid; 
     
    115115} 
    116116 
    117 td { 
     117td, th.module-name { 
     118  font-weight: normal; 
    118119     border-width: 0 0 1px 0; 
    119120     border-style: solid; 
  • inc/admin/lib.moduleslist.php

    r3731 r3762  
    625625            $tds++; 
    626626            echo 
    627                 '<td class="module-name nowrap" scope="row">'; 
     627                '<th class="module-name nowrap" scope="row">'; 
    628628            if (in_array('checkbox', $cols)) { 
    629629                if (in_array('expander', $cols)) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map