summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchriskl2004-07-12 04:18:40 +0000
committerchriskl2004-07-12 04:18:40 +0000
commit44bdfbbeb75d269a8065b3dfdf07ece6e083ec40 (patch)
tree35e3189456042778737b0159ad73ec3268a8e1c0
parent57b75244b19529eadae8574635a8670f5ad5c02d (diff)
support for right-to-left languages, currently only arabic
-rw-r--r--classes/Misc.php12
-rwxr-xr-xindex.php10
-rw-r--r--lang/afrikaans.php3
-rw-r--r--lang/arabic.php3
-rw-r--r--lang/chinese-sim.php1
-rw-r--r--lang/chinese-tr.php3
-rw-r--r--lang/czech.php3
-rw-r--r--lang/dutch.php3
-rwxr-xr-xlang/english.php4
-rw-r--r--lang/french.php3
-rw-r--r--lang/german.php3
-rw-r--r--lang/hungarian.php1
-rw-r--r--lang/italian.php3
-rw-r--r--lang/japanese.php3
-rw-r--r--lang/mongol.php3
-rw-r--r--lang/polish.php3
-rw-r--r--lang/portuguese-br.php3
-rw-r--r--lang/recoded/afrikaans.php3
-rw-r--r--lang/recoded/arabic.php3
-rw-r--r--lang/recoded/chinese-sim.php1
-rw-r--r--lang/recoded/chinese-tr.php3
-rw-r--r--lang/recoded/czech.php3
-rw-r--r--lang/recoded/dutch.php7
-rw-r--r--lang/recoded/english.php6
-rw-r--r--lang/recoded/french.php3
-rw-r--r--lang/recoded/german.php3
-rw-r--r--lang/recoded/hungarian.php1
-rw-r--r--lang/recoded/italian.php3
-rw-r--r--lang/recoded/japanese.php3
-rw-r--r--lang/recoded/mongol.php3
-rw-r--r--lang/recoded/polish.php3
-rw-r--r--lang/recoded/portuguese-br.php3
-rw-r--r--lang/recoded/russian.php3
-rw-r--r--lang/recoded/slovak.php1
-rw-r--r--lang/recoded/spanish.php3
-rw-r--r--lang/recoded/swedish.php9
-rw-r--r--lang/recoded/turkish.php3
-rw-r--r--lang/russian.php5
-rw-r--r--lang/slovak.php1
-rw-r--r--lang/spanish.php3
-rw-r--r--lang/swedish.php3
-rw-r--r--lang/turkish.php3
-rw-r--r--themes/default/global.css7
-rwxr-xr-xtopbar.php4
44 files changed, 103 insertions, 54 deletions
diff --git a/classes/Misc.php b/classes/Misc.php
index 445fdd24..f8d920dc 100644
--- a/classes/Misc.php
+++ b/classes/Misc.php
@@ -2,7 +2,7 @@
/**
* Class to hold various commonly used functions
*
- * $Id: Misc.php,v 1.70 2004/07/09 18:51:02 xzilla Exp $
+ * $Id: Misc.php,v 1.71 2004/07/12 04:18:40 chriskl Exp $
*/
class Misc {
@@ -159,7 +159,7 @@
echo "<tr><td><h2>";
// Join array with separator character
echo implode($lang['strseparator'], $arr);
- echo "</h2></td><td style=\"text-align: right\"><a class=\"navlink help\" href=\"";
+ echo "</h2></td><td width=\"1\"><a class=\"navlink help\" href=\"";
// Output URL to help
echo htmlspecialchars($data->help_base . $data->help_page[$help]);
echo "\" target=\"ppa_help\">{$lang['strhelp']}</a></td></tr>\n";
@@ -225,10 +225,14 @@
if (isset($conf['use_xhtml']) && $conf['use_xhtml']) {
echo "<?xml version=\"1.0\" encoding=\"", htmlspecialchars($lang['appcharset']), "\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd\">\n";
- echo "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n";
+ echo "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"{$lang['applocale']}\" lang=\"{$lang['applocale']}\"";
+ if (strcasecmp($lang['applangdir'], 'ltr') != 0) echo " dir=\"", htmlspecialchars($lang['applangdir']), "\"";
+ echo ">\n";
} else {
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
- echo "<html>\n";
+ echo "<html";
+ if (strcasecmp($lang['applangdir'], 'ltr') != 0) echo " dir=\"", htmlspecialchars($lang['applangdir']), "\"";
+ echo ">\n";
}
echo "<head>\n";
echo "<title>", htmlspecialchars($appName);
diff --git a/index.php b/index.php
index fae80edb..9e11a725 100755
--- a/index.php
+++ b/index.php
@@ -3,20 +3,26 @@
/**
* Main access point to the app.
*
- * $Id: index.php,v 1.10 2004/01/14 02:14:28 chriskl Exp $
+ * $Id: index.php,v 1.11 2004/07/12 04:18:40 chriskl Exp $
*/
// Include application functions
include_once('./libraries/lib.inc.php');
-
$misc->printHeader();
?>
<frameset rows="52,*,12">
<frame src="topbar.php" name="topbar" scrolling="no" noresize="noresize" frameborder="0" />
+<?php if (strcasecmp($lang['applangdir'], 'rtl') == 0) : ?>
+ <frameset cols="*,<?php echo $conf['left_width'] ?>">
+ <frame src="intro.php" name="detail" frameborder="0" />
+ <frame src="browser.php" name="browser" frameborder="0" />
+ </frameset>
+<?php else: ?>
<frameset cols="<?php echo $conf['left_width'] ?>,*">
<frame src="browser.php" name="browser" frameborder="0" />
<frame src="intro.php" name="detail" frameborder="0" />
</frameset>
+<?php endif; ?>
<frame src="bottombar.php" name="bottombar" scrolling="no" noresize="noresize" frameborder="0" />
<noframes>
<body>
diff --git a/lang/afrikaans.php b/lang/afrikaans.php
index 3c051e19..9e5e9bc7 100644
--- a/lang/afrikaans.php
+++ b/lang/afrikaans.php
@@ -4,7 +4,7 @@
* Afrikaans Language file for WebDB.
* @maintainer Petri Jooste [[email protected]]
*
- * $Id: afrikaans.php,v 1.3 2004/02/17 01:48:17 chriskl Exp $
+ * $Id: afrikaans.php,v 1.4 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'af_ZA';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'Welkom by phpPgAdmin.';
diff --git a/lang/arabic.php b/lang/arabic.php
index 400d893f..1274bb0f 100644
--- a/lang/arabic.php
+++ b/lang/arabic.php
@@ -4,7 +4,7 @@
* Arabic language file
* @maintainer Zaki Almuallim [zaki (at) star2000.net]
*
- * $Id: arabic.php,v 1.1 2004/06/13 07:08:29 chriskl Exp $
+ * $Id: arabic.php,v 1.2 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'UTF-8';
$lang['applocale'] = 'ar';
$lang['appdbencoding'] = 'UNICODE';
+ $lang['applangdir'] = 'rtl';
// Welcome
$lang['strintro'] = 'مرحبا الى phpPgAdmin.';
diff --git a/lang/chinese-sim.php b/lang/chinese-sim.php
index f7fc7a29..43bfeaf3 100644
--- a/lang/chinese-sim.php
+++ b/lang/chinese-sim.php
@@ -9,6 +9,7 @@ $lang['applang'] = '�������ģ�ͳһ�룩';
$lang['appcharset'] = 'gb2312';
$lang['applocale'] = 'zh_CN';
$lang['appdbencoding'] = 'EUC_CN';
+$lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'ӭʹ�� phpPgAdmin��';
diff --git a/lang/chinese-tr.php b/lang/chinese-tr.php
index ae165cf8..030fc079 100644
--- a/lang/chinese-tr.php
+++ b/lang/chinese-tr.php
@@ -2,7 +2,7 @@
/**
* Translated by Chih-Hsin Lee [[email protected]]
- * $Id: chinese-tr.php,v 1.11 2004/05/17 03:14:34 chriskl Exp $
+ * $Id: chinese-tr.php,v 1.12 2004/07/12 04:18:41 chriskl Exp $
*
*
*/
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'big5';
$lang['applocale'] = 'zh_TW';
$lang['appdbencoding'] = 'EUC_TW';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = '�w��ϥ�phpPgAdmin.';
diff --git a/lang/czech.php b/lang/czech.php
index 099511cc..49d1e13f 100644
--- a/lang/czech.php
+++ b/lang/czech.php
@@ -10,8 +10,9 @@
$lang['applang'] = 'Česky';
$lang['appcharset'] = 'utf8';
$lang['applocale'] = 'cs_CZ';
-
$lang['appdbencoding'] = 'UNICODE';
+ $lang['applangdir'] = 'ltr';
+
// Basic strings
$lang['strintro'] = 'Vítejte v phpPgAdminu.';
$lang['strlogin'] = 'Přihlášení';
diff --git a/lang/dutch.php b/lang/dutch.php
index 92895697..e1be293e 100644
--- a/lang/dutch.php
+++ b/lang/dutch.php
@@ -4,13 +4,14 @@
* Dutch Language file for WebDB.
* @maintainer Hugo Jonker [[email protected]]
*
- * $Id: dutch.php,v 1.14 2004/02/12 03:20:51 chriskl Exp $
+ * $Id: dutch.php,v 1.15 2004/07/12 04:18:41 chriskl Exp $
*/
$lang['applang'] = 'Nederlands';
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'nl_NL';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
$lang['strnoframes'] = 'Deze applicatie maakt gebruik van frames. U heeft een browser nodig, die frames ondersteund, om deze applicatie te gebruiken. ';
$lang['strlogin'] = 'Login';
diff --git a/lang/english.php b/lang/english.php
index b0e85ef7..ea67a769 100755
--- a/lang/english.php
+++ b/lang/english.php
@@ -4,7 +4,7 @@
* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: english.php,v 1.153 2004/07/10 08:51:01 chriskl Exp $
+ * $Id: english.php,v 1.154 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'en_US';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'Welcome to phpPgAdmin.';
@@ -289,6 +290,7 @@
$lang['strforce'] = 'Force';
$lang['strsignalsent'] = 'Signal sent.';
$lang['strsignalsentbad'] = 'Failed sending signal.';
+ $lang['strallobjects'] = 'All objects';
// Views
$lang['strview'] = 'View';
diff --git a/lang/french.php b/lang/french.php
index 8dbbae40..aba955a7 100644
--- a/lang/french.php
+++ b/lang/french.php
@@ -4,7 +4,7 @@
* French Language file for phpPgAdmin.
* @maintainer Pascal PEYRE [[email protected]]
*
- * $Id: french.php,v 1.12 2004/05/28 01:17:27 chriskl Exp $
+ * $Id: french.php,v 1.13 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'fr_FR';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'Bienvenue sur phpPgAdmin.';
diff --git a/lang/german.php b/lang/german.php
index 4c9fcc7b..93af3581 100644
--- a/lang/german.php
+++ b/lang/german.php
@@ -5,7 +5,7 @@
* German Language file for phpPgAdmin.
* @maintainer M. Bertheau <[email protected]>
*
- * $Id: german.php,v 1.19 2004/05/21 14:38:44 chriskl Exp $
+ * $Id: german.php,v 1.20 2004/07/12 04:18:41 chriskl Exp $
*/
@@ -14,6 +14,7 @@
$lang['appcharset'] = 'UTF-8';
$lang['applocale'] = 'de_DE';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'Willkommen bei phpPgAdmin.';
diff --git a/lang/hungarian.php b/lang/hungarian.php
index 1477d848..c6e680eb 100644
--- a/lang/hungarian.php
+++ b/lang/hungarian.php
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'UTF-8';
$lang['applocale'] = 'hu_HU';
$lang['appdbencoding'] = 'LATIN2';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'Üdvözli a phpPgAdmin!';
diff --git a/lang/italian.php b/lang/italian.php
index d480d8f7..5cb47262 100644
--- a/lang/italian.php
+++ b/lang/italian.php
@@ -4,7 +4,7 @@
* Italian language file, based on the english language file for phpPgAdmin.
* Nicola Soranzo [[email protected]]
*
- * $Id: italian.php,v 1.33 2004/07/05 09:21:10 soranzo Exp $
+ * $Id: italian.php,v 1.34 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set - Lingua e set di caratteri
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'it_IT';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Welcome - Benvenuto
$lang['strintro'] = 'Benvenuto in phpPgAdmin.';
diff --git a/lang/japanese.php b/lang/japanese.php
index 88ef0436..4fc19615 100644
--- a/lang/japanese.php
+++ b/lang/japanese.php
@@ -4,7 +4,7 @@
* Japanese language file for phpPgAdmin.
* @maintainer Tadashi Jokagi [[email protected]]
*
- * $Id: japanese.php,v 1.10 2004/06/23 05:21:44 chriskl Exp $
+ * $Id: japanese.php,v 1.11 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'EUC-JP';
$lang['applocale'] = 'ja_JP';
$lang['appdbencoding'] = 'EUC_JP';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = '�褦����phpPgAdmin�ء�';
diff --git a/lang/mongol.php b/lang/mongol.php
index 2bfe843a..cddf3ef6 100644
--- a/lang/mongol.php
+++ b/lang/mongol.php
@@ -4,7 +4,7 @@
* Mongolian language file for phpPgAdmin.
* @maintainer Erdenemandal Bat-Erdene [[email protected]]
*
- * $Id: mongol.php,v 1.1 2004/07/12 01:35:46 chriskl Exp $
+ * $Id: mongol.php,v 1.2 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-5';
$lang['applocale'] = 'mn_MN';
$lang['appdbencoding'] = 'ISO_8859_5';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'phpPgAdmin-� ������ ������� ��.';
diff --git a/lang/polish.php b/lang/polish.php
index 70f923f4..d80ad289 100644
--- a/lang/polish.php
+++ b/lang/polish.php
@@ -4,7 +4,7 @@
* Polish language file for WebDB.
* @maintainer Rafal Slubowski [[email protected]]
*
- * $Id: polish.php,v 1.39 2004/06/08 20:18:17 slubek Exp $
+ * $Id: polish.php,v 1.40 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-2';
$lang['applocale'] = 'pl_PL';
$lang['appdbencoding'] = 'LATIN2';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'Witaj w phpPgAdmin.';
diff --git a/lang/portuguese-br.php b/lang/portuguese-br.php
index b9c11ecc..3d2b09d1 100644
--- a/lang/portuguese-br.php
+++ b/lang/portuguese-br.php
@@ -4,7 +4,7 @@
* Brazilian Portuguese language file for phpPgAdmin.
* @maintainer �ngelo Marcos Rigo ([email protected])
*
- * $Id: portuguese-br.php,v 1.4 2003/09/17 17:04:12 soranzo Exp $
+ * $Id: portuguese-br.php,v 1.5 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'pt_BR';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'Bem-vindo ao phpPgAdmin.';
diff --git a/lang/recoded/afrikaans.php b/lang/recoded/afrikaans.php
index 0be4bdc3..4ffb7077 100644
--- a/lang/recoded/afrikaans.php
+++ b/lang/recoded/afrikaans.php
@@ -4,7 +4,7 @@
* Afrikaans Language file for WebDB.
* @maintainer Petri Jooste [[email protected]]
*
- * $Id: afrikaans.php,v 1.3 2004/02/17 01:48:17 chriskl Exp $
+ * $Id: afrikaans.php,v 1.4 2004/07/12 04:18:42 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'af_ZA';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'Welkom by phpPgAdmin.';
diff --git a/lang/recoded/arabic.php b/lang/recoded/arabic.php
index d5d54ab2..bd98faa9 100644
--- a/lang/recoded/arabic.php
+++ b/lang/recoded/arabic.php
@@ -4,7 +4,7 @@
* Arabic language file
* @maintainer Zaki Almuallim [zaki (at) star2000.net]
*
- * $Id: arabic.php,v 1.1 2004/06/13 07:08:29 chriskl Exp $
+ * $Id: arabic.php,v 1.2 2004/07/12 04:18:42 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'UTF-8';
$lang['applocale'] = 'ar';
$lang['appdbencoding'] = 'UNICODE';
+ $lang['applangdir'] = 'rtl';
// Welcome
$lang['strintro'] = '&#1605;&#1585;&#1581;&#1576;&#1575; &#1575;&#1604;&#1609; phpPgAdmin.';
diff --git a/lang/recoded/chinese-sim.php b/lang/recoded/chinese-sim.php
index 6a04fa94..f7609be1 100644
--- a/lang/recoded/chinese-sim.php
+++ b/lang/recoded/chinese-sim.php
@@ -9,6 +9,7 @@ $lang['applang'] = '&#31616;&#20307;&#20013;&#25991;&#65288;&#32479;&#19968;&#30
$lang['appcharset'] = 'gb2312';
$lang['applocale'] = 'zh_CN';
$lang['appdbencoding'] = 'EUC_CN';
+$lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = '&#36814;&#20351;&#29992; phpPgAdmin&#12290;';
diff --git a/lang/recoded/chinese-tr.php b/lang/recoded/chinese-tr.php
index 101a942b..79498419 100644
--- a/lang/recoded/chinese-tr.php
+++ b/lang/recoded/chinese-tr.php
@@ -2,7 +2,7 @@
/**
* Translated by Chih-Hsin Lee [[email protected]]
- * $Id: chinese-tr.php,v 1.13 2004/05/17 03:14:35 chriskl Exp $
+ * $Id: chinese-tr.php,v 1.14 2004/07/12 04:18:42 chriskl Exp $
*
*
*/
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'big5';
$lang['applocale'] = 'zh_TW';
$lang['appdbencoding'] = 'EUC_TW';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = '&#27489;&#36814;&#20351;&#29992;phpPgAdmin.';
diff --git a/lang/recoded/czech.php b/lang/recoded/czech.php
index acfd3c91..29a1b82e 100644
--- a/lang/recoded/czech.php
+++ b/lang/recoded/czech.php
@@ -10,8 +10,9 @@
$lang['applang'] = '&#268;esky';
$lang['appcharset'] = 'utf8';
$lang['applocale'] = 'cs_CZ';
-
$lang['appdbencoding'] = 'UNICODE';
+ $lang['applangdir'] = 'ltr';
+
// Basic strings
$lang['strintro'] = 'V&iacute;tejte v phpPgAdminu.';
$lang['strlogin'] = 'P&#345;ihl&aacute;&scaron;en&iacute;';
diff --git a/lang/recoded/dutch.php b/lang/recoded/dutch.php
index b6eb0dfb..ffd05aec 100644
--- a/lang/recoded/dutch.php
+++ b/lang/recoded/dutch.php
@@ -4,13 +4,14 @@
* Dutch Language file for WebDB.
* @maintainer Hugo Jonker [[email protected]]
*
- * $Id: dutch.php,v 1.10 2004/02/12 03:20:51 chriskl Exp $
+ * $Id: dutch.php,v 1.11 2004/07/12 04:18:42 chriskl Exp $
*/
$lang['applang'] = 'Nederlands';
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'nl_NL';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
$lang['strnoframes'] = 'Deze applicatie maakt gebruik van frames. U heeft een browser nodig, die frames ondersteund, om deze applicatie te gebruiken. ';
$lang['strlogin'] = 'Login';
@@ -423,8 +424,8 @@
// These were missing after using the language conversion tool :(
- $lang['strfirst'] = '<< Eerste';
- $lang['strlast'] = 'Laatste >>';
+ $lang['strfirst'] = '&lt;&lt; Eerste';
+ $lang['strlast'] = 'Laatste &gt;&gt;';
$lang['strexplain'] = 'Verklaring';
$lang['strfind'] = 'Zoek';
$lang['stroptions'] = 'Opties';
diff --git a/lang/recoded/english.php b/lang/recoded/english.php
index aa404fd4..c5b40342 100644
--- a/lang/recoded/english.php
+++ b/lang/recoded/english.php
@@ -4,7 +4,7 @@
* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: english.php,v 1.106 2004/07/10 08:51:02 chriskl Exp $
+ * $Id: english.php,v 1.107 2004/07/12 04:18:42 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'en_US';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'Welcome to phpPgAdmin.';
@@ -289,6 +290,7 @@
$lang['strforce'] = 'Force';
$lang['strsignalsent'] = 'Signal sent.';
$lang['strsignalsentbad'] = 'Failed sending signal.';
+ $lang['strallobjects'] = 'All objects';
// Views
$lang['strview'] = 'View';
@@ -618,7 +620,7 @@
$lang['strtablespacealtered'] = 'Tablespace altered.';
$lang['strtablespacealteredbad'] = 'Tablespace alteration failed.';
$lang['strshowalltablespaces'] = 'Show all tablespaces';
-
+
// Miscellaneous
$lang['strtopbar'] = '%s running on %s:%s -- You are logged in as user &quot;%s&quot;, %s';
$lang['strtimefmt'] = 'jS M, Y g:iA';
diff --git a/lang/recoded/french.php b/lang/recoded/french.php
index d718da6f..f24920b9 100644
--- a/lang/recoded/french.php
+++ b/lang/recoded/french.php
@@ -4,7 +4,7 @@
* French Language file for phpPgAdmin.
* @maintainer Pascal PEYRE [[email protected]]
*
- * $Id: french.php,v 1.10 2004/05/28 01:17:28 chriskl Exp $
+ * $Id: french.php,v 1.11 2004/07/12 04:18:42 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'fr_FR';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'Bienvenue sur phpPgAdmin.';
diff --git a/lang/recoded/german.php b/lang/recoded/german.php
index ba929980..74689d6e 100644
--- a/lang/recoded/german.php
+++ b/lang/recoded/german.php
@@ -5,7 +5,7 @@
* German Language file for phpPgAdmin.
* @maintainer M. Bertheau &lt;[email protected]&gt;
*
- * $Id: german.php,v 1.16 2004/05/21 14:38:44 chriskl Exp $
+ * $Id: german.php,v 1.17 2004/07/12 04:18:42 chriskl Exp $
*/
@@ -14,6 +14,7 @@
$lang['appcharset'] = 'UTF-8';
$lang['applocale'] = 'de_DE';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'Willkommen bei phpPgAdmin.';
diff --git a/lang/recoded/hungarian.php b/lang/recoded/hungarian.php
index 281747c4..0e66ec74 100644
--- a/lang/recoded/hungarian.php
+++ b/lang/recoded/hungarian.php
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'UTF-8';
$lang['applocale'] = 'hu_HU';
$lang['appdbencoding'] = 'LATIN2';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = '&Uuml;dv&ouml;zli a phpPgAdmin!';
diff --git a/lang/recoded/italian.php b/lang/recoded/italian.php
index e0e315c6..e28bc5dd 100644
--- a/lang/recoded/italian.php
+++ b/lang/recoded/italian.php
@@ -4,7 +4,7 @@
* Italian language file, based on the english language file for phpPgAdmin.
* Nicola Soranzo [[email protected]]
*
- * $Id: italian.php,v 1.28 2004/07/05 09:21:11 soranzo Exp $
+ * $Id: italian.php,v 1.29 2004/07/12 04:18:42 chriskl Exp $
*/
// Language and character set - Lingua e set di caratteri
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'it_IT';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Welcome - Benvenuto
$lang['strintro'] = 'Benvenuto in phpPgAdmin.';
diff --git a/lang/recoded/japanese.php b/lang/recoded/japanese.php
index a7063468..3bd950a6 100644
--- a/lang/recoded/japanese.php
+++ b/lang/recoded/japanese.php
@@ -4,7 +4,7 @@
* Japanese language file for phpPgAdmin.
* @maintainer Tadashi Jokagi [[email protected]]
*
- * $Id: japanese.php,v 1.10 2004/06/23 05:21:45 chriskl Exp $
+ * $Id: japanese.php,v 1.11 2004/07/12 04:18:42 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'EUC-JP';
$lang['applocale'] = 'ja_JP';
$lang['appdbencoding'] = 'EUC_JP';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = '&#12424;&#12358;&#12371;&#12381;phpPgAdmin&#12408;&#12290;';
diff --git a/lang/recoded/mongol.php b/lang/recoded/mongol.php
index 4d16fd11..1f5cc0ba 100644
--- a/lang/recoded/mongol.php
+++ b/lang/recoded/mongol.php
@@ -4,7 +4,7 @@
* Mongolian language file for phpPgAdmin.
* @maintainer Erdenemandal Bat-Erdene [[email protected]]
*
- * $Id: mongol.php,v 1.1 2004/07/12 01:35:46 chriskl Exp $
+ * $Id: mongol.php,v 1.2 2004/07/12 04:18:42 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-5';
$lang['applocale'] = 'mn_MN';
$lang['appdbencoding'] = 'ISO_8859_5';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'phpPgAdmin-&#1060; &#1076;&#1057;&#1079;&#1076;&#1057;&#1066; &#1069;&#1071;&#1074;&#1065;&#1068;&#1070;&#1071; &#1077;&#1077;.';
diff --git a/lang/recoded/polish.php b/lang/recoded/polish.php
index 8de889e9..b4ed8a14 100644
--- a/lang/recoded/polish.php
+++ b/lang/recoded/polish.php
@@ -4,7 +4,7 @@
* Polish language file for WebDB.
* @maintainer Rafal Slubowski [[email protected]]
*
- * $Id: polish.php,v 1.33 2004/06/08 20:18:18 slubek Exp $
+ * $Id: polish.php,v 1.34 2004/07/12 04:18:43 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-2';
$lang['applocale'] = 'pl_PL';
$lang['appdbencoding'] = 'LATIN2';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'Witaj w phpPgAdmin.';
diff --git a/lang/recoded/portuguese-br.php b/lang/recoded/portuguese-br.php
index a36f61d7..2c74f2e8 100644
--- a/lang/recoded/portuguese-br.php
+++ b/lang/recoded/portuguese-br.php
@@ -4,7 +4,7 @@
* Brazilian Portuguese language file for phpPgAdmin.
* @maintainer &Acirc;ngelo Marcos Rigo ([email protected])
*
- * $Id: portuguese-br.php,v 1.4 2003/09/17 17:04:13 soranzo Exp $
+ * $Id: portuguese-br.php,v 1.5 2004/07/12 04:18:43 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'pt_BR';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'Bem-vindo ao phpPgAdmin.';
diff --git a/lang/recoded/russian.php b/lang/recoded/russian.php
index ac58d081..d0f12b10 100644
--- a/lang/recoded/russian.php
+++ b/lang/recoded/russian.php
@@ -4,7 +4,7 @@
* Russian KOI8 language file for phpPgAdmin.
* @maintainer Alexander Khodorivsky [[email protected]]
*
- * $Id: russian.php,v 1.8 2004/05/31 01:26:14 chriskl Exp $
+ * $Id: russian.php,v 1.9 2004/07/12 04:18:43 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'KOI8-R';
$lang['applocale'] = 'ru_RU';
$lang['appdbencoding'] = 'KOI8';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = '&#1044;&#1086;&#1073;&#1088;&#1086; &#1087;&#1086;&#1078;&#1072;&#1083;&#1086;&#1074;&#1072;&#1090;&#1100; &#1074; phpPgAdmin.';
diff --git a/lang/recoded/slovak.php b/lang/recoded/slovak.php
index f35853d9..8c60dc65 100644
--- a/lang/recoded/slovak.php
+++ b/lang/recoded/slovak.php
@@ -10,6 +10,7 @@
$lang['appcharset'] = 'UTF-8';
$lang['applocale'] = 'sk_SK';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'Vitaje vo phpPgAdmin-e.';
diff --git a/lang/recoded/spanish.php b/lang/recoded/spanish.php
index 17b8dc0c..728ea314 100644
--- a/lang/recoded/spanish.php
+++ b/lang/recoded/spanish.php
@@ -4,7 +4,7 @@
* Spanish language file for phpPgAdmin.
* @maintainer Mart&iacute;n Marqu&eacute;s ([email protected])
*
- * $Id: spanish.php,v 1.25 2004/06/29 01:05:52 chriskl Exp $
+ * $Id: spanish.php,v 1.26 2004/07/12 04:18:43 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'es_ES';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Bienvenido
$lang['strintro'] = 'Bienvenido a phpPgAdmin.';
diff --git a/lang/recoded/swedish.php b/lang/recoded/swedish.php
index ba13dad5..79d5e8e3 100644
--- a/lang/recoded/swedish.php
+++ b/lang/recoded/swedish.php
@@ -2,10 +2,10 @@
/**
* Swedish language file for phpPgAdmin.
- * maintainer S. Malmqvist <[email protected]>
+ * maintainer S. Malmqvist &lt;[email protected]&gt;
* Due to lack of SQL knowledge som translations may be wrong, mail me the correct one and ill fix it
*
- * $Id: swedish.php,v 1.7 2004/01/13 00:27:29 chriskl Exp $
+ * $Id: swedish.php,v 1.8 2004/07/12 04:18:44 chriskl Exp $
*/
// Language and character set
@@ -13,6 +13,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'sv_SE';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'V&auml;lkommen till phpPgAdmin.';
@@ -41,8 +42,8 @@
$lang['strdropped'] = 'Borttagen';
$lang['strnull'] = 'Ingenting';
$lang['strnotnull'] = 'Inte Ingenting';
- $lang['strfirst'] = '<< F&ouml;rsta';
- $lang['strlast'] = 'Sista >>';
+ $lang['strfirst'] = '&lt;&lt; F&ouml;rsta';
+ $lang['strlast'] = 'Sista &gt;&gt;';
$lang['strprev'] = 'F&ouml;reg&aring;ende';
$lang['strfailed'] = 'Misslyckades';
$lang['strnext'] = 'N&auml;sta';
diff --git a/lang/recoded/turkish.php b/lang/recoded/turkish.php
index 6fea6e6f..586930ca 100644
--- a/lang/recoded/turkish.php
+++ b/lang/recoded/turkish.php
@@ -4,7 +4,7 @@
* Turkish language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: turkish.php,v 1.9 2004/05/23 02:52:50 chriskl Exp $
+ * $Id: turkish.php,v 1.10 2004/07/12 04:18:44 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-9';
$lang['applocale'] = 'tr_TR';
$lang['appdbencoding'] = 'LATIN5';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'phpPgAdmin\'e ho&#351;geldiniz.';
diff --git a/lang/russian.php b/lang/russian.php
index 5c886711..9069e169 100644
--- a/lang/russian.php
+++ b/lang/russian.php
@@ -4,7 +4,7 @@
* Russian KOI8 language file for phpPgAdmin.
* @maintainer Alexander Khodorivsky [[email protected]]
*
- * $Id: russian.php,v 1.8 2004/05/31 01:26:14 chriskl Exp $
+ * $Id: russian.php,v 1.9 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'KOI8-R';
$lang['applocale'] = 'ru_RU';
$lang['appdbencoding'] = 'KOI8';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = '����� ���������� � phpPgAdmin.';
@@ -599,4 +600,4 @@
$lang['strtimefmt'] = ' j-m-Y g:i';
$lang['strhelp'] = '������';
-?> \ No newline at end of file
+?>
diff --git a/lang/slovak.php b/lang/slovak.php
index 08ced4c8..d13f481f 100644
--- a/lang/slovak.php
+++ b/lang/slovak.php
@@ -10,6 +10,7 @@
$lang['appcharset'] = 'UTF-8';
$lang['applocale'] = 'sk_SK';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'Vitaje vo phpPgAdmin-e.';
diff --git a/lang/spanish.php b/lang/spanish.php
index 1319463a..89468aee 100644
--- a/lang/spanish.php
+++ b/lang/spanish.php
@@ -4,7 +4,7 @@
* Spanish language file for phpPgAdmin.
* @maintainer Mart�n Marqu�s ([email protected])
*
- * $Id: spanish.php,v 1.25 2004/06/29 01:05:52 chriskl Exp $
+ * $Id: spanish.php,v 1.26 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'es_ES';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Bienvenido
$lang['strintro'] = 'Bienvenido a phpPgAdmin.';
diff --git a/lang/swedish.php b/lang/swedish.php
index 1870f85c..04ffc0a2 100644
--- a/lang/swedish.php
+++ b/lang/swedish.php
@@ -5,7 +5,7 @@
* maintainer S. Malmqvist <[email protected]>
* Due to lack of SQL knowledge som translations may be wrong, mail me the correct one and ill fix it
*
- * $Id: swedish.php,v 1.7 2004/01/13 00:27:29 chriskl Exp $
+ * $Id: swedish.php,v 1.8 2004/07/12 04:18:41 chriskl Exp $
*/
// Language and character set
@@ -13,6 +13,7 @@
$lang['appcharset'] = 'ISO-8859-1';
$lang['applocale'] = 'sv_SE';
$lang['appdbencoding'] = 'LATIN1';
+ $lang['applangdir'] = 'ltr';
// Welcome
$lang['strintro'] = 'V�lkommen till phpPgAdmin.';
diff --git a/lang/turkish.php b/lang/turkish.php
index 2b351728..c0611343 100644
--- a/lang/turkish.php
+++ b/lang/turkish.php
@@ -4,7 +4,7 @@
* Turkish language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: turkish.php,v 1.9 2004/05/23 02:52:50 chriskl Exp $
+ * $Id: turkish.php,v 1.10 2004/07/12 04:18:42 chriskl Exp $
*/
// Language and character set
@@ -12,6 +12,7 @@
$lang['appcharset'] = 'ISO-8859-9';
$lang['applocale'] = 'tr_TR';
$lang['appdbencoding'] = 'LATIN5';
+ $lang['applangdir'] = 'ltr';
// Basic strings
$lang['strintro'] = 'phpPgAdmin\'e ho�geldiniz.';
diff --git a/themes/default/global.css b/themes/default/global.css
index 4e73a842..e5be5c08 100644
--- a/themes/default/global.css
+++ b/themes/default/global.css
@@ -1,7 +1,7 @@
/**
* Default style sheet
*
- * $Id: global.css,v 1.20 2004/07/07 14:48:19 soranzo Exp $
+ * $Id: global.css,v 1.21 2004/07/12 04:18:44 chriskl Exp $
*/
/** ELEMENTS */
@@ -13,7 +13,6 @@ body, td
font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
padding: 0px;
font-size: smaller; /*0.8em;*/
- text-align: left;
}
body.topbar
@@ -23,7 +22,6 @@ body.topbar
padding: 0px;
font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
font-size: smaller; /* 1em; */
- text-align: left;
border-bottom: 2px solid #000000;
}
@@ -35,8 +33,8 @@ body.browser
padding: 0px;
font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
font-size: smaller; /*1em;*/
- text-align: left;
border-right: 1px dashed #c0c0c0;
+ text-align: left;
}
body.bottombar {
@@ -46,7 +44,6 @@ body.bottombar {
font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
font-size: smaller; /*1em;*/
text-align: left;
- border-top: 1px solid #000000;
}
p.message {
diff --git a/topbar.php b/topbar.php
index f03351e5..c9a9d06d 100755
--- a/topbar.php
+++ b/topbar.php
@@ -3,7 +3,7 @@
/**
* Top menu for phpPgAdmin
*
- * $Id: topbar.php,v 1.24 2004/07/04 15:02:35 chriskl Exp $
+ * $Id: topbar.php,v 1.25 2004/07/12 04:18:40 chriskl Exp $
*/
// Include application functions
@@ -16,7 +16,7 @@
$misc->printBody('topbar');
$dbselected = isset($_REQUEST['database']) ? '&database=' . $_REQUEST['database'] : '';
?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="topbar">
+<table width="100%" border="0" cellspacing="0" cellpadding="0" class="topbar" dir="ltr">
<tr>
<td width="211" rowspan="2"><a href="intro.php" target="detail"><img style="border: none" src="images/themes/<?php echo $conf['theme'] ?>/title.png" width="211" height="50" alt="<?php echo htmlspecialchars($appName) ?>" title="<?php echo htmlspecialchars($appName) ?>" /></a></td>
<td class="topbar" width="5" rowspan="2">&nbsp;</td>