diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-03-08 12:11:04 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-03-08 12:11:04 +0000 |
commit | 3ad0bb541ac4861644ed56bd349a43e58ab189a3 (patch) | |
tree | d10d4e38e0def03f6063bd3bdf09762b2bacf6ca /src/tools.php | |
parent | b08ae56b53938333b051b91b0a1f912428864950 (diff) | |
download | zetacomponents-graph-3ad0bb541ac4861644ed56bd349a43e58ab189a3.zip zetacomponents-graph-3ad0bb541ac4861644ed56bd349a43e58ab189a3.tar.gz |
- Actually use link style property from SVG driver
Diffstat (limited to 'src/tools.php')
-rw-r--r-- | src/tools.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools.php b/src/tools.php index 690a47f..47c53da 100644 --- a/src/tools.php +++ b/src/tools.php @@ -144,7 +144,7 @@ class ezcGraphTools { $element = $xpath->query( '//*[@id = \'' . $id . '\']' )->item( 0 ); - $element->setAttribute( 'style', $element->getAttribute( 'style' ) . ' cursor: pointer;' ); + $element->setAttribute( 'style', $element->getAttribute( 'style' ) . ' cursor: ' . $chart->driver->options->linkCursor . ';' ); $element->setAttribute( 'onclick', "top.location = '{$url}'" ); } } @@ -164,7 +164,7 @@ class ezcGraphTools { $element = $xpath->query( '//*[@id = \'' . $id . '\']' )->item( 0 ); - $element->setAttribute( 'style', $element->getAttribute( 'style' ) . ' cursor: pointer;' ); + $element->setAttribute( 'style', $element->getAttribute( 'style' ) . ' cursor: ' . $chart->driver->options->linkCursor . ';' ); $element->setAttribute( 'onclick', "top.location = '{$url}'" ); } } |