Add link to wiki explaining configuration options.
This commit is contained in:
@@ -10,6 +10,7 @@ $Source$
|
|||||||
documentation when translation exists, this needs to be defined in
|
documentation when translation exists, this needs to be defined in
|
||||||
language file (RFE #1547130).
|
language file (RFE #1547130).
|
||||||
* lang/belarusian_latin-utf-8.inc.php: Fix charset information.
|
* 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ř <michal@cihar.com>
|
2006-08-29 Michal Čihař <michal@cihar.com>
|
||||||
* lang/croatian: Updated, thanks to Renato Pavicic - babalui.
|
* lang/croatian: Updated, thanks to Renato Pavicic - babalui.
|
||||||
|
@@ -206,10 +206,13 @@ echo '<?xml version="1.0" encoding="utf-8"?>' . "\n";
|
|||||||
code:before, code:after {
|
code:before, code:after {
|
||||||
content: '"';
|
content: '"';
|
||||||
}
|
}
|
||||||
a.doc {
|
span.doc {
|
||||||
margin: 0 1em 0 1em;
|
margin: 0 1em 0 1em;
|
||||||
}
|
}
|
||||||
a.doc img {
|
span.doc a {
|
||||||
|
margin: 0 0.1em 0 0.1em;
|
||||||
|
}
|
||||||
|
span.doc a img {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -270,7 +273,21 @@ function version_to_int($version) {
|
|||||||
* @return string HTML link to documentation
|
* @return string HTML link to documentation
|
||||||
*/
|
*/
|
||||||
function get_cfg_doc($anchor) {
|
function get_cfg_doc($anchor) {
|
||||||
return '<a href="../Documentation.html#cfg_' . $anchor . '" target="pma_doc" class="doc"><img class="icon" src="../' . $GLOBALS['cfg']['ThemePath'] . '/original/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" /></a>';
|
/* Link for wiki */
|
||||||
|
$wiki = $anchor;
|
||||||
|
if (strncmp($anchor, 'Servers_', 8) == 0) {
|
||||||
|
$wiki = substr($anchor, 8);
|
||||||
|
}
|
||||||
|
return
|
||||||
|
'<span class="doc">' .
|
||||||
|
'<a href="../Documentation.html#cfg_' . $anchor . '" target="pma_doc" class="doc">' .
|
||||||
|
'<img class="icon" src="../' . $GLOBALS['cfg']['ThemePath'] . '/original/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" />' .
|
||||||
|
'</a>' .
|
||||||
|
'<a href="http://wiki.cihar.com/pma/Config#' . $wiki . '" target="pma_doc" class="doc">' .
|
||||||
|
'<img class="icon" src="../' . $GLOBALS['cfg']['ThemePath'] . '/original/img/b_info.png" width="11" height="11" alt="Wiki" title="Wiki" />' .
|
||||||
|
'</a>' .
|
||||||
|
'</span>'
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user