Author: jablko
Date: Sun Aug 23 16:06:49 2009
New Revision: 3058

Log:
Skip some intermediate variables, missing from commit 3056

Modified:
   trunk/apps/qubit/modules/informationobject/templates/listSuccess.php

Modified: trunk/apps/qubit/modules/informationobject/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/listSuccess.php        
Sun Aug 23 14:10:52 2009        (r3057)
+++ trunk/apps/qubit/modules/informationobject/templates/listSuccess.php        
Sun Aug 23 16:06:49 2009        (r3058)
@@ -21,14 +21,14 @@
 
   <?php if (sfConfig::get('app_multi_repository')): ?>
     <th>
-    <?php if ($sort == 'repositoryUp'): ?>
+    <?php if ('repositoryUp' == $sf_request->sort): ?>
       <?php echo link_to(__(sfConfig::get('app_ui_label_repository')), 
array('sort' => 'repositoryDown') + 
$sf_request->getParameterHolder()->getAll()) ?>
       <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', 'sort 
up') ?>
     <?php else: ?>
       <?php echo link_to(__(sfConfig::get('app_ui_label_repository')), 
array('sort' => 'repositoryUp')) ?>
     <?php endif; ?>
 
-    <?php if ($sort == 'repositoryDown'): // multi-repository: show repository 
(w/ sorting) ?>
+    <?php if ('repositoryDown' == $sf_request->sort): // multi-repository: 
show repository (w/ sorting) ?>
       <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', 'sort 
down') ?>
     <?php endif; ?>
     </th>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to