diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-10-05 16:59:02 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-10-05 16:59:02 +0000 |
| commit | 062537835fa9c5abc662e56420dff80edb13d91d (patch) | |
| tree | 6e94e638f766a8b2b409335aee6e2ae6736c4b03 /frontends/php/include/js.inc.php | |
| parent | a3ee144e22596c3aea1fab644ed4c93e4466608a (diff) | |
| download | zabbix-062537835fa9c5abc662e56420dff80edb13d91d.tar.gz zabbix-062537835fa9c5abc662e56420dff80edb13d91d.tar.xz zabbix-062537835fa9c5abc662e56420dff80edb13d91d.zip | |
- [DEV-1] added new graph navigation-bar (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@4839 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/js.inc.php')
| -rw-r--r-- | frontends/php/include/js.inc.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/frontends/php/include/js.inc.php b/frontends/php/include/js.inc.php index 3e8b9e46..04c04bf0 100644 --- a/frontends/php/include/js.inc.php +++ b/frontends/php/include/js.inc.php @@ -53,13 +53,15 @@ function zbx_add_post_js($script) $ZBX_PAGE_POST_JS[] = $script; } -function insert_sizeable_graph($url){ - echo '<script language="JavaScript" type="text/javascript"> - <!-- - insert_sizeable_graph('.zbx_jsvalue($url).'); - --> - </script>'; +function get_js_sizeable_graph($url){ +return ' + <script language="JavaScript" type="text/javascript"> + <!-- + insert_sizeable_graph('.zbx_jsvalue($url).'); + --> + </script> + '; } |
