Ignore:
Timestamp:
Mar 4, 2007, 10:36:30 AM (17 years ago)
Author:
rub
Message:

Remove "TODO" on picture display showed on the caddie...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r1866 r1868  
    820820}
    821821
     822/* returns the title of the thumnail */
     823function get_thumbnail_title($element_info)
     824{
     825  // message in title for the thumbnail
     826  if (isset($element_info['file']))
     827  {
     828    $thumbnail_title = $element_info['file'];
     829  }
     830  else
     831  {
     832    $thumbnail_title = '';
     833  }
     834 
     835  if (!empty($element_info['filesize']))
     836  {
     837    $thumbnail_title .= ' : '.$element_info['filesize'].' KB';
     838  }
     839
     840  return $thumbnail_title;
     841}
    822842
    823843// my_error returns (or send to standard output) the message concerning the
Note: See TracChangeset for help on using the changeset viewer.