Dotclear


Ignore:
Timestamp:
11/17/13 20:25:53 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.6
Children:
2567:6c11245cbf04, 2568:61c67a7d17fa
Message:

Add some people in CREDITS, remove trailing spaces and tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/search.php

    r2314 r2566  
    3030{ 
    3131     $params = array(); 
    32       
     32 
    3333     # Get posts 
    3434     if ($qtype == 'p') 
    3535     { 
    3636          $starting_scripts .= dcPage::jsLoad('js/_posts_list.js'); 
    37            
     37 
    3838          $params['search'] = $q; 
    3939          $params['limit'] = array((($page-1)*$nb_per_page),$nb_per_page); 
    4040          $params['no_content'] = true; 
    4141          $params['order'] = 'post_dt DESC'; 
    42            
     42 
    4343          try { 
    4444               $posts = $core->blog->getPosts($params); 
     
    5353     { 
    5454          $starting_scripts .= dcPage::jsLoad('js/_comments.js'); 
    55            
     55 
    5656          $params['search'] = $q; 
    5757          $params['limit'] = array((($page-1)*$nb_per_page),$nb_per_page); 
    5858          $params['no_content'] = true; 
    5959          $params['order'] = 'comment_dt DESC'; 
    60            
     60 
    6161          try { 
    6262               $comments = $core->blog->getComments($params); 
     
    104104{ 
    105105     $redir = html::escapeHTML($_SERVER['REQUEST_URI']); 
    106       
     106 
    107107     # Show posts 
    108108     if ($qtype == 'p') 
    109109     { 
    110       
     110 
    111111          if ($counter->f(0) > 0) { 
    112112               printf('<h3>'. 
     
    114114               '</h3>',$counter->f(0)); 
    115115          } 
    116            
     116 
    117117          $post_list->display($page,$nb_per_page, 
    118118          '<form action="search.php" method="post" id="form-entries">'. 
    119            
     119 
    120120          '%s'. 
    121            
     121 
    122122          '<div class="two-cols">'. 
    123123          '<p class="col checkboxes-helpers"></p>'. 
    124            
     124 
    125125          '<p class="col right"><label for="action1" class="classic">'.__('Selected entries action:').'</label> '. 
    126126          form::combo(array('action','action1'),$posts_actions_page->getCombo()). 
     
    136136     { 
    137137          # Actions combo box 
    138            
     138 
    139139          if ($counter->f(0) > 0) { 
    140140               printf('<h3>'. 
     
    142142               '</h3>',$counter->f(0)); 
    143143          } 
    144            
     144 
    145145          $comment_list->display($page,$nb_per_page, 
    146146          '<form action="search.php" method="post" id="form-comments">'. 
    147            
     147 
    148148          '%s'. 
    149            
     149 
    150150          '<div class="two-cols">'. 
    151151          '<p class="col checkboxes-helpers"></p>'. 
    152            
     152 
    153153          '<p class="col right"><label for="action2" class="classic">'.__('Selected comments action:').'</label> '. 
    154154          form::combo(array('action','action2'),$comments_actions_page->getCombo()). 
     
    164164dcPage::helpBlock('core_search'); 
    165165dcPage::close(); 
    166 ?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map