Subversion Repositories ALCASAR

Rev

Rev 1827 | Rev 2299 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1827 Rev 2134
Line 9... Line 9...
9
	$l_services_title	= "Configuration des services";
9
	$l_services_title	= "Configuration des services";
10
	$l_main_services	= "Services principaux";
10
	$l_main_services	= "Services principaux";
11
	$l_filter_services	= "Services de filtrage";
11
	$l_filter_services	= "Services de filtrage";
12
	$l_opt_services		= "Services optionnels";
12
	$l_opt_services		= "Services optionnels";
13
	$l_service_title 	= "Nom du service";
13
	$l_service_title 	= "Nom du service";
14
	$l_service_start 	= "Démarrer";
14
	$l_service_start 	= "Démarrer";
15
	$l_service_stop 	= "Arrêter";
15
	$l_service_stop 	= "Arréter";
16
	$l_service_restart 	= "Redémarrer";
16
	$l_service_restart 	= "Redémarrer";
17
	$l_service_status 	= "Status";
17
	$l_service_status 	= "Status";
18
	$l_service_status_img_ok= "Démarré";
18
	$l_service_status_img_ok= "Démarré";
19
	$l_service_status_img_ko= "Arrété";
19
	$l_service_status_img_ko= "Arrété";
20
	$l_service_action 	= "Actions";
20
	$l_service_action 	= "Actions";
21
	$l_radiusd		= "Serveur d'authentification et d'autorisation";
21
	$l_radiusd		= "Serveur d'authentification et d'autorisation";
Line 199... Line 199...
199
	<tr><th><?php echo $l_main_services; ?></th></tr>
199
	<tr><th><?php echo $l_main_services; ?></th></tr>
200
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
200
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
201
</table>
201
</table>
202
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0>
202
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0>
203
	<tr align="center"><td><?php echo $l_service_status;?></td><td colspan="2"><?php echo $l_service_title;?></td><td colspan="3"><?php echo $l_service_action;?></td></tr>
203
	<tr align="center"><td><?php echo $l_service_status;?></td><td colspan="2"><?php echo $l_service_title;?></td><td colspan="3"><?php echo $l_service_action;?></td></tr>
204
	<TR align="center">
-
 
205
<?php foreach( $MainServiceStatus as $serviceName => $statusOK ) { ?>
204
<?php foreach( $MainServiceStatus as $serviceName => $statusOK ) { ?>
206
<tr>
205
<tr>
207
	<?php if ($statusOK) { ?>
206
	<?php if ($statusOK) { ?>
208
    <td align="center"><img src="/images/state_ok.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ok; ?>"></td>
207
    <td align="center"><img src="/images/state_ok.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ok; ?>"></td>
209
	<td align="center"><?php $comment="l_$serviceName"; echo "<b>$serviceName</b></td><td>${$comment}" ;?> </td>
208
	<td align="center"><?php $comment="l_$serviceName"; echo "<b>$serviceName</b></td><td>${$comment}" ;?> </td>
Line 217... Line 216...
217
    <td width="80" align="center">---</td>
216
    <td width="80" align="center">---</td>
218
    <td width="80" align="center">---</td>
217
    <td width="80" align="center">---</td>
219
    <?php } ?>
218
    <?php } ?>
220
</tr>
219
</tr>
221
<?php } ?>
220
<?php } ?>
222
</td></tr>
-
 
223
</table>
221
</table>
224
<table width="100%" border="0" cellspacing="0" cellpadding="0">
222
<table width="100%" border="0" cellspacing="0" cellpadding="0">
225
	<tr><th><?php echo $l_filter_services; ?></th></tr>
223
	<tr><th><?php echo $l_filter_services; ?></th></tr>
226
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
224
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
227
</table>
225
</table>
228
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0>
226
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0>
229
	<tr align="center"><td><?php echo $l_service_status;?></td><td colspan="2"><?php echo $l_service_title;?></td><td colspan="3"><?php echo $l_service_action;?></td></tr>
227
	<tr align="center"><td><?php echo $l_service_status;?></td><td colspan="2"><?php echo $l_service_title;?></td><td colspan="3"><?php echo $l_service_action;?></td></tr>
230
	<TR align="center">
