Dotclear

Changeset 1613:d0ed7e2ca7a4 for admin


Ignore:
Timestamp:
08/29/13 17:43:05 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Fixes html errors in new comment ordonnancement. Closes #1622

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r1612 r1613  
    627627     } 
    628628      
     629     echo 
     630     '<div id="comments" class="multi-part" title="'.__('Comments').'">'; 
     631           
    629632     # --BEHAVIOR-- adminCommentsActionsCombo 
    630633     $core->callBehavior('adminCommentsActionsCombo',array(&$combo_action)); 
     
    632635     $has_action = !empty($combo_action) && (!$trackbacks->isEmpty() || !$comments->isEmpty()); 
    633636     echo  
    634           '<p class="top-add"><a class="button add onblog_link" href="#comment-form">'.__('Add a comment').'</a>'; 
    635       
    636      echo 
    637      '<div id="comments" class="multi-part" title="'.__('Comments').'">'; 
    638            
     637     '<p class="top-add"><a class="button add onblog_link" href="#comment-form">'.__('Add a comment').'</a></p>'; 
     638      
    639639     if ($has_action) { 
    640           echo '<form action="comments_actions.php" id="form-comments" method="post">'; 
    641      } 
    642       
    643      echo '<h3>'.__('Trackbacks').'</h3>'; 
     640          echo '<form action="comments_actions.php" id="form-comments" method="post" class="clear">'; 
     641     } 
     642      
     643     echo '<h3 class="clear">'.__('Trackbacks').'</h3>'; 
    644644      
    645645     if (!$trackbacks->isEmpty()) { 
     
    672672     -------------------------------------------------------- */ 
    673673 
    674           echo 
     674     echo 
     675     '<div class="fieldset clear">'. 
    675676     '<h3>'.__('Add a comment').'</h3>'. 
    676677      
     
    697698     $core->formNonce(). 
    698699     '<input type="submit" name="add" value="'.__('Save').'" /></p>'. 
    699      '</div>'. 
     700     '</div>'. #constrained 
     701 
    700702     '</form>'. 
    701      '</div>'; 
     703     '</div>'. #add comment 
     704     '</div>'; #comments 
    702705} 
    703706 
Note: See TracChangeset for help on using the changeset viewer.

Sites map