Ignore:
Timestamp:
Feb 1, 2011, 2:11:29 PM (13 years ago)
Author:
nikrou
Message:

Fix translation issue
Fix bugs with special configuration params :

Prepare piwigo release 2.2 (func_combine_script instead of func_known_script)

File:
1 edited

Legend:

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

    r6846 r9037  
    33// | User Tags  - a plugin for Piwigo                                      |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
     
    100100 
    101101  public function getActionUrl($base_url, $action) {
     102    global $conf;
     103
    102104    $url = $base_url;
    103     $url .= '&action='.$action;           
     105    if ($conf['question_mark_in_urls']) {
     106      $url .= '&';
     107    } else {
     108      $url .= '?';     
     109    }
     110    $url .= 'action='.$action;           
    104111
    105112    return $url;
Note: See TracChangeset for help on using the changeset viewer.