manage profiles dialog: properly mark default profile as active

This commit is contained in:
Andrew Dolgov 2010-01-13 18:47:06 +03:00
parent d9084cf220
commit ac9dbf854d

View file

@ -36,8 +36,14 @@
onclick='toggleSelectPrefRow(this, \"fcat\");'
type=\"checkbox\" id=\"FCCHK-0\"></td>";
if (!$_SESSION["profile"]) {
$is_active = __("(active)");
} else {
$is_active = "";
}
print "<td><span id=\"FCATT-0\">" .
__("Default profile") . "</span></td>";
__("Default profile") . " $is_active</span></td>";
print "</tr>";