Changeset 1167

Show
Ignore:
Timestamp:
06/27/2008 04:40:23 PM (2 years ago)
Author:
DarTar
Message:

Applying StaticHref() to license action (Credits: DotMG), refs #415

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/actions/license/license.php

    r1019 r1167  
    5050 * @todo                replace hardcoded paths and URI #718  
    5151 * @todo                CSS selectors 
     52 * @todo                complete phpdoc header 
    5253 */ 
    5354 
     
    173174        if (file_exists($this->GetConfigValue('wikka_action_path').'/license/inc/buttons/'.$type.'.png')) //TODO #718 
    174175        { 
    175                 $output .= '<a rel="license" title="'.$license_fullname[$type].'" href="'.$link.'"><img src="'.$this->GetConfigValue('wikka_action_path').'/license/inc/buttons/'.$type.'.png" alt="'.$license_fullname[$type].'" /></a>'       ."\n"; 
     176                $output .= '<a rel="license" title="'.$license_fullname[$type].'" href="'.$link.'"><img src="'.$this->StaticHref($this->GetConfigValue('wikka_action_path').'/license/inc/buttons/'.$type.'.png').'" alt="'.$license_fullname[$type].'" /></a>' ."\n"; 
    176177        } 
    177178        break; 
     
    181182        if (file_exists($this->GetConfigValue('wikka_action_path').'/license/inc/badges/'.$type.'.png')) //TODO #718 
    182183        { 
    183                 $output .= '<a rel="license" title="'.$license_fullname[$type].'" href="'.$link.'"><img src="'.$this->GetConfigValue('wikka_action_path').'/license/inc/badges/'.$type.'.png" alt="'.$license_fullname[$type].'" /></a>'        ."\n"; 
     184                $output .= '<a rel="license" title="'.$license_fullname[$type].'" href="'.$link.'"><img src="'.$this->StaticHref($this->GetConfigValue('wikka_action_path').'/license/inc/badges/'.$type.'.png').'" alt="'.$license_fullname[$type].'" /></a>'  ."\n"; 
    184185        } 
    185186        break;