  <th id="sf_admin_list_th_photo">
        <?php echo __('Photo') ?>
          </th>
  <th id="sf_admin_list_th_file_path">
          <?php if ($sf_user->getAttribute('sort', null, 'sf_admin/photo/sort') == 'file_path'): ?>
      <?php echo link_to(__('File path'), 'photo/list?sort=file_path&type='.($sf_user->getAttribute('type', 'asc', 'sf_admin/photo/sort') == 'asc' ? 'desc' : 'asc')) ?>
      (<?php echo __($sf_user->getAttribute('type', 'asc', 'sf_admin/photo/sort')) ?>)
      <?php else: ?>
      <?php echo link_to(__('File path'), 'photo/list?sort=file_path&type=asc') ?>
      <?php endif; ?>
          </th>
  <th id="sf_admin_list_th_description">
          <?php if ($sf_user->getAttribute('sort', null, 'sf_admin/photo/sort') == 'description'): ?>
      <?php echo link_to(__('Description'), 'photo/list?sort=description&type='.($sf_user->getAttribute('type', 'asc', 'sf_admin/photo/sort') == 'asc' ? 'desc' : 'asc')) ?>
      (<?php echo __($sf_user->getAttribute('type', 'asc', 'sf_admin/photo/sort')) ?>)
      <?php else: ?>
      <?php echo link_to(__('Description'), 'photo/list?sort=description&type=asc') ?>
      <?php endif; ?>
          </th>
  <th id="sf_admin_list_th_created_at">
          <?php if ($sf_user->getAttribute('sort', null, 'sf_admin/photo/sort') == 'created_at'): ?>
      <?php echo link_to(__('Created at'), 'photo/list?sort=created_at&type='.($sf_user->getAttribute('type', 'asc', 'sf_admin/photo/sort') == 'asc' ? 'desc' : 'asc')) ?>
      (<?php echo __($sf_user->getAttribute('type', 'asc', 'sf_admin/photo/sort')) ?>)
      <?php else: ?>
      <?php echo link_to(__('Created at'), 'photo/list?sort=created_at&type=asc') ?>
      <?php endif; ?>
          </th>
