From 081e4be12877b6944d165cf448551ad2e5635fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 30 Aug 2006 15:02:57 +0000 Subject: [PATCH] Add link to wiki explaining configuration options. --- ChangeLog | 1 + scripts/setup.php | 23 ++++++++++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6eee86ba1..dd2c996c7 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $Source$ documentation when translation exists, this needs to be defined in language file (RFE #1547130). * lang/belarusian_latin-utf-8.inc.php: Fix charset information. + * scripts/setup.php: Add link to wiki explaining configuration options. 2006-08-29 Michal Čihař * lang/croatian: Updated, thanks to Renato Pavicic - babalui. diff --git a/scripts/setup.php b/scripts/setup.php index bb07d2e16..ac5aeeac7 100644 --- a/scripts/setup.php +++ b/scripts/setup.php @@ -206,10 +206,13 @@ echo '' . "\n"; code:before, code:after { content: '"'; } - a.doc { + span.doc { margin: 0 1em 0 1em; } - a.doc img { + span.doc a { + margin: 0 0.1em 0 0.1em; + } + span.doc a img { border: none; } @@ -270,7 +273,21 @@ function version_to_int($version) { * @return string HTML link to documentation */ function get_cfg_doc($anchor) { - return 'Documentation'; + /* Link for wiki */ + $wiki = $anchor; + if (strncmp($anchor, 'Servers_', 8) == 0) { + $wiki = substr($anchor, 8); + } + return + '' . + '' . + 'Documentation' . + '' . + '' . + 'Wiki' . + '' . + '' + ; } /**