summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/classes/chart.inc.php2
-rw-r--r--frontends/php/include/js.inc.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/classes/chart.inc.php b/frontends/php/include/classes/chart.inc.php
index bf6196ae..d48d7a46 100644
--- a/frontends/php/include/classes/chart.inc.php
+++ b/frontends/php/include/classes/chart.inc.php
@@ -667,7 +667,7 @@ class Chart extends Graph{
}
$p = $this->to_time - $this->from_time; // graph size in time
- $z = $p - $this->from_time % $p; //<strong></strong>
+ $z = $p - $this->from_time % $p; // graphsize - mod(from_time,p) for Oracle...
$x = $this->sizeX; // graph size in px
for($i=0; $i < $this->num; $i++){
diff --git a/frontends/php/include/js.inc.php b/frontends/php/include/js.inc.php
index f6d527f5..e7f27d43 100644
--- a/frontends/php/include/js.inc.php
+++ b/frontends/php/include/js.inc.php
@@ -112,7 +112,7 @@ function insert_showhint_javascript(){
if(defined('SHOW_HINT_SCRIPT_INSERTTED')) return;
define('SHOW_HINT_SCRIPT_INSERTTED', 1);
- echo '<script type"text/javascript" src="js/showhint.js"></script>';
+ echo '<script type="text/javascript" src="js/showhint.js"></script>';
}
function Redirect($url,$timeout=null){