Changeset 637 for trunk/app/views/lessons
- Timestamp:
- 07/10/08 17:53:04 (5 months ago)
- Location:
- trunk/app/views/lessons
- Files:
-
- 2 modified
-
admin_listing.ctp (modified) (1 diff)
-
display.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/lessons/admin_listing.ctp
r625 r637 29 29 </table> 30 30 31 <?php //echo $pagination; 31 <?php 32 $t = $html->div(null,$paginator->prev('« '.__('Previous', true),null,null,array('class'=>'disabled')),array('style'=>'width:100px;float:left')); 33 $t .= $html->div(null,$paginator->next(__('Next', true).' »', null, null, array('class' => 'disabled')),array('style'=>'width:100px;float:right')); 34 $t .= $html->div(null,$paginator->counter(), array('style'=>'width:200px;float:center')); 35 echo $html->div(null,$t, array('style'=>'font-size:9pt;width:400px;margin:15px auto;')); 32 36 ?> 33 37 -
trunk/app/views/lessons/display.ctp
r559 r637 1 <h2>Lessons</h2>2 1 <?php 3 //die(print_r($data)); 2 //die(debug($blog)); 3 echo $html->div('title_section', __('Lessons', true)); 4 4 5 5 if ( count($data) < 1 ): … … 10 10 echo $html->para(null, $html->link($v['Lesson']['title'], '/lessons/view/'.$blog['User']['username'].'/'.$v['Lesson']['id'], array("class"=>"title"))); 11 11 endforeach; 12 13 $paginator->options(array('url' => $blog['User']['username'])); 14 15 $t = $html->div(null,$paginator->prev('« '.__('Previous', true),null,null,array('class'=>'disabled')),array('style'=>'width:100px;float:left')); 16 $t .= $html->div(null,$paginator->next(__('Next', true).' »', null, null, array('class' => 'disabled')),array('style'=>'width:100px;float:right')); 17 $t .= $html->div(null,$paginator->counter(), array('style'=>'width:200px;float:center')); 18 echo $html->div(null,$t, array('style'=>'font-size:9pt;width:400px;margin:15px auto;')); 12 19 ?>
