Finger pointer for lightbulbs! :-)

This commit is contained in:
Alexander M. Turek
2005-01-18 22:31:39 +00:00
parent c505e1c338
commit 542883b8b0
3 changed files with 7 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ $Source$
- BerkeleyDB version information.
* tbl_properties_operations.php, libraries/storage_engines.lib.php:
Auto-generated engine selection dropdown.
* header.inc.php, libraries/common.lib.php: Finger pointer for lightbulbs.
2005-01-17 Michael Keck <mkkeck@users.sourceforge.net>
* libraries/common.lib.php: modified function for

View File

@@ -61,6 +61,11 @@ if (empty($GLOBALS['is_header_sent'])) {
&& typeof(parent.document.title) == 'string') {
parent.document.title = '<?php echo $title; ?>';
}
document.write('<style type="text/css">');
document.write('img.lightbulb { cursor: pointer; }');
document.write('</style>');
<?php
// Add some javascript instructions if required
if (isset($js_to_run) && $js_to_run == 'functions.js') {

View File

@@ -556,7 +556,7 @@ if ($is_minimum_common == FALSE) {
*/
function PMA_showHint($hint_message)
{
return '<img src="' . $GLOBALS['pmaThemeImage'] . 'b_tipp.png" width="16" height="16" border="0" alt="' . $hint_message . '" title="' . $hint_message . '" align="middle" onclick="alert(\'' . PMA_jsFormat($hint_message, FALSE) . '\');" />';
return '<img class="lightbulb" src="' . $GLOBALS['pmaThemeImage'] . 'b_tipp.png" width="16" height="16" border="0" alt="' . $hint_message . '" title="' . $hint_message . '" align="middle" onclick="alert(\'' . PMA_jsFormat($hint_message, FALSE) . '\');" />';
}
/**