Dotclear


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/list.php

    r1877 r1358  
    3131                
    3232               $html_block = 
    33                '<table class="maximal dragable"><thead><tr>'. 
    34                '<th scope="col"></th>'. 
     33               '<table class="clear"><tr>'. 
    3534               '<th colspan="2">'.__('Title').'</th>'. 
    3635               '<th>'.__('Date').'</th>'. 
     
    3938               '<th>'.__('Trackbacks').'</th>'. 
    4039               '<th>'.__('Status').'</th>'. 
    41                '</tr></thead>%s</table>'; 
     40               '</tr>%s</table>'; 
    4241                
    4342               if ($enclose_block) { 
     
    5150               echo $blocks[0]; 
    5251                
    53                $count = 0; 
    5452               while ($this->rs->fetch()) 
    5553               { 
    56                     echo $this->postLine($count); 
    57                     $count++; 
     54                    echo $this->postLine(); 
    5855               } 
    5956                
     
    6461     } 
    6562      
    66      private function postLine($count) 
     63     private function postLine() 
    6764     { 
    6865          $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" />'; 
     
    103100           
    104101          $res .= 
    105           '<td class="handle minimal">'.form::field(array('order['.$count.']'),2,3,$count+1,'position','',false,'title="'.sprintf(__('position of %s'),html::escapeHTML($this->rs->post_title)).'"'). 
    106                     form::hidden(array('dynorder[]','dynorder-'.$count),$count).'</td>'. 
    107102          '<td class="nowrap">'. 
    108103          form::checkbox(array('entries[]'),$this->rs->post_id,'','','',!$this->rs->isEditable(),'title="'.__('select this page').'"').'</td>'. 
     
    201196     '<div class="two-cols">'. 
    202197     '<p class="col checkboxes-helpers"></p>'. 
     198      
    203199     '<p class="col right"><label for="action" class="classic">'.__('Selected pages action:').'</label> '. 
    204200     form::combo('action',$combo_action). 
    205201     '<input type="submit" value="'.__('ok').'" /></p>'. 
    206      '</div>'. 
    207       
    208      '<p>'. 
    209      '<input type="submit" name="updateaction" value="'.__('Update menu').'" />'. 
    210202     form::hidden(array('post_type'),'page'). 
    211203     form::hidden(array('redir'),html::escapeHTML($_SERVER['REQUEST_URI'])). 
    212204     $core->formNonce(). 
    213      '</p>'. 
     205     '</div>'. 
    214206     '</form>'); 
    215207} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map