Show
Ignore:
Timestamp:
01/18/05 16:45:31 (8 years ago)
Author:
aprilp
Message:

Smarty'ized

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/include/language.php

    r320 r349  
    11<?php 
     2if (!empty($_REQUEST['lang'])) { 
     3    $session->set('SESS_LANGUAGE_VAR', $_REQUEST['lang']); 
     4} 
     5 
     6if ($session->get('SESS_LANGUAGE_VAR')) { 
     7    setlocale(LC_ALL, $session->get('SESS_LANGUAGE_VAR')); 
     8} 
     9 
    210if (GETTEXT_AVAILABLE) { 
    311        $current_locale = setlocale(LC_ALL, DEFAULT_LANG);