mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r150
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@150 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
66d14ce46b
commit
8c3b3b4e4f
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ if (!defined('BB_ROOT')) die(basename(__FILE__));
|
|||
//
|
||||
function language_select($default, $select_name = "language", $dirname="language")
|
||||
{
|
||||
global $bb_cfg;
|
||||
if(!$default) $default = $bb_cfg['default_lang'];
|
||||
|
||||
$dir = opendir(BB_ROOT . $dirname);
|
||||
|
||||
$lang = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue