Changeset 2117 for trunk/include/functions_category.inc.php
- Timestamp:
- Oct 2, 2007, 7:38:54 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_category.inc.php
r2070 r2117 157 157 } 158 158 } 159 global $conf;160 if ( !( $conf['allow_html_descriptions'] and161 preg_match('/<(div|br|img|script).*>/i', $cat['comment']) ) )162 {163 $cat['comment'] = nl2br(@$cat['comment']);164 }165 159 166 160 $upper_ids = explode(',', $cat['uppercats']); … … 449 443 $cat_nb_images = 0; 450 444 } 451 445 452 446 //at least one image direct or indirect 453 447 $display_text.= l10n_dec('image_available', 'images_available', $cat_count_images);
Note: See TracChangeset
for help on using the changeset viewer.