Commit af4a0bd8 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier

Fixes #3051 Fixed systems service list

parent b2bf8fab
......@@ -37,7 +37,7 @@ class filterServerService
}
foreach ($data as $key => $value) {
if (!is_array($value)) {
$data[$key] = array($value);
$value = array($value);
}
$list[$name][] = $key;
$list[$name][$key] = $value;
......
<div class="contentboxh">
<p class="contentboxh">
<img src="images/launch.png" align="right" alt="[F]">{t}Filter{/t}
</p>
</div>
<div class="contentboxb">
</div>
<table style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
<tr>
<td style="vertical-align:top; width:100%;">
<div class="contentboxh">
<p class="contentboxh">&nbsp;{$HEADLINE}&nbsp;{$SIZELIMIT}</p>
</div>
<table class="listing_container">
<tbody>
<tr>
<td class="list">
<div class="contentboxh">
<p class="contentboxh">&nbsp;{$HEADLINE}&nbsp;{$SIZELIMIT}</p>
</div>
<div class="contentboxb">
<div style='background:white;padding:3px;'>
<table><tr>
<td>{$ROOT}&nbsp;</td><td>{$BACK}&nbsp;</td><td>{$HOME}&nbsp;</td><td>{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td><img src='images/rocket.png' alt='' class='center'></td><td> {$ACTIONS}</td>
</tr></table>
</div>
</div>
<div class="contentboxb" style="background:white;">
<table>
<tbody>
<tr>
<td>{$ROOT}&nbsp;</td><td>{$BACK}&nbsp;</td><td>{$HOME}&nbsp;</td><td class="optional">{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td>
{if $BASE}<td>{t}Base{/t} {$BASE}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td>{/if}
<td>{$ACTIONS}</td>
</tr>
</tbody>
</table>
</div>
<div style='height:4px;'>
</div>
{$LIST}
</td>
</tr>
<div style="margin-top:4px;">
{$LIST}
</div>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="ignore">
<input type="hidden" name="ignore"/>
......@@ -65,7 +65,7 @@
<action>
<name>remove</name>
<type>entry</type>
<image>geticon.php?context=actions&icon=edit-delete&size=16</image>
<image>geticon.php?context=actions&amp;icon=edit-delete&amp;size=16</image>
<label>Remove</label>
</action>
......@@ -124,7 +124,7 @@
<action>
<name>remove</name>
<type>entry</type>
<image>geticon.php?context=actions&icon=edit-delete&size=16</image>
<image>geticon.php?context=actions&amp;icon=edit-delete&amp;size=16</image>
<objectclass>AllowRemove</objectclass>
<label>Remove service</label>
</action>
......
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2003-2010 Cajus Pollmeier
......@@ -39,7 +38,7 @@ class serviceNTP extends simpleService {
/* The main function : information about attributes */
static function getAttributesInfo ()
{
return array (
return array (
'section1' => array (
'name' => _('Generic'),
'attrs' => array (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment