Changeset 1409 in ExiteCMS for themes/PLi-Fusion/PLiTheme/php-files/themes/PLiTheme/theme.php
- Timestamp:
- 05/15/08 22:46:07 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/PLi-Fusion/PLiTheme/php-files/themes/PLiTheme/theme.php
r1346 r1409 70 70 $variables['downloadbars'] = downloadbars(); 71 71 72 // create download titles and link information73 // (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 }79 80 72 // bar counter title 81 73 $variables['bartitle'] = bartitle($variables['downloadbars']); 74 $size = getimagesize(PATH_ROOT.$variables['bartitle']); 75 $variables['bartitle_height'] =$size[1]; 76 $variables['bartitle_width'] = $size[0]; 82 77 83 78 // unread forum post indicator
Note: See TracChangeset
for help on using the changeset viewer.
