From: Andrew Dolgov Date: Wed, 13 Jan 2010 15:47:06 +0000 (+0300) Subject: manage profiles dialog: properly mark default profile as active X-Git-Tag: 1.4.0~63 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ac9dbf854ddb0fa681a6a9a961a560950b734176;p=tt-rss.git manage profiles dialog: properly mark default profile as active --- diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index cca7b053..fa6c13d8 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -36,8 +36,14 @@ onclick='toggleSelectPrefRow(this, \"fcat\");' type=\"checkbox\" id=\"FCCHK-0\">"; + if (!$_SESSION["profile"]) { + $is_active = __("(active)"); + } else { + $is_active = ""; + } + print "" . - __("Default profile") . ""; + __("Default profile") . " $is_active"; print "";