Dotclear


Ignore:
Timestamp:
08/29/13 14:49:44 (11 years ago)
Author:
Dsls
Branch:
default
Children:
1613:d0ed7e2ca7a4, 1627:f73598b4ee3e, 1630:eecb71635ad7, 1644:0834529f8766, 1658:71de63317bf8
Message:

Removed "Add a comment" tab on admin/post.php, appended the form to the list of comments.
See #1622

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r1550 r1612  
    5858               str_repeat('  ',$categories->level-1).($categories->level-1 == 0 ? '' : '• ').html::escapeHTML($categories->cat_title), 
    5959               $categories->cat_id 
    60           ); 
     60     ); 
    6161     } 
    6262} catch (Exception $e) { } 
     
    631631      
    632632     $has_action = !empty($combo_action) && (!$trackbacks->isEmpty() || !$comments->isEmpty()); 
     633     echo  
     634          '<p class="top-add"><a class="button add onblog_link" href="#comment-form">'.__('Add a comment').'</a>'; 
    633635      
    634636     echo 
    635637     '<div id="comments" class="multi-part" title="'.__('Comments').'">'; 
    636       
     638           
    637639     if ($has_action) { 
    638640          echo '<form action="comments_actions.php" id="form-comments" method="post">'; 
     
    667669          '</form>'; 
    668670     } 
    669       
    670      echo '</div>'; 
    671 } 
    672  
    673 /* Add a comment 
    674 -------------------------------------------------------- */ 
    675 if ($post_id) 
    676 { 
    677      echo 
    678      '<div class="multi-part" id="add-comment" title="'.__('Add a comment').'">'. 
     671     /* Add a comment 
     672     -------------------------------------------------------- */ 
     673 
     674          echo 
    679675     '<h3>'.__('Add a comment').'</h3>'. 
    680676      
Note: See TracChangeset for help on using the changeset viewer.

Sites map