Moved some files around and merged from 1.0 branch:
[monitor.git] / www / printbadpcus.php
index 90f6645..500be1f 100644 (file)
@@ -2,12 +2,12 @@
 
 function plc_site_link($site_name) 
 { 
-       return "https://www.planet-lab.org/db/sites/index.php?site_pattern=" .  $site_name;
+       return "https://" . MONITOR_HOSTNAME . "/db/sites/index.php?site_pattern=" .  $site_name;
 }
 
 function pcu_link($pcu) 
 { 
-       return "https://www.planet-lab.org/db/sites/pcu.php?id=" . $pcu['pcu_id']; 
+       return "https://" . MONITOR_HOSTNAME . "/db/sites/pcu.php?id=" . $pcu['pcu_id']; 
 }
 
 function pcu_site($pcu)
@@ -147,7 +147,7 @@ function get_category_link($category,$header)
        return "<a href='printbadpcus.php?category=$category'>$header</a>"; 
 }
 
-include 'soltesz.php';
+include 'database.php';
 $p = new Pickle();
 $findbad = $p->load("findbadpcus");
 $findbadpcus = array_keys($findbad['nodes']);