From cfbb67ea8003f0a1bc0bfa18400823a2a981712e Mon Sep 17 00:00:00 2001 From: slubek Date: Sat, 31 May 2003 21:50:08 +0000 Subject: [PATCH] Started adding support for local documentation --- conf/config.inc.php-dist | 8 +++++++- intro.php | 8 +++++++- lang/english.php | 3 ++- lang/polish.php | 3 ++- lang/recoded/english.php | 3 ++- lang/recoded/polish.php | 3 ++- 6 files changed, 22 insertions(+), 6 deletions(-) diff --git a/conf/config.inc.php-dist b/conf/config.inc.php-dist index 54751848..897747cd 100644 --- a/conf/config.inc.php-dist +++ b/conf/config.inc.php-dist @@ -4,7 +4,7 @@ * Central phpPgAdmin configuration. As a user you may modify the * settings here for your particular configuration. * - * $Id: config.inc.php-dist,v 1.23 2003/05/22 01:30:32 chriskl Exp $ + * $Id: config.inc.php-dist,v 1.24 2003/05/31 21:50:08 slubek Exp $ */ // An example server. Create as many of these as you wish, @@ -61,6 +61,12 @@ // Send XHTML headers? Unless debugging, it's best to leave this off $conf['use_xhtml'] = false; + // Where is local documentation of PostgreSQL? + // /doc/ should be defined as an alias in httpd.conf - you shouldn't + // allow http users accessing your /usr filesystem directly, via + // file:// method! + //$conf['docdir'] = '/doc/postgresql-7.2.1/html'; + /***************************************** * Don't modify anything below this line * *****************************************/ diff --git a/intro.php b/intro.php index acb53480..e0f6383f 100755 --- a/intro.php +++ b/intro.php @@ -3,7 +3,7 @@ /** * Intro screen * - * $Id: intro.php,v 1.7 2003/05/21 03:41:02 chriskl Exp $ + * $Id: intro.php,v 1.8 2003/05/31 21:50:09 slubek Exp $ */ // Include application functions (no db conn) @@ -21,6 +21,12 @@ diff --git a/lang/english.php b/lang/english.php index dbe3e10f..b2548015 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.81 2003/05/22 14:04:31 chriskl Exp $ + * $Id: english.php,v 1.82 2003/05/31 21:50:08 slubek Exp $ */ // Language and character set @@ -17,6 +17,7 @@ $lang['strppahome'] = 'phpPgAdmin Homepage'; $lang['strpgsqlhome'] = 'PostgreSQL Homepage'; $lang['strpgsqlhome_url'] = 'http://www.postgresql.org/'; + $lang['strlocaldocs'] = 'PostgreSQL Documentation (local)'; $lang['strreportbug'] = 'Report a Bug'; $lang['strviewfaq'] = 'View FAQ'; $lang['strviewfaq_url'] = 'http://phppgadmin.sourceforge.net/?page=faq'; diff --git a/lang/polish.php b/lang/polish.php index 1e127056..0f6df439 100644 --- a/lang/polish.php +++ b/lang/polish.php @@ -4,7 +4,7 @@ * Polish language file for WebDB. * @maintainer Rafal Slubowski [slubek@users.sourceforge.net] * - * $Id: polish.php,v 1.23 2003/05/30 22:14:06 slubek Exp $ + * $Id: polish.php,v 1.24 2003/05/31 21:50:09 slubek Exp $ */ // Language and character set @@ -17,6 +17,7 @@ $lang['strppahome'] = 'Strona domowa phpPgAdmin'; $lang['strpgsqlhome'] = 'Strona domowa PostgreSQL'; $lang['strpgsqlhome_url'] = 'http://www.postgresql.org/'; + $lang['strlocaldocs'] = 'Dokumentacja PostgreSQL (lokalna)'; $lang['strreportbug'] = 'Zg³o¶ raport o b³êdzie'; $lang['strviewfaq'] = 'Przejrzyj FAQ'; $lang['strviewfaq_url'] = 'http://phppgadmin.sourceforge.net/?page=faq'; diff --git a/lang/recoded/english.php b/lang/recoded/english.php index 2f87a9b8..aefecad0 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.33 2003/05/22 14:04:32 chriskl Exp $ + * $Id: english.php,v 1.34 2003/05/31 21:50:09 slubek Exp $ */ // Language and character set @@ -17,6 +17,7 @@ $lang['strppahome'] = 'phpPgAdmin Homepage'; $lang['strpgsqlhome'] = 'PostgreSQL Homepage'; $lang['strpgsqlhome_url'] = 'http://www.postgresql.org/'; + $lang['strlocaldocs'] = 'PostgreSQL Documentation (local)'; $lang['strreportbug'] = 'Report a Bug'; $lang['strviewfaq'] = 'View FAQ'; $lang['strviewfaq_url'] = 'http://phppgadmin.sourceforge.net/?page=faq'; diff --git a/lang/recoded/polish.php b/lang/recoded/polish.php index 8501b1c4..bf6a6071 100644 --- a/lang/recoded/polish.php +++ b/lang/recoded/polish.php @@ -4,7 +4,7 @@ * Polish language file for WebDB. * @maintainer Rafal Slubowski [slubek@users.sourceforge.net] * - * $Id: polish.php,v 1.16 2003/05/30 22:14:07 slubek Exp $ + * $Id: polish.php,v 1.17 2003/05/31 21:50:09 slubek Exp $ */ // Language and character set @@ -17,6 +17,7 @@ $lang['strppahome'] = 'Strona domowa phpPgAdmin'; $lang['strpgsqlhome'] = 'Strona domowa PostgreSQL'; $lang['strpgsqlhome_url'] = 'http://www.postgresql.org/'; + $lang['strlocaldocs'] = 'Dokumentacja PostgreSQL (lokalna)'; $lang['strreportbug'] = 'Zgłoś raport o błędzie'; $lang['strviewfaq'] = 'Przejrzyj FAQ'; $lang['strviewfaq_url'] = 'http://phppgadmin.sourceforge.net/?page=faq'; -- 2.39.5