missing title tags
This commit is contained in:
@@ -12,6 +12,8 @@ $Source$
|
|||||||
libraries/transformations.lib.php: new function PMA_securePATH()
|
libraries/transformations.lib.php: new function PMA_securePATH()
|
||||||
* main.php, tbl_properties_structure.php: theme "none" should be "original",
|
* main.php, tbl_properties_structure.php: theme "none" should be "original",
|
||||||
thanks to Michael Keck (mkkeck)
|
thanks to Michael Keck (mkkeck)
|
||||||
|
* left.php, tbl_properties.inc.php, librairies/common.lib.php:
|
||||||
|
missing title tags
|
||||||
|
|
||||||
2004-06-15 Michal Čihař <michal@cihar.com>
|
2004-06-15 Michal Čihař <michal@cihar.com>
|
||||||
* lang/czech: Updated.
|
* lang/czech: Updated.
|
||||||
|
@@ -461,39 +461,6 @@ if ($is_minimum_common == FALSE) {
|
|||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
/*
|
|
||||||
function PMA_showMySQLDocu($chapter, $link)
|
|
||||||
{
|
|
||||||
if (!empty($GLOBALS['cfg']['MySQLManualBase'])) {
|
|
||||||
if (!empty($GLOBALS['cfg']['MySQLManualType'])) {
|
|
||||||
switch ($GLOBALS['cfg']['MySQLManualType']) {
|
|
||||||
case 'old':
|
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
|
||||||
case 'chapters':
|
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/manual_' . $chapter . '.html#' . $link . '" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
|
||||||
case 'big':
|
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '#' . $link . '" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
|
||||||
case 'none':
|
|
||||||
return '';
|
|
||||||
case 'searchable':
|
|
||||||
default:
|
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// no Type defined, show the old one
|
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// no URL defined
|
|
||||||
if (!empty($GLOBALS['cfg']['ManualBaseShort'])) {
|
|
||||||
// the old configuration
|
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
|
||||||
} else {
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
// 2004-05-04: replaced with a modified function from Michael Keck (mkkeck)
|
// 2004-05-04: replaced with a modified function from Michael Keck (mkkeck)
|
||||||
function PMA_showMySQLDocu($chapter, $link)
|
function PMA_showMySQLDocu($chapter, $link)
|
||||||
{
|
{
|
||||||
@@ -503,18 +470,18 @@ if ($is_minimum_common == FALSE) {
|
|||||||
switch ($GLOBALS['cfg']['MySQLManualType']) {
|
switch ($GLOBALS['cfg']['MySQLManualType']) {
|
||||||
case 'old':
|
case 'old':
|
||||||
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
||||||
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" title="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
||||||
}else{
|
}else{
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
||||||
}
|
}
|
||||||
case 'chapters':
|
case 'chapters':
|
||||||
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
||||||
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/manual_' . $chapter . '.html#' . $link . '" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/manual_' . $chapter . '.html#' . $link . '" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" title="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
||||||
} else {
|
} else {
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/manual_' . $chapter . '.html#' . $link . '" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]'; }
|
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/manual_' . $chapter . '.html#' . $link . '" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]'; }
|
||||||
case 'big':
|
case 'big':
|
||||||
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
||||||
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '#' . $link . '" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '#' . $link . '" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" title="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
||||||
} else {
|
} else {
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '#' . $link . '" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '#' . $link . '" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
||||||
}
|
}
|
||||||
@@ -523,7 +490,7 @@ if ($is_minimum_common == FALSE) {
|
|||||||
case 'searchable':
|
case 'searchable':
|
||||||
default:
|
default:
|
||||||
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
||||||
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link . '.html" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link . '.html" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" title="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
||||||
} else {
|
} else {
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
||||||
}
|
}
|
||||||
@@ -531,7 +498,7 @@ if ($is_minimum_common == FALSE) {
|
|||||||
} else {
|
} else {
|
||||||
// no Type defined, show the old one
|
// no Type defined, show the old one
|
||||||
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
||||||
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" title="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
||||||
} else {
|
} else {
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
||||||
}
|
}
|
||||||
@@ -541,7 +508,7 @@ if ($is_minimum_common == FALSE) {
|
|||||||
if (!empty($GLOBALS['cfg']['ManualBaseShort'])) {
|
if (!empty($GLOBALS['cfg']['ManualBaseShort'])) {
|
||||||
// the old configuration
|
// the old configuration
|
||||||
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
|
||||||
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
return '<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc"><img src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" border="0" alt="' . $GLOBALS['strDocu'] . '" title="' . $GLOBALS['strDocu'] . '" hspace="2" align="absmiddle"></a>';
|
||||||
} else {
|
} else {
|
||||||
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
return '[<a href="' . $GLOBALS['cfg']['MySQLManualBase'] . '/' . $link[0] . '/' . $link[1] . '/' . $link . '.html" target="mysql_doc">' . $GLOBALS['strDocu'] . '</a>]';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user