Ignore:
Timestamp:
May 27, 2011, 11:02:05 PM (13 years ago)
Author:
nikrou
Message:

Fix incompatibility with piwigo 2.2
Change jquery plugin from fcbkcomplete to tokeninput

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_tags/include/t4u_config.class.php

    r9037 r11081  
    9999  }
    100100 
    101   public function getActionUrl($base_url, $action) {
    102     global $conf;
    103 
    104     $url = $base_url;
    105     if ($conf['question_mark_in_urls']) {
    106       $url .= '&';
     101  public function getActionUrl($action, $method='POST') {
     102    $url = get_root_url().'admin.php?page=plugin';
     103    $file = basename($this->plugin_dir) . '/' .'admin.php';
     104    if (strtoupper($method)=='POST') {
     105        $url .= '&section='.urlencode($file);
     106        $url .= '&action='.urlencode($action);
    107107    } else {
    108       $url .= '?';     
     108        $url .= '&section='.$file;
     109        $url .= '&action='.$action;
    109110    }
    110     $url .= 'action='.$action;           
    111111
    112112    return $url;
Note: See TracChangeset for help on using the changeset viewer.