[ Index ] |
|
Code source de Horde 3.1.3 |
1 <?php 2 /** 3 * Script to set the new language. 4 * 5 * $Horde: horde/services/language.php,v 1.5.12.3 2006/01/01 21:29:10 jan Exp $ 6 * 7 * Copyright 2003-2006 Marko Djukic <marko@oblo.com> 8 * 9 * See the enclosed file COPYING for license information (LGPL). If you did not 10 * receive this file, see http://www.fsf.org/copyleft/lgpl.html. 11 */ 12 13 @define('HORDE_BASE', dirname(__FILE__) . '/..'); 14 require_once HORDE_BASE . '/lib/base.php'; 15 16 /* Set the language. */ 17 $_SESSION['horde_language'] = NLS::select(); 18 $prefs->setValue('language', $_SESSION['horde_language']); 19 20 /* Redirect to the url or login page if none given. */ 21 $url = Util::getFormData('url'); 22 if (empty($url)) { 23 $url = Horde::applicationUrl('index.php', true); 24 } 25 header('Location: ' . $url);
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |