Ignore:
Timestamp:
Feb 20, 2007, 2:40:40 AM (17 years ago)
Author:
rvelices
Message:
  • without subcatify, category thumbnail alt text is 'x images in y sub-categories'
  • improved display of 'x images in y sub-categories' or 'x images in this category' for cases when categories contain both images and sub-categories
  • small lang improvement (plural 'Images within the' instead 'Image within the')
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_cats.inc.php

    r1820 r1840  
    55// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
    87// | file          : $Id$
    98// | last update   : $Date$
     
    247246          'IMAGE'       => $thumbnail_src_of[ $category['representative_picture_id'] ],
    248247          'IMAGE_ALT'   => $category['name'],
    249           'IMAGE_TITLE' => $lang['hint_category'],
     248          'IMAGE_TITLE' => get_display_images_count
     249                                  (
     250                                    $category['nb_images'],
     251                                    $category['count_images'],
     252                                    $category['count_categories']
     253                                  ),
    250254
    251255          'U_IMG_LINK'  => make_index_url(
Note: See TracChangeset for help on using the changeset viewer.