New upstream version 0.6.27
This commit is contained in:
@@ -1,29 +1,35 @@
|
||||
<?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: </strong><?php echo Kohana::lang('error.not_authorized')?></li>
|
||||
</ul>
|
||||
</div><!-- /content -->
|
||||
<?php
|
||||
return;
|
||||
<?php
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
<div data-role="content">
|
||||
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
|
||||
<?php
|
||||
foreach($services as $key=>$service){
|
||||
if($key == 0)
|
||||
printf("<li data-role=\"list-divider\">%s</li>\n", $service['hostname'] );
|
||||
|
||||
printf("<li><a href=\"".url::base(TRUE)."mobile/graph/%s/%s\" data-transition=\"pop\"><img src=\"".url::base(TRUE)."image?host=%s&srv=%s&h=80&w=80&view=1\">%s</a></li>",
|
||||
urlencode($service['hostname']),
|
||||
urlencode($service['name']),
|
||||
urlencode($service['hostname']),
|
||||
urlencode($service['name']),
|
||||
$service['servicedesc']);
|
||||
foreach ($services as $key => $service) {
|
||||
if ($key == 0) {
|
||||
printf("<li data-role=\"list-divider\">%s</li>\n", $service['hostname']);
|
||||
}
|
||||
|
||||
printf(
|
||||
"<li><a href=\"" . url::base(true) .
|
||||
"mobile/graph/%s/%s\" data-transition=\"pop\"><img src=\"" .
|
||||
url::base(true) .
|
||||
"image?host=%s&srv=%s&h=80&w=80&view=1\">%s</a></li>",
|
||||
urlencode($service['hostname']),
|
||||
urlencode($service['name']),
|
||||
urlencode($service['hostname']),
|
||||
urlencode($service['name']),
|
||||
$service['servicedesc']
|
||||
);
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user