Show
Ignore:
Timestamp:
07/10/08 17:53:04 (5 months ago)
Author:
aarkerio
Message:

Litle changes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/lessons/display.ctp

    r559 r637  
    1 <h2>Lessons</h2> 
    21<?php 
    3 //die(print_r($data)); 
     2//die(debug($blog)); 
     3echo $html->div('title_section', __('Lessons', true)); 
    44 
    55if ( count($data) < 1 ): 
     
    1010  echo $html->para(null, $html->link($v['Lesson']['title'], '/lessons/view/'.$blog['User']['username'].'/'.$v['Lesson']['id'], array("class"=>"title"))); 
    1111endforeach; 
     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')); 
     18echo  $html->div(null,$t, array('style'=>'font-size:9pt;width:400px;margin:15px auto;')); 
    1219?>