Dotclear


Ignore:
Timestamp:
08/30/13 10:45:43 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Page: add New comment button and new comment form in "Comments" tab.
CSS: inputs borders

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/page.php

    r1620 r1621  
    455455                    'post_hide' =>  
    456456                         '<p><label for="post_selected" class="classic">'.form::checkbox('post_selected',1,$post_selected).' '. 
    457                          __('Hide in widget Pages').'</label></p>'. 
     457                         __('Hide in widget Pages').'</label>'. 
    458458                         '</p>', 
    459459                    'post_password' => 
     
    557557      
    558558     echo '</form>'; 
    559      echo '</div>'; 
     559     echo '</div>';      // End  
    560560      
    561561     if ($post_id && !empty($post_media)) 
     
    600600     '<div id="comments" class="multi-part" title="'.__('Comments').'">'; 
    601601      
     602     echo 
     603     '<p class="top-add"><a class="button add onblog_link" href="#comment-form">'.__('Add a comment').'</a></p>'; 
     604 
    602605     if ($has_action) { 
    603606          echo '<form action="comments_actions.php" method="post">'; 
     
    632635          '</form>'; 
    633636     } 
    634       
    635      echo '</div>'; 
    636 } 
    637  
    638 /* Add a comment 
    639 -------------------------------------------------------- */ 
    640 if ($post_id) 
    641 { 
     637          /* Add a comment 
     638     -------------------------------------------------------- */ 
     639 
    642640     echo 
    643      '<div class="multi-part" id="add-comment" title="'.__('Add a comment').'">'. 
     641     '<div class="fieldset clear">'. 
    644642     '<h3>'.__('Add a comment').'</h3>'. 
    645643      
     
    658656     '</p>'. 
    659657      
    660      '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Comment:').'</label> '. 
     658     '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '. 
     659     __('Comment:').'</label> '. 
    661660     form::textarea('comment_content',50,8,html::escapeHTML('')). 
    662661     '</p>'. 
     
    665664     $core->formNonce(). 
    666665     '<input type="submit" name="add" value="'.__('Save').'" /></p>'. 
    667      '</div>'. 
     666     '</div>'. #constrained 
     667 
    668668     '</form>'. 
    669      '</div>'; 
     669     '</div>'. #add comment 
     670     '</div>'; #comments 
    670671} 
    671672 
Note: See TracChangeset for help on using the changeset viewer.

Sites map