lib/Weathermap/Integrations/Cacti/cacti88-plugin-common.php
<?php
function wmGenerateFooterLinks()
{
global $colors;
print '<br />';
html_start_box(
"<center><a target=\"_blank\" class=\"linkOverDark\" href=\"docs/index.html\">Local Documentation</a> -- "
. "<a target=\"_blank\" class=\"linkOverDark\" href=\"http://www.network-weathermap.com/\">Weathermap"
. " Website</a> -- <a target=\"_target\" class=\"linkOverDark\" "
. "href=\"weathermap-cacti-plugin-editor.php?plug=1\">Weathermap Editor</a> -- "
. "This is version " . WEATHERMAP_VERSION . "</center>",
"78%",
$colors["header"],
"2",
"center",
""
);
html_end_box();
}
function wmCheckTablesExist()
{
// since it's apparently becoming a more common issue, just check that the tables
// actually exist in the database!
$queryrows = db_fetch_assoc("show table status like 'weathermap%'");
if (count($queryrows) == 0) {
return false;
}
return true;
}