Changeset 11039 for trunk/admin.php


Ignore:
Timestamp:
05/25/11 11:00:46 (9 years ago)
Author:
patdenice
Message:

Load tags for tokeninput directly in html page. Ajax is too slow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r10849 r11039  
    4444// | Direct actions                                                        | 
    4545// +-----------------------------------------------------------------------+ 
    46  
    47 // tags 
    48 if (isset($_GET['fckb_tags'])) 
    49 { 
    50   $query = ' 
    51 SELECT 
    52     id AS tag_id, 
    53     name AS tag_name 
    54   FROM '.TAGS_TABLE.' 
    55 ;'; 
    56   echo json_encode(get_fckb_taglist($query)); 
    57   exit(); 
    58 } 
    5946 
    6047// theme changer 
Note: See TracChangeset for help on using the changeset viewer.