Changeset 4728 for extensions/LLGBO2


Ignore:
Timestamp:
Jan 23, 2010, 2:48:39 PM (14 years ago)
Author:
EXFTB
Message:

Problem on IMG alt attribute with version L

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/main.inc.php

    r4714 r4728  
    229229//                  improve alt
    230230//----------------------------------------------------   
    231 $alt="";
     231$alt = $conf['allow_html_descriptions'] ? $ThePicture['name'] : strip_tags($ThePicture['name']);
    232232/*
    233233$related_cats =   $template->get_template_vars('related_categories');
     
    236236        $related_cat = str_replace(' '," ",$related_cat);
    237237        $related_cat = str_replace($conf['level_separator'],"-",$related_cat);
    238         }
    239 $alt1 = $conf['allow_html_descriptions'] ? $ThePicture['name'] : strip_tags($ThePicture['name']);
    240 $alt= $related_cat.' - '.$alt1; */
     238        } 
     239$alt= $related_cat.' : '.$alt;
     240*/
    241241//-----------------------------------------------------------------
    242242$template->assign( array(
Note: See TracChangeset for help on using the changeset viewer.