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/tags.php

    r1475 r1502  
    2727 
    2828require_once ('init.php'); 
    29  
    30 // an item should have this many tags, at most 
    31 define('MAX_TAGS_PER_ITEM', 5); 
    32  
    33 // This regexp is used both in php and javascript, basically 
    34 // it is used to filter out everything but the allowed tag 
    35 // characters, plus a whitespace 
    36 define('ALLOWED_TAGS_REGEXP', '/[^a-zA-Z0-9\ _\.]/'); 
    3729 
    3830function relatedTags($tags) {