Ignore:
Timestamp:
05/15/08 22:46:52 (4 years ago)
Author:
hverton
Message:

cleaned up the download bar code
updated the image generation code. font2image now creates new images in the files cache, which are included in the header as normal .png files (makes them cachable by browsers)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/PLi-Fusion/PLiThemeCentered/php-files/themes/PLiThemeCentered/theme.php

    r1346 r1410  
    6969// download bar information 
    7070$variables['downloadbars'] = downloadbars(); 
    71  
    72 // create download titles and link information 
    73 // (in opposite order, bar div's are shown from right to left!) 
    74 $barcount = count($variables['downloadbars']); 
    75 $variables['downloadtitles'] = array(); 
    76 foreach($variables['downloadbars'] as $bar) { 
    77     $variables['downloadtitles'][--$barcount] = array('download_id' => $bar['download_id'], 'download_title' => $bar['download_title'], 'download_count' => $bar['download_count']); 
    78 } 
    7971 
    8072// bar counter title 
Note: See TracChangeset for help on using the changeset viewer.