Ignore:
Timestamp:
Apr 22, 2011, 4:22:50 PM (13 years ago)
Author:
patdenice
Message:

feature:2274
Bug corrected with crop option.
Clean code.
Add sentence in thumbnails page for regeneration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/thumbnail.php

    r10570 r10571  
    101101// |             form & pictures without thumbnails display                |
    102102// +-----------------------------------------------------------------------+
     103$template->set_filenames( array('thumbnail'=>'thumbnail.tpl') );
     104
    103105if (count($wo_thumbnails) > 0)
    104106{
     
    115117        'WIDTH_IMG'=>$width,
    116118        'HEIGHT_IMG'=>$height,
    117         ));
     119      )
     120    );
    118121  }
    119122}
     
    132135    'values' => $form_values,
    133136    'TOTAL_NB_REMAINING' => count($wo_thumbnails),
     137    'U_HELP' => get_root_url().'admin/popuphelp.php?page=thumbnail',
    134138  )
    135139);
    136140
    137 // +-----------------------------------------------------------------------+
    138 // |                           return to admin                             |
    139 // +-----------------------------------------------------------------------+
    140 $template->set_filenames( array('thumbnail'=>'thumbnail.tpl') );
    141 
    142 $template->assign('U_HELP', get_root_url().'admin/popuphelp.php?page=thumbnail');
    143 
    144141$template->assign_var_from_handle('ADMIN_CONTENT', 'thumbnail');
    145142?>
Note: See TracChangeset for help on using the changeset viewer.