Changeset 512 for themes

Show
Ignore:
Timestamp:
02/26/08 05:11:33 (9 months ago)
Author:
kasper
Message:

Fixed diffuser theme for compatiblity with Plogger 3.0 and above. Removed now obsolete information about changing Plogger files.
Added validation fix to plog-functions.php from diffuser theme.

Location:
themes/diffuser
Files:
3 removed
3 modified

Legend:

Unmodified
Added
Removed
  • themes/diffuser/album.php

    r510 r512  
    1313                // set variables for the album 
    1414                $capt = plogger_get_picture_caption(); 
    15                 // find thumbnail width (hack to define size of li below) 
    16                 list($thumb_width, $thumb_height) = getimagesize(plogger_get_picture_thumb());  
     15 
     16                // find thumbnail width to define size of li below 
     17                $thumb_info = plogger_get_thumbnail_info(); 
     18                $thumb_width = $thumb_info[0]; // The width of the image. It is integer data type. 
     19                $thumb_height = $thumb_info[1]; // The height of the image. It is an integer data type. 
     20 
    1721                ?> 
    1822 
  • themes/diffuser/meta.php

    r510 r512  
    1212 
    1313$theme_name = "Diffuser"; 
    14 $version = "0.1"; 
     14$version = "0.2"; 
    1515$author = "Oliver Baty"; 
    1616$url = "http://www.ardamis.com/"; 
  • themes/diffuser/search.php

    r510 r512  
    1616                 
    1717                <?php 
    18                 // find thumbnail width (hack to define size of div below) 
    19                 $the_url = plogger_get_picture_thumb(); 
    20                 list($thumb_width, $thumb_height) = getimagesize($the_url);  
     18                // find thumbnail width 
     19                $thumb_info = plogger_get_thumbnail_info(); 
     20                $thumb_width = $thumb_info[0]; // The width of the image. It is integer data type. 
     21                $thumb_height = $thumb_info[1]; // The height of the image. It is an integer data type. 
    2122                ?> 
    2223