To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Changeset 1079

Show
Ignore:
Timestamp:
04/27/10 15:54:00 (22 months ago)
Author:
johnnyoffline
Message:

Bug

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostropheBlogPlugin/trunk/data/generator/sfDoctrineModule/aBlogAdmin/template/templates/_list_th_tabular.php

    r1076 r1079  
    2828   
    2929  [?php if ('<?php echo $name ?>' == $sort[0]): ?] 
     30        [?php ($sort[1] == 'asc')? $sortLabel = __("Ascending", array(), 'a-admin'): __("Descending", array(), 'a-admin'); ?] 
     31 
    3032    [?php echo link_to( 
    31       image_tag(((sfConfig::get('app_aAdmin_web_dir',false))?sfConfig::get('app_aAdmin_web_dir'):'/apostrophePlugin').'/images/'.$sort[1].'-on.png', array('alt' => __($sort[1], array(), 'a-admin'), 'title' => __($sort[1], array(), 'a-admin', 'class' => 'a-sort-arrow asc'))), 
    32       '<?php echo $this->getModuleName() ?>/index?sort=<?php echo $name ?>&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc') 
     33      image_tag(((sfConfig::get('app_aAdmin_web_dir',false))?sfConfig::get('app_aAdmin_web_dir'):'/apostrophePlugin').'/images/'.$sort[1].'-on.png', array('alt' => __($sortLabel, array(), 'a-admin'))), 
     34      '<?php echo $this->getModuleName() ?>/index?sort=<?php echo $name ?>&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'), array('class' => 'a-sort-arrow asc', 'title' => __($sortLabel, array(), 'a-admin')) 
    3335      ) ?] 
    3436    [?php else: ?] 
    3537    [?php echo link_to( 
    36       image_tag(((sfConfig::get('app_aAdmin_web_dir',false))?sfConfig::get('app_aAdmin_web_dir'):'/apostrophePlugin').'/images/desc.png', array('alt' => __('desc', array(), 'a-admin'), 'title' => __('desc', array(), 'a-admin'), 'class' => 'a-sort-arrow desc')), 
    37       '<?php echo $this->getModuleName() ?>/index?sort=<?php echo $name ?>&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc') 
     38      image_tag(((sfConfig::get('app_aAdmin_web_dir',false))?sfConfig::get('app_aAdmin_web_dir'):'/apostrophePlugin').'/images/desc.png', array('alt' => __('desc', array(), 'a-admin'))), 
     39      '<?php echo $this->getModuleName() ?>/index?sort=<?php echo $name ?>&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'), array('class' => 'a-sort-arrow desc', 'title' => __('Descending', array(), 'a-admin')) 
    3840      ) ?] 
    3941  [?php endif; ?]