Revision 1082
Added by Matthias over 15 years ago
browse.php | ||
---|---|---|
32 | 32 |
require_once(WB_PATH.'/framework/functions.php'); |
33 | 33 |
include ('parameters.php'); |
34 | 34 |
|
35 |
// check if theme language file exists for the language set by the user (e.g. DE, EN) |
|
36 |
if(!file_exists(THEME_PATH .'/languages/'.LANGUAGE .'.php')) { |
|
37 |
// no theme language file exists for the language set by the user, include default theme language file EN.php |
|
38 |
require_once(THEME_PATH .'/languages/EN.php'); |
|
39 |
} else { |
|
40 |
// a theme language file exists for the language defined by the user, load it |
|
41 |
require_once(THEME_PATH .'/languages/'.LANGUAGE .'.php'); |
|
42 |
} |
|
43 |
|
|
35 | 44 |
// Byte convert for filesize |
36 | 45 |
function byte_convert($bytes) { |
37 | 46 |
$symbol = array(' bytes', ' KB', ' MB', ' GB', ' TB'); |
Also available in: Unified diff
Added multilnaguage support to media section of argos_theme (Thanks to Argos)
Fixed smaller display issue in argos_theme (Thanks to Argos)