228
<!--	<TR align="center"> -->
231
<?php foreach( $FilterServiceStatus as $serviceName => $statusOK ) { ?>
229
<?php foreach( $FilterServiceStatus as $serviceName => $statusOK ) { ?>
232
<tr>
230
<tr>
233
	<?php if ($statusOK) { ?>
231
	<?php if ($statusOK) { ?>
234
    <td align="center"><img src="/images/state_ok.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ok; ?>"></td>
232
    <td align="center"><img src="/images/state_ok.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ok; ?>"></td>
235
	<td align="center"><?php $comment="l_$serviceName"; echo "<b>$serviceName</b></td><td>${$comment}" ;?> </td>
233
	<td align="center"><?php $comment="l_$serviceName"; echo "<b>$serviceName</b></td><td>${$comment}" ;?> </td>
Line 243... Line 241...
243
    <td width="80" align="center">---</td>
241
    <td width="80" align="center">---</td>
244
    <td width="80" align="center">---</td>
242
    <td width="80" align="center">---</td>
245
    <?php } ?>
243
    <?php } ?>
246
</tr>
244
</tr>
247
<?php } ?>
245
<?php } ?>
248
</td></tr>
-
 
249
</table>
246
</table>
250
<table width="100%" border="0" cellspacing="0" cellpadding="0">
247
<table width="100%" border="0" cellspacing="0" cellpadding="0">
251
	<tr><th><?php echo $l_opt_services; ?></th></tr>
248
	<tr><th><?php echo $l_opt_services; ?></th></tr>
252
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
249
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
253
</table>
250
</table>
254
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0>
251
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0>
255
	<tr align="center"><td><?php echo $l_service_status;?></td><td colspan="2"><?php echo $l_service_title;?></td><td colspan="3"><?php echo $l_service_action;?></td></tr>
252
	<tr align="center"><td><?php echo $l_service_status;?></td><td colspan="2"><?php echo $l_service_title;?></td><td colspan="3"><?php echo $l_service_action;?></td></tr>
256
	<TR align="center">
-
 
257
<?php foreach( $OptServiceStatus as $serviceName => $statusOK ) { ?>
253
<?php foreach( $OptServiceStatus as $serviceName => $statusOK ) { ?>
258
<tr>
254
<tr>
259
	<?php if ($statusOK) { ?>
255
	<?php if ($statusOK) { ?>
260
    <td align="center"><img src="/images/state_ok.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ok; ?>"></td>
256
    <td align="center"><img src="/images/state_ok.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ok; ?>"></td>
261
	<td align="center"><?php $comment="l_$serviceName"; echo "<b>$serviceName</b></td><td>${$comment}" ;?> </td>
257
	<td align="center"><?php $comment="l_$serviceName"; echo "<b>$serviceName</b></td><td>${$comment}" ;?> </td>
Line 269... Line 265...
269
    <td width="80" align="center">---</td>
265
    <td width="80" align="center">---</td>
270
    <td width="80" align="center">---</td>
266
    <td width="80" align="center">---</td>
271
    <?php } ?>
267
    <?php } ?>
272
</tr>
268
</tr>
273
<?php } ?>
269
<?php } ?>
274
</td></tr>
270
</table>
275
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
271
<table width="100%" border="0" cellspacing="0" cellpadding="0">
276
	<tr><th><? echo $l_stop_restart;?></th></tr>
272
	<tr><th><? echo $l_stop_restart;?></th></tr>
277
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
273
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
278
</TABLE>
274
</table>
279
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1>
275
<table width="100%" border=1 cellspacing=0 cellpadding=1>
280
	<tr><td valign="middle" align="left">
276
	<tr><td valign="middle" align="left">
281
	<FORM action="services.php" method=POST><b>
277
	<FORM action="services.php" method=POST>
282
		<select name='choix'></b>
278
		<select name='choix'>
283
			<option selected value="reboot"><?echo "$l_reboot";?>
279
			<option selected value="reboot"><?echo "$l_reboot";?>
284
			<option value="halt"><?echo "$l_halt";?>
280
			<option value="halt"><?echo "$l_halt";?>
285
		</select>
281
		</select>
286
		<input type=submit value="<?echo "$l_execute";?>">
282
		<input type=submit value="<?echo "$l_execute";?>">
287
	</FORM>
283
	</FORM>
288
	</td></tr>
284
	</td></tr>
289
</TABLE>
285
</table>
290
</body>
286
</body>
291
</html>
287
</html>