Ignore:
Timestamp:
12/03/07 21:40:54 (4 years ago)
Author:
hverton
Message:

added a locale type selection per module
fixed typo from 404handler.php
updated English language pack
fixed not being able to move a post to a thread in the same forum.post.move.tpl
getusergroups() now returns the array ordered by name
upgraded tiny_mce to version 2.1.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/settings_languages.php

    r1145 r1158  
    3131    $settings['locale'] = stripinput($_POST['localeset']); 
    3232    $old_localeset = stripinput($_POST['old_localeset']); 
    33     $localisation_method = stripinput($_POST['localisation_method']); 
     33    $panels_localisation = stripinput($_POST['panels_localisation']); 
     34    $sitelinks_localisation = stripinput($_POST['sitelinks_localisation']); 
     35    $article_localisation = stripinput($_POST['article_localisation']); 
     36    $download_localisation = stripinput($_POST['download_localisation']); 
     37    $news_localisation = stripinput($_POST['news_localisation']); 
    3438    $result = dbquery("UPDATE ".$db_prefix."CMSconfig SET cfg_value = '".$settings['locale']."' WHERE cfg_name = 'locale'"); 
    3539    if (empty($_POST['old_country'])) { 
     
    3842        $result = dbquery("UPDATE ".$db_prefix."CMSconfig SET cfg_value = '".$_POST['country']."' WHERE cfg_name = 'country'"); 
    3943    } 
    40     $result = dbquery("UPDATE ".$db_prefix."CMSconfig SET cfg_value = '".$localisation_method."' WHERE cfg_name = 'localisation_method'"); 
     44    $result = dbquery("UPDATE ".$db_prefix."CMSconfig SET cfg_value = '".$panels_localisation."' WHERE cfg_name = 'panels_localisation'"); 
     45    $result = dbquery("UPDATE ".$db_prefix."CMSconfig SET cfg_value = '".$sitelinks_localisation."' WHERE cfg_name = 'sitelinks_localisation'"); 
     46    $result = dbquery("UPDATE ".$db_prefix."CMSconfig SET cfg_value = '".$news_localisation."' WHERE cfg_name = 'news_localisation'"); 
     47    $result = dbquery("UPDATE ".$db_prefix."CMSconfig SET cfg_value = '".$download_localisation."' WHERE cfg_name = 'download_localisation'"); 
     48    $result = dbquery("UPDATE ".$db_prefix."CMSconfig SET cfg_value = '".$article_localisation."' WHERE cfg_name = 'article_localisation'"); 
    4149    redirect(FUSION_SELF.$aidlink); 
    4250} 
Note: See TracChangeset for help on using the changeset viewer.