Ignore:
Timestamp:
Jul 1, 2008, 4:09:21 AM (16 years ago)
Author:
rvelices
Message:
  • remember me cookie security improvement (the time when the cookie was generated is saved and checked in range [now-remember_me_length; now]
  • tags improvements
    • pass to templates all fields in table #tags (handy for plugins such as type tags)
    • fix issue with tag letter when first letter is accentuated (utf-8)
    • tags are sorted on url_name instead of name (accentuated first letter chars are the same as without accent)
    • better use of columns in by letter display mode
File:
1 edited

Legend:

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

    r2353 r2409  
    551551}
    552552
     553function tag_alpha_compare($a, $b)
     554{
     555  return strcmp(strtolower($a['url_name']), strtolower($b['url_name']));
     556}
     557
    553558/**
    554559 * exits the current script (either exit or redirect)
     
    733738}
    734739
    735 /** returns the argument_ids array with new sequenced keys based on related 
     740/** returns the argument_ids array with new sequenced keys based on related
    736741 * names. Sequence is not case sensitive.
    737742 * Warning: By definition, this function breaks original keys
Note: See TracChangeset for help on using the changeset viewer.