Dotclear

Changeset 1365:c65cbfa9ebf8 for admin


Ignore:
Timestamp:
08/14/13 16:19:10 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Children:
1376:9af90384e900, 1446:0939663a1b1a, 1876:8da345a51989
Message:

Post ergo enhancement. Can't do more without dev help. See #1533

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r1358 r1365  
    393393     echo '<div id="entry-wrapper">'; 
    394394     echo '<div id="entry-content"><div class="constrained">'; 
     395 
     396     echo '<h3 class="hidden">'.__('Edit post').'</h3>'; 
    395397      
    396398     echo 
     
    444446      
    445447     echo 
     448     '<div id="status-box" class="box">'. 
     449     '<h4>Statut</h4>'. 
     450 
    446451     '<p><label for="post_status">'.__('Entry status:'). 
    447      form::combo('post_status',$status_combo,$post_status,'','',!$can_publish). 
     452     form::combo('post_status',$status_combo,$post_status,'maximal','',!$can_publish). 
    448453     '</label></p>'. 
    449454      
     
    456461     '</label>'. 
    457462     '</p>'. 
     463 
    458464     '<p>'.($post_id && $post_format != 'xhtml' ? '<a id="convert-xhtml" class="button maximal" href="post.php?id='.$post_id.'&amp;xconv=1">'.__('Convert to XHTML').'</a>' : '').'</p>'. 
    459       
    460      '<p class="border-top"><label for="cat_id">'.__('Category:'). 
     465 
     466     '<p><label for="post_lang">'.__('Entry lang:'). 
     467     form::combo('post_lang',$lang_combo,$post_lang). 
     468     '</label></p>'. 
     469      
     470     '</div>'. // End status box 
     471      
     472     '<div id="metas-box" class="box">'. 
     473     '<h4>Classement</h4>'. 
     474 
     475     '<p><label for="post_selected" class="classic">'.form::checkbox('post_selected',1,$post_selected).' '. 
     476     __('Selected entry').'</label></p>'. 
     477 
     478     '<p><label for="cat_id">'.__('Category:'). 
    461479     form::combo('cat_id',$categories_combo,$cat_id,'maximal'). 
    462480     '</label></p>'. 
    463       
     481 
     482     '</div>'. // End metas box 
     483      
     484     '<div id="options-box" class="box">'. 
     485     '<h4>Options</h4>'. 
    464486     '<p><label for="post_open_comment" class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment).' '. 
    465487     __('Accept comments').'</label></p>'. 
     
    478500          '<p class="form-note warn">'.__('Warning: Trackbacks are not accepted on this blog.').'</p>'). 
    479501 
    480      '<p><label for="post_selected" class="classic">'.form::checkbox('post_selected',1,$post_selected).' '. 
    481      __('Selected entry').'</label></p>'. 
    482       
    483      '<p><label for="post_lang">'.__('Entry lang:'). 
    484      form::combo('post_lang',$lang_combo,$post_lang). 
    485      '</label></p>'. 
    486       
    487      '<p><label for="post_password">'.__('Entry password:'). 
     502     '<p><label for="post_password">'.__('Password:'). 
    488503     form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 
    489504     '</label></p>'. 
    490505      
    491506     '<div class="lockable">'. 
    492      '<p><label for="post_url">'.__('Basename:'). 
     507     '<p><label for="post_url">'.__('Edit basename:'). 
    493508     form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 
    494509     '</label></p>'. 
     
    500515     # --BEHAVIOR-- adminPostFormSidebar 
    501516     $core->callBehavior('adminPostFormSidebar',isset($post) ? $post : null); 
     517 
     518     echo '</div>'; // End options box 
    502519      
    503520     echo '</div>';      // End #entry-sidebar 
  • admin/style/default.css

    r1353 r1365  
    6161     color: #575859; 
    6262     font-size: 1.4rem; 
     63} 
     64h4 { 
     65     font-size: 1.1em; 
     66     color: #575859; 
     67} 
     68h5 { 
     69     font-size: 1em; 
     70     color: #575859; 
    6371} 
    6472p, div.p { 
     
    533541     width: 17em; 
    534542     float: right; 
     543} 
     544.box { 
     545     border-bottom: 2px solid #A2CBE9; 
     546     margin-bottom: 1em; 
    535547} 
    536548#comments { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map