Ignore:
Timestamp:
Mar 19, 2010, 1:50:19 PM (14 years ago)
Author:
plg
Message:

feature 724: FCBKcomplete propagated to element_set_global and
element_set_unit to manage tags.

Note: multiple instances of FCBKcomplete on the same page does not work as
good as a single instance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/element_set_global.php

    r4731 r5188  
    149149  if (isset($_POST['add_tags']) and count($collection) > 0)
    150150  {
    151     add_tags($_POST['add_tags'], $collection);
     151    $tag_ids = get_fckb_tag_ids($_POST['add_tags']);
     152    add_tags($tag_ids, $collection);
    152153  }
    153154
     
    368369}
    369370
    370 $all_tags = get_all_tags();
    371 
    372 if (count($all_tags) > 0)
    373 {// add tags
    374   $template->assign(
    375     array(
    376       'ADD_TAG_SELECTION' => get_html_tag_selection(
    377                               $all_tags,
    378                               'add_tags'
    379                               ),
    380       )
    381     );
    382 }
    383 
    384371if (count($page['cat_elements_id']) > 0)
    385372{
Note: See TracChangeset for help on using the changeset viewer.