Ignore:
Timestamp:
02/19/08 22:26:25 (4 years ago)
Author:
hverton
Message:

added datediff() function which returns the difference between two timestamps in text
updated the wikilink detection code in parsemessage()
added a "vertical-align:text-top" to the imagelink smarty function, to align the image properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/template-plugins/function.imagelink.php

    r1254 r1291  
    6060        $alt = $params['alt']; 
    6161    } 
    62     if (!isset($params['style'])) { 
    63         $style = false; 
    64     } else { 
    65         $style = $params['style']; 
     62    $style = "vertical-align:text-top;"; 
     63    if (isset($params['style'])) { 
     64        $style .= $params['style']; 
    6665    } 
    6766    if (!isset($params['onclick'])) { 
Note: See TracChangeset for help on using the changeset viewer.