Dotclear

Changeset 1963:e0722b298dca for admin


Ignore:
Timestamp:
09/20/13 12:11:42 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Makes w3c html validator happy for wonderfull page categories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/categories.php

    r1961 r1963  
    157157 
    158158          echo    
    159           '<p><label class="classic" for="cat-'.$rs->cat_id.'"><a href="category.php?id='.$rs->cat_id.'">'.html::escapeHTML($rs->cat_title).'</a></label> </p>'. 
     159          '<p><label class="classic" for="cat_'.$rs->cat_id.'"><a href="category.php?id='.$rs->cat_id.'">'.html::escapeHTML($rs->cat_title).'</a></label> </p>'. 
    160160          '<p>(<a href="posts.php?cat_id='.$rs->cat_id.'">'. 
    161161          sprintf(($rs->nb_post > 1 ? __('%d entries') : __('%d entry') ),$rs->nb_post).'</a>'. 
     
    169169               echo 
    170170               '<label>'.__('Move entries to').'</label> '.               
    171                form::combo('mov_cat['.$rs->cat_id.']',array_filter($categories_combo, create_function('$cat', 'return $cat->value!=$GLOBALS[\'rs\']->cat_id;')),'',''). 
     171               form::combo(array('mov_cat['.$rs->cat_id.']', 'mov_cat_'.$rs->cat_id),array_filter($categories_combo, create_function('$cat', 'return $cat->value!=$GLOBALS[\'rs\']->cat_id;')),'',''). 
    172172               ' <input type="submit" class="reset" name="mov['.$rs->cat_id.']" value="'.__('OK').'"/>'; 
    173173              
Note: See TracChangeset for help on using the changeset viewer.

Sites map