Changeset 24147


Ignore:
Timestamp:
2011-06-10T14:04:01+12:00 (10 years ago)
Author:
ak19
Message:

On Professor Witten's request List.pm no longer forces capitalisation of bookshelf names. The perlcode was doing this for display purposes, so it won't affect string comparisons and grouping of all case-variants into a single bucket. (Earlier, Diego also noted problems with the forced capitalisation, since CSS is unable to change the case -- lowercase or titlecase -- words that were capitalised by nature, as happens when List.pm outputs them that way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/classify/List.pm

    r24081 r24147  
    381381            }
    382382
     383            # Don't uppercase metadata here, user can change the display with CSS or javascript
     384            # further on. Moreover, CSS is unable to turn letters that are capitals by default
     385            # into lowercase, whereas letters that are lowercase by default can be titlecased or
     386            # capitalised later with CSS if necessary.
    383387            # uppercase the metadata - makes the AZList nicer
    384             $metadata_value = uc($metadata_value);
     388            #$metadata_value = uc($metadata_value);
    385389           
    386390            # We are already working with unicode aware strings at this
Note: See TracChangeset for help on using the changeset viewer.