Show
Ignore:
Timestamp:
06/17/06 08:49:26 (2 years ago)
Author:
mdodoo
Message:

Fixes #55. Moves constants related to tags into constants.php. Attempts to update most translations to make LBL_ADMIN_CANT_RENAME more generic.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/constants.php

    r1472 r1502  
    158158define ('ITEM_SORT_HINT_MIXED', 0x02); 
    159159 
     160// an item should have this many tags, at most 
     161define('MAX_TAGS_PER_ITEM', 5); 
    160162 
     163// This regexp is used both in php and javascript, basically 
     164// it is used to filter out everything but the allowed tag 
     165// characters, plus a whitespace 
     166define('ALLOWED_TAGS_REGEXP', '/[^a-zA-Z0-9\ _\.]/'); 
    161167 
    162168// Sanitizer constants