Changes in [1877:6e090b31f96d:1876:8da345a51989]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/list.php
r1877 r1358 31 31 32 32 $html_block = 33 '<table class="maximal dragable"><thead><tr>'. 34 '<th scope="col"></th>'. 33 '<table class="clear"><tr>'. 35 34 '<th colspan="2">'.__('Title').'</th>'. 36 35 '<th>'.__('Date').'</th>'. … … 39 38 '<th>'.__('Trackbacks').'</th>'. 40 39 '<th>'.__('Status').'</th>'. 41 '</tr> </thead>%s</table>';40 '</tr>%s</table>'; 42 41 43 42 if ($enclose_block) { … … 51 50 echo $blocks[0]; 52 51 53 $count = 0;54 52 while ($this->rs->fetch()) 55 53 { 56 echo $this->postLine($count); 57 $count++; 54 echo $this->postLine(); 58 55 } 59 56 … … 64 61 } 65 62 66 private function postLine( $count)63 private function postLine() 67 64 { 68 65 $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" />'; … … 103 100 104 101 $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>'.107 102 '<td class="nowrap">'. 108 103 form::checkbox(array('entries[]'),$this->rs->post_id,'','','',!$this->rs->isEditable(),'title="'.__('select this page').'"').'</td>'. … … 201 196 '<div class="two-cols">'. 202 197 '<p class="col checkboxes-helpers"></p>'. 198 203 199 '<p class="col right"><label for="action" class="classic">'.__('Selected pages action:').'</label> '. 204 200 form::combo('action',$combo_action). 205 201 '<input type="submit" value="'.__('ok').'" /></p>'. 206 '</div>'.207 208 '<p>'.209 '<input type="submit" name="updateaction" value="'.__('Update menu').'" />'.210 202 form::hidden(array('post_type'),'page'). 211 203 form::hidden(array('redir'),html::escapeHTML($_SERVER['REQUEST_URI'])). 212 204 $core->formNonce(). 213 '</ p>'.205 '</div>'. 214 206 '</form>'); 215 207 }
Note: See TracChangeset
for help on using the changeset viewer.