d i f f   - - g i t   a / m o d u l e s / t a x o n o m y / t a x o n o m y . m o d u l e   b / m o d u l e s / t a x o n o m y / t a x o n o m y . m o d u l e 
 i n d e x   f 1 7 0 4 3 0 . . d 9 f f 1 6 c   1 0 0 6 4 4 
 - - -   a / m o d u l e s / t a x o n o m y / t a x o n o m y . m o d u l e 
 + + +   b / m o d u l e s / t a x o n o m y / t a x o n o m y . m o d u l e 
 @ @   - 1 2 0 4 , 6   + 1 2 0 4 , 8   @ @   f u n c t i o n   t a x o n o m y _ i m p l o d e _ t a g s ( $ t a g s ,   $ v i d   =   N U L L )   { 
     *       -   p a r e n t :   a   t e r m   I D   o f   a   t e r m   w h o s e   c h i l d r e n   a r e   a l l o w e d .   T h i s   s h o u l d   b e 
     *           ' 0 '   i f   a l l   t e r m s   i n   a   v o c a b u l a r y   a r e   a l l o w e d .   T h e   a l l o w e d   v a l u e s   d o   n o t 
     *           i n c l u d e   t h e   p a r e n t   t e r m . 
 +   *   -   a l l o w _ t e r m _ a u t o c r e a t i o n :   a   b o o l e a n   i n d i c a t i n g   w h e t h e r   o r   n o t   u n k n o w n 
 +   *       v a l u e s   w i l l   b e   c o n v e r t e d   t o   n e w   t e r m s   i n   t h e   v o c a b u l a r y 
     * 
     * / 
   f u n c t i o n   t a x o n o m y _ f i e l d _ i n f o ( )   { 
 @ @   - 1 2 2 0 , 6   + 1 2 2 2 , 7   @ @   f u n c t i o n   t a x o n o m y _ f i e l d _ i n f o ( )   { 
                           ' p a r e n t '   = >   ' 0 ' , 
                       ) , 
                   ) , 
 +                 ' a l l o w _ t e r m _ a u t o c r e a t i o n '   = >   T R U E , 
               ) , 
           ) , 
       ) ; 
 @ @   - 1 5 2 0 , 7   + 1 5 2 3 , 7   @ @   f u n c t i o n   t a x o n o m y _ a u t o c o m p l e t e _ v a l i d a t e ( $ e l e m e n t ,   & $ f o r m _ s t a t e )   { 
               i f   ( $ p o s s i b i l i t i e s   =   t a x o n o m y _ t e r m _ l o a d _ m u l t i p l e ( a r r a y ( ) ,   a r r a y ( ' n a m e '   = >   t r i m ( $ t y p e d _ t e r m ) ,   ' v i d '   = >   a r r a y _ k e y s ( $ v o c a b u l a r i e s ) ) ) )   { 
                   $ t e r m   =   a r r a y _ p o p ( $ p o s s i b i l i t i e s ) ; 
               } 
 -             e l s e   { 
 +             e l s e   i f   ( ! i s s e t ( $ f i e l d [ ' s e t t i n g s ' ] [ ' a l l o w _ t e r m _ a u t o c r e a t i o n ' ] )   | |   $ f i e l d [ ' s e t t i n g s ' ] [ ' a l l o w _ t e r m _ a u t o c r e a t i o n ' ] )   { 
                   $ v o c a b u l a r y   =   r e s e t ( $ v o c a b u l a r i e s ) ; 
                   $ t e r m   =   a r r a y ( 
                       ' t i d '   = >   ' a u t o c r e a t e ' , 
 @ @   - 1 5 2 9 , 7   + 1 5 3 2 , 1 4   @ @   f u n c t i o n   t a x o n o m y _ a u t o c o m p l e t e _ v a l i d a t e ( $ e l e m e n t ,   & $ f o r m _ s t a t e )   { 
                       ' v o c a b u l a r y _ m a c h i n e _ n a m e '   = >   $ v o c a b u l a r y - > m a c h i n e _ n a m e , 
                   ) ; 
               } 
 -             $ v a l u e [ ]   =   ( a r r a y ) $ t e r m ; 
 +             e l s e   { 
 +                 $ t e r m   =   N U L L ; 
 +                 f o r m _ e r r o r ( $ e l e m e n t ,   t ( ' % n a m e :   i l l e g a l   v a l u e :   % v a l u e . ' ,   a r r a y ( ' % n a m e '   = >   t ( $ e l e m e n t [ ' # t i t l e ' ] ) ,   ' % v a l u e '   = >   $ t y p e d _ t e r m ) ) ) ; 
 +             } 
 + 
 +             i f   ( i s s e t ( $ t e r m ) )   { 
 +                 $ v a l u e [ ]   =   ( a r r a y ) $ t e r m ; 
 +             } 
           } 
       } 
   
 @ @   - 1 5 7 2 , 6   + 1 5 8 2 , 1 3   @ @   f u n c t i o n   t a x o n o m y _ f i e l d _ s e t t i n g s _ f o r m ( $ f i e l d ,   $ i n s t a n c e ,   $ h a s _ d a t a )   { 
           ) ; 
       } 
   
 +     $ f o r m [ ' a l l o w _ t e r m _ a u t o c r e a t i o n ' ]   =   a r r a y ( 
 +         ' # t y p e '   = >   ' c h e c k b o x ' , 
 +         ' # t i t l e '   = >   t ( ' A l l o w   a u t o c r e a t i o n   o f   n e w   t e r m s ' ) , 
 +         ' # d e f a u l t _ v a l u e '   = >   ( ! i s s e t ( $ f i e l d [ ' s e t t i n g s ' ] [ ' a l l o w _ t e r m _ a u t o c r e a t i o n ' ] )   | |   $ f i e l d [ ' s e t t i n g s ' ] [ ' a l l o w _ t e r m _ a u t o c r e a t i o n ' ] )   ?   T R U E   :   F A L S E , 
 +         ' # d e s c r i p t i o n '   = >   t ( ' W h e n   e n a b l e d ,   n e w   t e r m s   a r e   a u t o m a t i c a l l y   c r e a t e d   f o r   u n k n o w n   v a l u e s . ' ) , 
 +     ) ; 
 + 
       r e t u r n   $ f o r m ; 
   } 
   
 