Changeset 80
- Timestamp:
- 02/24/06 15:36:55 (3 years ago)
- Files:
-
- trunk/apps/frontend/modules/answer/templates/recentSuccess.php (modified) (1 diff)
- trunk/apps/frontend/modules/question/templates/listSuccess.php (modified) (1 diff)
- trunk/apps/frontend/modules/question/templates/recentSuccess.php (modified) (1 diff)
- trunk/config/rsync_exclude.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/apps/frontend/modules/answer/templates/recentSuccess.php
r64 r80 12 12 </div> 13 13 14 <?php if ($answer_pager->haveToPaginate()): ?> 15 <div id="answers_pager"> 16 17 <?php echo link_to('«', '@recent_answers?page=1') ?> 18 <?php echo link_to('<', '@recent_answers?page='.$answer_pager->getPreviousPage()) ?> 19 20 <?php foreach ($answer_pager->getLinks() as $page): ?> 21 <?php echo ($page == $answer_pager->getPage()) ? $page : link_to($page, '@recent_answers?page='.$page) ?> 22 <?php echo ($page != $answer_pager->getCurrentMaxLink()) ? '-' : '' ?> 23 <?php endforeach ?> 24 25 <?php echo link_to('>', '@recent_answers?page='.$answer_pager->getNextPage()) ?> 26 <?php echo link_to('»', '@recent_answers?page='.$answer_pager->getLastPage()) ?> 27 28 </div> 29 <?php endif ?> 14 <div id="answers_pager"> 15 <?php echo pager_navigation($answer_pager, '@recent_answers') ?> 16 </div> trunk/apps/frontend/modules/question/templates/listSuccess.php
r64 r80 1 1 <h1><?php echo __('popular questions') ?></h1> 2 2 3 <?php echo include_partial('question_list', array('question_pager' => $question_pager )) ?>3 <?php echo include_partial('question_list', array('question_pager' => $question_pager, 'rule' => '@popular_questions')) ?> trunk/apps/frontend/modules/question/templates/recentSuccess.php
r64 r80 1 1 <h1><?php echo __('recent questions') ?></h1> 2 2 3 <?php echo include_partial('question_list', array('question_pager' => $question_pager )) ?>3 <?php echo include_partial('question_list', array('question_pager' => $question_pager, 'rule' => '@recent_questions')) ?> trunk/config/rsync_exclude.txt
r40 r80 4 4 cache 5 5 log 6 frontend/config/orm.yml6 apps/frontend/config/databases.yml 7 7 web/frontend_dev.php 8 lib/symfony 9 data/symfony
