From ac9dbf854ddb0fa681a6a9a961a560950b734176 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 13 Jan 2010 18:47:06 +0300 Subject: [PATCH] manage profiles dialog: properly mark default profile as active --- modules/popup-dialog.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index cca7b053c..fa6c13d8f 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 "";