Ignore:
Timestamp:
05/25/11 15:33:29 (9 years ago)
Author:
mistic100
Message:

bug:2278 fixed (merge r10970 r11008 r11039 from trunk) replace FCBKcomplete by TokenInput to avoid 3rd tag issue on autocomplete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/admin/picture_modify.php

    r9943 r11056  
    167167  if (isset($_POST['tags'])) 
    168168  { 
    169     $tag_ids = get_fckb_tag_ids($_POST['tags']); 
     169    $tag_ids = get_tag_ids($_POST['tags']); 
    170170  } 
    171171  set_tags($tag_ids, $_GET['image_id']); 
     
    234234  WHERE image_id = '.$_GET['image_id'].' 
    235235;'; 
    236 $tags = get_fckb_taglist($query); 
     236$tag_selection = get_taglist($query); 
     237 
     238$query = ' 
     239SELECT 
     240    id AS tag_id, 
     241    name AS tag_name 
     242  FROM '.TAGS_TABLE.' 
     243;'; 
     244$tags = get_taglist($query); 
    237245 
    238246// retrieving direct information about picture 
     
    268276$template->assign( 
    269277  array( 
     278    'tag_selection' => $tag_selection, 
    270279    'tags' => $tags, 
    271280    'U_SYNC' => $admin_url_start.'&sync_metadata=1', 
Note: See TracChangeset for help on using the changeset viewer.