manage profiles dialog: properly mark default profile as active
This commit is contained in:
parent
d9084cf220
commit
ac9dbf854d
|
@ -36,8 +36,14 @@
|
||||||
onclick='toggleSelectPrefRow(this, \"fcat\");'
|
onclick='toggleSelectPrefRow(this, \"fcat\");'
|
||||||
type=\"checkbox\" id=\"FCCHK-0\"></td>";
|
type=\"checkbox\" id=\"FCCHK-0\"></td>";
|
||||||
|
|
||||||
|
if (!$_SESSION["profile"]) {
|
||||||
|
$is_active = __("(active)");
|
||||||
|
} else {
|
||||||
|
$is_active = "";
|
||||||
|
}
|
||||||
|
|
||||||
print "<td><span id=\"FCATT-0\">" .
|
print "<td><span id=\"FCATT-0\">" .
|
||||||
__("Default profile") . "</span></td>";
|
__("Default profile") . " $is_active</span></td>";
|
||||||
|
|
||||||
print "</tr>";
|
print "</tr>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue