Ignore:
Timestamp:
Jun 28, 2012, 6:23:28 PM (12 years ago)
Author:
gbo
Message:

Fix: Tooltip not displayed according the option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/include/manage_picture_content.php

    r15076 r16145  
    4141        $csstheme = 'default';
    4242        $themeconf = $template->get_template_vars('themeconf');
    43          if (( strpos(strtoupper($themeconf['name']) , 'STRIPPED') === 0) )
    44                                                 {  $csstheme = 'stripped';}
    4543                $frame_width = $frame_width + ( 2* $lastbrdpx);                         
    4644                $frame_height = $frame_height + ( 2* $lastbrdpx);
    4745                $frame_size = 'style="border:0 ;width:'.$frame_width.'px; height:'.$frame_height.'px;"';
     46                $themestyle = $themeconf['parent'];
     47                If ($themestyle == 'default')
     48                   { $themestyle = $themeconf['id'];}
     49                // print_r($themestyle);
    4850                 $template->append('llgbo', array(
    4951                         'FRAME_SIZE' => $frame_size,
    5052                         'FRAME_BEGIN' => $frame_begin,
    5153                          'FRAME_END' => $frame_end,
    52                           'GBOCSS' => LLGBO_PATH."css/llgbo_content_".$csstheme.".css" ), true);
     54                          'GBOCSS' => LLGBO_PATH."css/llgbo_content_".$themestyle.".css" ), true);
    5355
    5456                         
Note: See TracChangeset for help on using the changeset viewer.