Author: peter
Date: 2008-11-11 15:21:25 -0800 (Tue, 11 Nov 2008)
New Revision: 1574
Modified:
trunk/qubit/apps/qubit/modules/informationobject/templates/listSuccess.php
Log:
fix open php tag
Modified:
trunk/qubit/apps/qubit/modules/informationobject/templates/listSuccess.php
===================================================================
--- trunk/qubit/apps/qubit/modules/informationobject/templates/listSuccess.php
2008-11-11 22:55:34 UTC (rev 1573)
+++ trunk/qubit/apps/qubit/modules/informationobject/templates/listSuccess.php
2008-11-11 23:21:25 UTC (rev 1574)
@@ -18,24 +18,25 @@
<span class="th-link"><?php echo link_to(__('add new'),
'informationobject/create'); ?></span>
<?php endif; ?>
</th>
-
+
<?php if($multiRepository): ?>
- <th><?php if ($sort == 'repositoryUp'): ?>
- <?php echo link_to(__(sfConfig::get('app_ui_label_repository')),
'informationobject/list?repository='.$repositoryId.'&sort=repositoryDown&page='.$page)
?>
- <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', 'sort up')
?>
- <?php else: ?>
- <?php echo link_to(__(sfConfig::get('app_ui_label_repository')),
'informationobject/list?repository='.$repositoryId.'&sort=repositoryUp&page='.$page)
?>
- <?php endif; ?>
+ <th>
+ <?php if ($sort == 'repositoryUp'): ?>
+ <?php echo link_to(__(sfConfig::get('app_ui_label_repository')),
'informationobject/list?repository='.$repositoryId.'&sort=repositoryDown&page='.$page)
?>
+ <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', 'sort
up') ?>
+ <?php else: ?>
+ <?php echo link_to(__(sfConfig::get('app_ui_label_repository')),
'informationobject/list?repository='.$repositoryId.'&sort=repositoryUp&page='.$page)
?>
+ <?php endif; ?>
- <?php if ($sort == 'repositoryDown'): // multi-repository: show repository
(w/ sorting) ?>
- <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', 'sort
down') ?>
- <?php endif; ?>
- </th>
- <?php else: // NOT multi-repostiory: show creators (no sorting, multi-value)
?>
- <th>
- <?php echo __('creator(s)') ?>
- </th>
- <? endif; ?>
+ <?php if ($sort == 'repositoryDown'): // multi-repository: show repository
(w/ sorting) ?>
+ <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', 'sort
down') ?>
+ <?php endif; ?>
+ </th>
+ <?php else: // NOT multi-repostiory: show creators (no sorting,
multi-value) ?>
+ <th>
+ <?php echo __('creator(s)') ?>
+ </th>
+ <?php endif; ?>
</tr>
</thead>
<tbody>
@@ -73,16 +74,14 @@
<?php endif; ?>
<?php foreach ($links as $page): ?>
<?php echo ($page == $informationObjects->getPage()) ?
'<strong>'.$page.'</strong>' : link_to($page,
'informationobject/list?sort='.$sort.'&page='.$page) ?>
- <?php if ($page != $informationObjects->getCurrentMaxLink()): ?> <?php
endif ?>
+ <?php if ($page != $informationObjects->getCurrentMaxLink()): ?> <?php
endif; ?>
<?php endforeach ?>
<?php if ($informationObjects->getPage() !=
$informationObjects->getLastPage()): ?>
<?php echo link_to(__('next').' >',
'informationobject/list?sort='.$sort.'&page='.($informationObjects->getPage()+1))
?>
<?php endif; ?>
</div>
-<?php endif ?>
+<?php endif; ?>
<div class="result-count">
<?php echo __('displaying %1% to %2% of %3% results', array('%1%' =>
$informationObjects->getFirstIndice(), '%2%' =>
$informationObjects->getLastIndice(), '%3%' =>
$informationObjects->getNbResults())) ?>
-</div>
-
-
+</div>
\ No newline at end of file
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---