Thread: SVN Commit by dpage: r4948 - in trunk/www: . advocacy development docs download include screenshots support translation
SVN Commit by dpage: r4948 - in trunk/www: . advocacy development docs download include screenshots support translation
From
svn@pgadmin.org
Date:
Author: dpage Date: 2006-01-22 10:45:52 +0000 (Sun, 22 Jan 2006) New Revision: 4948 Modified: trunk/www/advocacy/index.php trunk/www/advocacy/information.php trunk/www/advocacy/strategy.php trunk/www/contribute.php trunk/www/development/changelog.php trunk/www/development/index.php trunk/www/development/list.php trunk/www/development/svn.php trunk/www/development/team.php trunk/www/development/todo.php trunk/www/docs/index.php trunk/www/download/adminpacks.php trunk/www/download/debian.php trunk/www/download/freebsd.php trunk/www/download/index.php trunk/www/download/languages.php trunk/www/download/macosx.php trunk/www/download/rpm.php trunk/www/download/slackware.php trunk/www/download/snapshots.php trunk/www/download/source.php trunk/www/download/windows.php trunk/www/features.php trunk/www/include/archives.php trunk/www/include/doc.php trunk/www/include/page.php trunk/www/include/session.php trunk/www/index.php trunk/www/licence.php trunk/www/news.php trunk/www/screenshots/data.php trunk/www/screenshots/documentation.php trunk/www/screenshots/index.php trunk/www/screenshots/mb_i18n.php trunk/www/screenshots/serverstatus.php trunk/www/screenshots/ui.php trunk/www/support/faq.php trunk/www/support/index.php trunk/www/support/issues.php trunk/www/support/list.php trunk/www/translation/howto.php trunk/www/translation/index.php trunk/www/translation/status.php trunk/www/translation/update.php Log: Change $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] to $_SERVER["DOCUMENT_ROOT"] Fix a couple of other typos [Miha Radej] Modified: trunk/www/advocacy/index.php =================================================================== --- trunk/www/advocacy/index.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/advocacy/index.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Advocacy - Introduction"); $PAGE_CONTENT = ' Modified: trunk/www/advocacy/information.php =================================================================== --- trunk/www/advocacy/information.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/advocacy/information.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Advocacy - Information"); $PAGE_CONTENT = ' Modified: trunk/www/advocacy/strategy.php =================================================================== --- trunk/www/advocacy/strategy.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/advocacy/strategy.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Advocacy - Strategy"); $PAGE_CONTENT = ' Modified: trunk/www/contribute.php =================================================================== --- trunk/www/contribute.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/contribute.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: How to contribute"); $PAGE_CONTENT = ' Modified: trunk/www/development/changelog.php =================================================================== --- trunk/www/development/changelog.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/development/changelog.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Development - Change log"); $PAGE_CONTENT = ' Modified: trunk/www/development/index.php =================================================================== --- trunk/www/development/index.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/development/index.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Development - Introduction"); $PAGE_CONTENT = ' Modified: trunk/www/development/list.php =================================================================== --- trunk/www/development/list.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/development/list.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Development - Mailing list"); $PAGE_CONTENT = ' Modified: trunk/www/development/svn.php =================================================================== --- trunk/www/development/svn.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/development/svn.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Development - SVN access"); $PAGE_CONTENT = ' Modified: trunk/www/development/team.php =================================================================== --- trunk/www/development/team.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/development/team.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Development - Development team"); $PAGE_CONTENT = ' Modified: trunk/www/development/todo.php =================================================================== --- trunk/www/development/todo.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/development/todo.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Development - TODO list"); $PAGE_CONTENT = ' Modified: trunk/www/docs/index.php =================================================================== --- trunk/www/docs/index.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/docs/index.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Documentation"); $PAGE_CONTENT = ' Modified: trunk/www/download/adminpacks.php =================================================================== --- trunk/www/download/adminpacks.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/adminpacks.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - Admin packs"); $PAGE_CONTENT = ' Modified: trunk/www/download/debian.php =================================================================== --- trunk/www/download/debian.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/debian.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - Debian"); $PAGE_CONTENT = ' Modified: trunk/www/download/freebsd.php =================================================================== --- trunk/www/download/freebsd.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/freebsd.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - FreeBSD"); $PAGE_CONTENT = ' Modified: trunk/www/download/index.php =================================================================== --- trunk/www/download/index.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/index.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - Introduction"); $PAGE_CONTENT = ' Modified: trunk/www/download/languages.php =================================================================== --- trunk/www/download/languages.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/languages.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - Languages"); $PAGE_CONTENT = ' Modified: trunk/www/download/macosx.php =================================================================== --- trunk/www/download/macosx.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/macosx.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - Mac OSX"); $PAGE_CONTENT = ' Modified: trunk/www/download/rpm.php =================================================================== --- trunk/www/download/rpm.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/rpm.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - RPM"); $PAGE_CONTENT = ' Modified: trunk/www/download/slackware.php =================================================================== --- trunk/www/download/slackware.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/slackware.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - Slackware"); $PAGE_CONTENT = ' Modified: trunk/www/download/snapshots.php =================================================================== --- trunk/www/download/snapshots.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/snapshots.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - Snapshots"); $PAGE_CONTENT = ' Modified: trunk/www/download/source.php =================================================================== --- trunk/www/download/source.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/source.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - Source code"); $PAGE_CONTENT = ' Modified: trunk/www/download/windows.php =================================================================== --- trunk/www/download/windows.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/download/windows.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Download - Windows ™"); $PAGE_CONTENT = ' Modified: trunk/www/features.php =================================================================== --- trunk/www/features.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/features.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Feature"); $PAGE_CONTENT = ' Modified: trunk/www/include/archives.php =================================================================== --- trunk/www/include/archives.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/include/archives.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -require $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +require $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; if (isset($_GET['list'])) { Modified: trunk/www/include/doc.php =================================================================== --- trunk/www/include/doc.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/include/doc.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -require $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +require $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; // If this is a docpage, then generate our own content and title. if (isset($_GET['docset'])) Modified: trunk/www/include/page.php =================================================================== --- trunk/www/include/page.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/include/page.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,7 +1,7 @@ <?php // Startup the session and setup the gettext stuff -require $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/session.php"; +require $_SERVER['DOCUMENT_ROOT'] . "/include/session.php"; function www_current_menu_section($SECTION) { Modified: trunk/www/include/session.php =================================================================== --- trunk/www/include/session.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/include/session.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,7 +1,7 @@ <?php session_start(); -if (!isset($_SESSION['xCMS'])) +if (!isset($_SESSION['xPGA'])) { $_SESSION['xPGA']['active'] = 1; $_SESSION['xPGA']['hits'] = 1; Modified: trunk/www/index.php =================================================================== --- trunk/www/index.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/index.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: PostgreSQL administration and management tools"); $PAGE_CONTENT = ' Modified: trunk/www/licence.php =================================================================== --- trunk/www/licence.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/licence.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Licence"); $PAGE_CONTENT = ' Modified: trunk/www/news.php =================================================================== --- trunk/www/news.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/news.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Latest news"); $PAGE_CONTENT = ' Modified: trunk/www/screenshots/data.php =================================================================== --- trunk/www/screenshots/data.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/screenshots/data.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Screenshots - Data"); $PAGE_CONTENT = ' Modified: trunk/www/screenshots/documentation.php =================================================================== --- trunk/www/screenshots/documentation.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/screenshots/documentation.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Screenshots - Documentation"); $PAGE_CONTENT = ' Modified: trunk/www/screenshots/index.php =================================================================== --- trunk/www/screenshots/index.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/screenshots/index.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Screenshots - Introduction"); $PAGE_CONTENT = ' Modified: trunk/www/screenshots/mb_i18n.php =================================================================== --- trunk/www/screenshots/mb_i18n.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/screenshots/mb_i18n.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Screenshots - Multibyte and i18n"); $PAGE_CONTENT = ' Modified: trunk/www/screenshots/serverstatus.php =================================================================== --- trunk/www/screenshots/serverstatus.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/screenshots/serverstatus.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Screenshots - Server status"); $PAGE_CONTENT = ' Modified: trunk/www/screenshots/ui.php =================================================================== --- trunk/www/screenshots/ui.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/screenshots/ui.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Screenshots - User interface"); $PAGE_CONTENT = ' Modified: trunk/www/support/faq.php =================================================================== --- trunk/www/support/faq.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/support/faq.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Support - Frequently Asked Questions"); $PAGE_CONTENT = ' Modified: trunk/www/support/index.php =================================================================== --- trunk/www/support/index.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/support/index.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Support - Introduction"); $PAGE_CONTENT = ' Modified: trunk/www/support/issues.php =================================================================== --- trunk/www/support/issues.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/support/issues.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Support - Known issues"); $PAGE_CONTENT = ' Modified: trunk/www/support/list.php =================================================================== --- trunk/www/support/list.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/support/list.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Support - Mailing list"); $PAGE_CONTENT = ' Modified: trunk/www/translation/howto.php =================================================================== --- trunk/www/translation/howto.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/translation/howto.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Translation - Howto"); $PAGE_CONTENT = ' @@ -18,7 +18,7 @@ <li>' . sprintf(_("Download <a href=\"%s\">poEdit</a> and install it under MS Windows or GNU/Linux."), "http://poedit.sourceforge.net/"). '<br /> </li> - ' . sprintf(_("poEdit is our recommended choice, as it makes it very easy to maintain your translation. An Windowsinstaller is available on the poEdit web site. Alternatively, you may also run <a href=\"%s\">Kbabel</a> which canbe found in many popular Linux distributions."), "http://i18n.kde.org/tools/kbabel/") . '<br /> </li> + ' . sprintf(_("poEdit is our recommended choice, as it makes it very easy to maintain your translation. A Windowsinstaller is available on the poEdit web site. Alternatively, you may also run <a href=\"%s\">Kbabel</a> which canbe found in many popular Linux distributions."), "http://i18n.kde.org/tools/kbabel/") . '<br /> </li> <li>' . sprintf(_("Send us the English and translated names of your language: 'French' and 'Français', 'German'and 'Deutsch', etc. This will allow us to modify pgAdmin's <i>i18n/pgadmin3.lng</i> file to display the languageproperly in the application. We will also create a directory according to your locale canonical name under <i>/usr/share/pgadmin3/i18n</i>(Linux and other Unixes) or <i>C:\\Program Files\\pgAdmin III\\X.Y\\i18n</i> (Windows). Thelist of language codes can be found on the <a href=\"%s\">Debian site</a>. You may also want to check the more detailed<a href=\"%s\">ISO 639.2 Codes for the Representation of Names of Languages</a>."), "http://www.debian.org/international/l10n/po","http://www.loc.gov/standards/iso639-2/englangn.html") . '<br /> </li> Modified: trunk/www/translation/index.php =================================================================== --- trunk/www/translation/index.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/translation/index.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; $PAGE_TITLE = _("pgAdmin III: Translation - Introduction"); $PAGE_CONTENT = ' Modified: trunk/www/translation/status.php =================================================================== --- trunk/www/translation/status.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/translation/status.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/page.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/page.php"; // Translation status caches require_once "../include/po_status.php"; Modified: trunk/www/translation/update.php =================================================================== --- trunk/www/translation/update.php 2006-01-22 09:09:49 UTC (rev 4947) +++ trunk/www/translation/update.php 2006-01-22 10:45:52 UTC (rev 4948) @@ -1,6 +1,6 @@ <?php -include $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] . "/include/po_status.php"; +include $_SERVER['DOCUMENT_ROOT'] . "/include/po_status.php"; $translated = new po_status(); $outofdate = new po_status();