Ignore:
Timestamp:
11/03/10 11:02:43 (9 years ago)
Author:
plg
Message:

update theme KoffeeTux for Piwigo 2.1 compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/yoga/KoffeeTux/themeconf.inc.php

    r4990 r7591  
    11<?php 
    22$themeconf = array( 
    3   'template' => 'yoga', 
    4   'template_dir' => 'template/yoga', 
    5   'theme' => 'KoffeeTux', 
    6   'icon_dir' => PHPWG_ROOT_PATH.'template/yoga/theme/KoffeeTux/icon', 
    7   'admin_icon_dir' => 'template/yoga/icon/admin', 
    8   'mime_icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon/mimetypes/', 
     3  'name'  => 'KoffeeTux', 
     4  'parent' => 'default', 
     5  'template_dir' => 'themes', 
     6  'icon_dir'      => 'themes/KoffeeTux/icon', 
    97  'local_head' => '<!--[if lt IE 7]> 
    10   <link rel="stylesheet" type="text/css" href="'.PHPWG_ROOT_PATH.'template/yoga/theme/KoffeeTux/fix-ie5-ie6.css"> 
     8  <link rel="stylesheet" type="text/css" href="'.PHPWG_ROOT_PATH.'themes/KoffeeTux/fix-ie5-ie6.css"> 
    119<![endif]-->' 
    1210); 
    1311$lang['Theme: KoffeeTux'] = 'Thème KoffeeTux By Swan.'; 
    14  
    1512    if (!function_exists('set_koffeetux_prefilter')) 
    1613    { 
     
    2724      { 
    2825        $pattern = '#<dt>.*?</dt>#s'; 
    29         $replacement = '<dt><img class="title" border="0" src="'.PHPWG_ROOT_PATH.'template/yoga/theme/KoffeeTux/img/{$id}.png" width="52" height="72"></dt>'; 
     26        $replacement = '<dt><img class="title" border="0" src="'.PHPWG_ROOT_PATH.'themes/KoffeeTux/images/{$id}.png" width="52" height="72"></dt>'; 
    3027 
    3128        return preg_replace($pattern, $replacement, $source); 
    3229      } 
    3330    } 
    34         ?> 
     31?> 
Note: See TracChangeset for help on using the changeset viewer.