Changeset 1046 for trunk/picture.php


Ignore:
Timestamp:
Feb 17, 2006, 3:41:57 AM (18 years ago)
Author:
rvelices
Message:

fix: remote site decodes html entities from xml and addslashes

fix: picture displays "image rank/total" images even for non numeric categories

fix: category comment not transformed with nl2br if allow_html_descriptions and
comment already looks like html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r1042 r1046  
    530530
    531531$title_img = $picture['current']['name'];
    532 $title_nb = '';
    533532if (is_numeric( $page['cat'] ))
    534533{
    535534  $title_img = replace_space(get_cat_display_name($page['cat_name']));
    536   $n = $page['current_rank'] + 1;
    537   $title_nb = $n.'/'.$page['cat_nb_images'];
    538535}
    539536else if ( $page['cat'] == 'search' )
     
    541538  $title_img = replace_search( $title_img, $_GET['search'] );
    542539}
     540$title_nb = ($page['current_rank'] + 1).'/'.$page['cat_nb_images'];
    543541
    544542// calculation of width and height
Note: See TracChangeset for help on using the changeset viewer.