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
  • plugins/pages/class.listpage.php

    r2232 r2566  
    2929                         $entries[(integer)$v]=true; 
    3030                    } 
    31                }               
     31               } 
    3232               $html_block = 
    3333               '<div class="table-outer">'. 
     
    4040               '<th scope="col">'.__('Status').'</th>'. 
    4141               '</tr></thead><tbody id="pageslist">%s</tbody></table></div>'; 
    42                 
     42 
    4343               if ($enclose_block) { 
    4444                    $html_block = sprintf($enclose_block,$html_block); 
    4545               } 
    46                 
     46 
    4747               echo $pager->getLinks(); 
    48                 
     48 
    4949               $blocks = explode('%s',$html_block); 
    50                 
     50 
    5151               echo $blocks[0]; 
    52                 
     52 
    5353               $count = 0; 
    5454               while ($this->rs->fetch()) 
     
    5757                    $count ++; 
    5858               } 
    59                 
     59 
    6060               echo $blocks[1]; 
    61                 
     61 
    6262               echo $pager->getLinks(); 
    6363          } 
    6464     } 
    65       
     65 
    6666     private function postLine($count,$checked) 
    6767     { 
     
    8181                    break; 
    8282          } 
    83            
     83 
    8484          $protected = ''; 
    8585          if ($this->rs->post_password) { 
    8686               $protected = sprintf($img,__('Protected'),'locker.png'); 
    8787          } 
    88            
     88 
    8989          $selected = ''; 
    9090          if ($this->rs->post_selected) { 
    9191               $selected = sprintf($img,__('Hidden'),'hidden.png'); 
    9292          } 
    93            
     93 
    9494          $attach = ''; 
    9595          $nb_media = $this->rs->countMedia(); 
     
    9898               $attach = sprintf($img,sprintf($attach_str,$nb_media),'attach.png'); 
    9999          } 
    100            
     100 
    101101          $res = '<tr class="line'.($this->rs->post_status != 1 ? ' offline' : '').'"'. 
    102102          ' id="p'.$this->rs->post_id.'">'; 
    103            
     103 
    104104          $res .= 
    105105          '<td class="nowrap handle minimal">'.form::field(array('order['.$this->rs->post_id.']'),2,3,$count+1,'position','',false,'title="'.sprintf(__('position of %s'),html::escapeHTML($this->rs->post_title)).'"').'</td>'. 
     
    108108          '<td class="maximal" scope="row"><a href="'.$this->core->getPostAdminURL($this->rs->post_type,$this->rs->post_id).'">'. 
    109109          html::escapeHTML($this->rs->post_title).'</a></td>'. 
    110           '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'.         
     110          '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'. 
    111111          '<td class="nowrap">'.$this->rs->user_id.'</td>'. 
    112112          '<td class="nowrap count">'.$this->rs->nb_comment.'</td>'. 
     
    114114          '<td class="nowrap status">'.$img_status.' '.$selected.' '.$protected.' '.$attach.'</td>'. 
    115115          '</tr>'; 
    116            
     116 
    117117          return $res; 
    118118     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map