Dotclear

Changeset 458:5a1dcd30fe14 for admin


Ignore:
Timestamp:
06/30/11 19:48:08 (14 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
default
Message:

Accessibilité - ordre de tabulation - Step 2 :

  • Remise dans l'ordre des éléments contenu / sidebar sur l'édition des billets et des pages
  • Ajout des styles idoines pour retrouver un affichage correct
Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r454 r458  
    360360     echo '<div class="multi-part" title="'.__('Edit entry').'" id="edit-entry">'; 
    361361     echo '<form action="post.php" method="post" id="entry-form">'; 
    362      echo '<div id="entry-sidebar">'; 
    363       
    364      echo 
    365      '<p><label for="cat_id">'.__('Category:'). 
    366      form::combo('cat_id',$categories_combo,$cat_id,'maximal'). 
    367      '</label></p>'. 
    368       
    369      '<p><label for="post_status">'.__('Entry status:'). 
    370      form::combo('post_status',$status_combo,$post_status,'','',!$can_publish). 
    371      '</label></p>'. 
    372       
    373      '<p><label for="post_dt">'.__('Published on:'). 
    374      form::field('post_dt',16,16,$post_dt). 
    375      '</label></p>'. 
    376       
    377      '<p><label for="post_format">'.__('Text formating:'). 
    378      form::combo('post_format',$formaters_combo,$post_format). 
    379      '</label>'. 
    380      '</p>'. 
    381      '<p>'.($post_id && $post_format != 'xhtml' ? '<a id="convert-xhtml" class="button" href="post.php?id='.$post_id.'&amp;xconv=1">'.__('Convert to XHTML').'</a>' : '').'</p>'. 
    382       
    383      '<p><label for="post_open_comment" class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment).' '. 
    384      __('Accept comments').'</label></p>'. 
    385      '<p><label for="post_open_tb" class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb).' '. 
    386      __('Accept trackbacks').'</label></p>'. 
    387      '<p><label for="post_selected" class="classic">'.form::checkbox('post_selected',1,$post_selected).' '. 
    388      __('Selected entry').'</label></p>'. 
    389       
    390      '<p><label for="post_lang">'.__('Entry lang:'). 
    391      form::combo('post_lang',$lang_combo,$post_lang). 
    392      '</label></p>'. 
    393       
    394      '<p><label for="post_password">'.__('Entry password:'). 
    395      form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 
    396      '</label></p>'. 
    397       
    398      '<div class="lockable">'. 
    399      '<p><label for="post_url">'.__('Basename:'). 
    400      form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 
    401      '</label></p>'. 
    402      '<p class="form-note warn">'. 
    403      __('Warning: If you set the URL manually, it may conflict with another entry.'). 
    404      '</p>'. 
    405      '</div>'; 
    406       
    407      # --BEHAVIOR-- adminPostFormSidebar 
    408      $core->callBehavior('adminPostFormSidebar',isset($post) ? $post : null); 
    409       
    410      echo '</div>';      // End #entry-sidebar 
    411       
     362     echo '<div id="entry-wrapper">'; 
    412363     echo '<div id="entry-content"><fieldset class="constrained">'; 
    413364      
     
    443394      
    444395     echo '</fieldset></div>';          // End #entry-content 
     396     echo '</div>';      // End #entry-wrapper 
     397 
     398     echo '<div id="entry-sidebar">'; 
     399      
     400     echo 
     401     '<p><label for="cat_id">'.__('Category:'). 
     402     form::combo('cat_id',$categories_combo,$cat_id,'maximal'). 
     403     '</label></p>'. 
     404      
     405     '<p><label for="post_status">'.__('Entry status:'). 
     406     form::combo('post_status',$status_combo,$post_status,'','',!$can_publish). 
     407     '</label></p>'. 
     408      
     409     '<p><label for="post_dt">'.__('Published on:'). 
     410     form::field('post_dt',16,16,$post_dt). 
     411     '</label></p>'. 
     412      
     413     '<p><label for="post_format">'.__('Text formating:'). 
     414     form::combo('post_format',$formaters_combo,$post_format). 
     415     '</label>'. 
     416     '</p>'. 
     417     '<p>'.($post_id && $post_format != 'xhtml' ? '<a id="convert-xhtml" class="button" href="post.php?id='.$post_id.'&amp;xconv=1">'.__('Convert to XHTML').'</a>' : '').'</p>'. 
     418      
     419     '<p><label for="post_open_comment" class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment).' '. 
     420     __('Accept comments').'</label></p>'. 
     421     '<p><label for="post_open_tb" class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb).' '. 
     422     __('Accept trackbacks').'</label></p>'. 
     423     '<p><label for="post_selected" class="classic">'.form::checkbox('post_selected',1,$post_selected).' '. 
     424     __('Selected entry').'</label></p>'. 
     425      
     426     '<p><label for="post_lang">'.__('Entry lang:'). 
     427     form::combo('post_lang',$lang_combo,$post_lang). 
     428     '</label></p>'. 
     429      
     430     '<p><label for="post_password">'.__('Entry password:'). 
     431     form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 
     432     '</label></p>'. 
     433      
     434     '<div class="lockable">'. 
     435     '<p><label for="post_url">'.__('Basename:'). 
     436     form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 
     437     '</label></p>'. 
     438     '<p class="form-note warn">'. 
     439     __('Warning: If you set the URL manually, it may conflict with another entry.'). 
     440     '</p>'. 
     441     '</div>'; 
     442      
     443     # --BEHAVIOR-- adminPostFormSidebar 
     444     $core->callBehavior('adminPostFormSidebar',isset($post) ? $post : null); 
     445      
     446     echo '</div>';      // End #entry-sidebar 
     447 
    445448     echo '</form>'; 
    446449      
  • admin/style/default.css

    r447 r458  
    366366 
    367367/* POST */ 
     368#entry-wrapper { 
     369     float: left; 
     370     width: 100%; 
     371     margin-right: -18em; 
     372} 
     373#entry-content { 
     374     margin-right: 18em; 
     375} 
    368376#entry-sidebar { 
    369377     width: 17em; 
    370378     float: right; 
    371 } 
    372 #entry-content { 
    373      margin-right: 18em; 
    374379} 
    375380#comments { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map