Xals : a merger dans stable 1.0
This commit is contained in:
parent
69497ec7cc
commit
e1e7b2921b
|
@ -126,23 +126,25 @@ for($i=0;$i<$r["nsub"];$i++) {
|
||||||
}
|
}
|
||||||
?></td>
|
?></td>
|
||||||
<td><?php
|
<td><?php
|
||||||
if ( $r['sub'][$i]['web_action'] !='DELETE') {
|
if (!(!$isinvited && $dt[strtolower($r["sub"][$i]["type"])]["enable"] != "ALL" )) {
|
||||||
switch ($r['sub'][$i]['enable']) {
|
if ( $r['sub'][$i]['web_action'] !='DELETE') {
|
||||||
case 'ENABLED':
|
switch ($r['sub'][$i]['enable']) {
|
||||||
__("Enabled");
|
case 'ENABLED':
|
||||||
echo "<br/><a href='dom_substatus.php?domain=".urlencode($r["name"])."&sub=".urlencode($r["sub"][$i]["name"])."&type=".urlencode($r["sub"][$i]["type"])."&value=".urlencode($r["sub"][$i]['dest'])."&status=disable'>";__("Disable");echo "</a>";
|
__("Enabled");
|
||||||
break;
|
echo "<br/><a href='dom_substatus.php?domain=".urlencode($r["name"])."&sub=".urlencode($r["sub"][$i]["name"])."&type=".urlencode($r["sub"][$i]["type"])."&value=".urlencode($r["sub"][$i]['dest'])."&status=disable'>";__("Disable");echo "</a>";
|
||||||
case 'ENABLE':
|
break;
|
||||||
__("Activation pending");
|
case 'ENABLE':
|
||||||
break;
|
__("Activation pending");
|
||||||
case 'DISABLED':
|
break;
|
||||||
__("Disabled");
|
case 'DISABLED':
|
||||||
echo "<br/><a href='dom_substatus.php?domain=".urlencode($r["name"])."&sub=".urlencode($r["sub"][$i]["name"])."&type=".urlencode($r["sub"][$i]["type"])."&value=".urlencode($r["sub"][$i]['dest'])."&status=enable'>";__("Enable");echo "</a>";
|
__("Disabled");
|
||||||
break;
|
echo "<br/><a href='dom_substatus.php?domain=".urlencode($r["name"])."&sub=".urlencode($r["sub"][$i]["name"])."&type=".urlencode($r["sub"][$i]["type"])."&value=".urlencode($r["sub"][$i]['dest'])."&status=enable'>";__("Enable");echo "</a>";
|
||||||
case 'DISABLE':
|
break;
|
||||||
__("Desactivation pending");
|
case 'DISABLE':
|
||||||
break;
|
__("Desactivation pending");
|
||||||
}
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}?></td>
|
}?></td>
|
||||||
<td><?php
|
<td><?php
|
||||||
switch ($r['sub'][$i]['web_action']) {
|
switch ($r['sub'][$i]['web_action']) {
|
||||||
|
|
Loading…
Reference in New Issue