Changeset 1168

Show
Ignore:
Timestamp:
06/27/2008 04:44:49 PM (12 months ago)
Author:
DarTar
Message:

Porting [1167] from trunk, refs #708 and #415

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.1.7-docs/actions/license/license.php

    r1165 r1168  
    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;