diff options
author | momo-i <momo-i@ampache> | 2009-05-06 13:15:22 +0000 |
---|---|---|
committer | momo-i <momo-i@ampache> | 2009-05-06 13:15:22 +0000 |
commit | da6a97ce353e94f0f68968a02679364419cd7576 (patch) | |
tree | 1c9310441d1f2c051e7e6a94a6f29c68ad7cca75 /lib/general.lib.php | |
parent | dd9ecaa106f5d6f137b6ecb772830db03269ee0b (diff) | |
download | ampache-da6a97ce353e94f0f68968a02679364419cd7576.tar.gz ampache-da6a97ce353e94f0f68968a02679364419cd7576.tar.bz2 ampache-da6a97ce353e94f0f68968a02679364419cd7576.zip |
Update HTML header for RTL language.
add debug_event for stream type check
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r-- | lib/general.lib.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php index 13b9d1b6..73f488bb 100644 --- a/lib/general.lib.php +++ b/lib/general.lib.php @@ -349,6 +349,14 @@ function get_languages() { } // get_languages /** + * is_rtl + * This checks whether to be a rtl language. + */ +function is_rtl($locale) { + return in_array($locale, array("he_IL", "fa_IR", "ar_SA")); +} + +/** * format_time * This formats seconds into minutes:seconds * //FIXME This should be removed, no reason for it! |