cleaning code + add links to navigate to new pages
This commit is contained in:
parent
89858a6bbd
commit
fc3fe6bd15
|
@ -18,7 +18,6 @@ require_once EVOADMIN_BASE . '../lib/domain.php';
|
||||||
|
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
var_dump($_SESSION);
|
|
||||||
if (isset($_GET['enable']) ) {
|
if (isset($_GET['enable']) ) {
|
||||||
require_once EVOADMIN_BASE . '../evolibs/Form.php';
|
require_once EVOADMIN_BASE . '../evolibs/Form.php';
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
</table>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
print "<p>Aucun ServerName existant pour le domaine $domain !</p>";
|
print "<p>La sécurité ITK ne semble pas en place pour le domaine $domain</p>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,14 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<th> Actif ? </th>
|
<th> Actif ? </th>
|
||||||
<th> Action </th>
|
|
||||||
|
<?php if(is_superadmin()) {
|
||||||
|
print '<th> Alias </th>';
|
||||||
|
print '<th> ServerName </th>';
|
||||||
|
print '<th> Sécurité </th>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<!--<th>Opérations</th>-->
|
<!--<th>Opérations</th>-->
|
||||||
<?php if($conf['cluster']) { ?>
|
<?php if($conf['cluster']) { ?>
|
||||||
<th>Bdd</th>
|
<th>Bdd</th>
|
||||||
|
@ -95,7 +102,11 @@
|
||||||
}
|
}
|
||||||
printf('<td>%s</td>', ($vhost_info['is_enabled'] ? 'Activé' : 'Désactivé' ));
|
printf('<td>%s</td>', ($vhost_info['is_enabled'] ? 'Activé' : 'Désactivé' ));
|
||||||
if (is_superadmin()) {
|
if (is_superadmin()) {
|
||||||
printf('<td><a href="/webadmin/edit/%s">Lister/Modifier les alias</a></td>',
|
printf('<td><a href="/webadmin/edit/%s">Gérer</a></td>',
|
||||||
|
$vhost_info['owner']);
|
||||||
|
printf('<td><a href="/webadmin/servername/%s">Modifier</a></td>',
|
||||||
|
$vhost_info['owner']);
|
||||||
|
printf('<td><a href="/webadmin/itk/%s">Gérer</a></td>',
|
||||||
$vhost_info['owner']);
|
$vhost_info['owner']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue