New upstream version 0.6.27

This commit is contained in:
geos_one
2025-08-06 18:11:51 +02:00
parent a6b4158f1f
commit 56a986c0ba
563 changed files with 45811 additions and 35282 deletions

View File

@@ -1,43 +1,47 @@
<?php
if($this->is_authorized == FALSE){
?>
if ($this->is_authorized == false) {
?>
<div data-role="content">
<ul data-role="listview" data-inset="true" data-theme="e">
<li><strong>Alert:&nbsp;</strong><?php echo Kohana::lang('error.not_authorized')?></li>
<li><strong>Alert:&nbsp;</strong><?php echo Kohana::lang('error.not_authorized'); ?></li>
</ul>
</div><!-- /content -->
<?php
return;
<?php
return;
}
?>
<div data-role="content" data-inset="true">
<?php
$last_view = -1;
foreach($this->data->STRUCT as $d){
if($d['VIEW'] > $last_view){ # a new header begins
if($last_view != -1 ){ # close last div
foreach ($this->data->STRUCT as $d) {
if ($d['VIEW'] > $last_view) {
// a new header begins
if ($last_view != -1) {
// close last div
print "</div>\n";
}
printf("<div class=\"timerange ui-bar-b ui-corner-top\">%s</div>\n", $d['TIMERANGE']['title'] );
printf("<div class=\"timerange ui-bar-b ui-corner-top\">%s</div>\n", $d['TIMERANGE']['title']);
printf("<div class=\"datasource ui-bar-c ui-corner-bottom\">%s\n", $d['ds_name']);
printf("<div><img style=\"max-width: 100%%\" src=\"".url::base(TRUE)."image?host=%s&srv=%s&view=%s&source=%s\"></div>\n",
$d['MACRO']['HOSTNAME'],
printf(
'<div><img style="max-width: 100%%" src="' . url::base(true) . "image?host=%s&srv=%s&view=%s&source=%s\"></div>\n",
$d['MACRO']['HOSTNAME'],
$d['MACRO']['SERVICEDESC'],
$d['VIEW'],
$d['SOURCE']
);
$last_view++;
}else{
);
$last_view++;
} else {
printf("<div>%s</div>\n", $d['ds_name']);
printf("<div><img style=\"max-width: 100%%\" src=\"".url::base(TRUE)."image?host=%s&srv=%s&view=%s&source=%s\"></div>\n",
$d['MACRO']['HOSTNAME'],
printf(
'<div><img style="max-width: 100%%" src="' . url::base(true) . "image?host=%s&srv=%s&view=%s&source=%s\"></div>\n",
$d['MACRO']['HOSTNAME'],
$d['MACRO']['SERVICEDESC'],
$d['VIEW'],
$d['SOURCE']
);
}
}
);
}//end if
}//end foreach
?>
</div>
</div>