1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-09 04:11:33 +00:00

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>";