summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-13 18:47:06 +0300
committerAndrew Dolgov <[email protected]>2010-01-13 18:47:06 +0300
commitac9dbf854ddb0fa681a6a9a961a560950b734176 (patch)
treef1da4bb719b82d28b35131b877c9b66c3d02d07b /modules
parentd9084cf22059f709e935c6c0755d2b69c21b3a87 (diff)
manage profiles dialog: properly mark default profile as active
Diffstat (limited to 'modules')
-rw-r--r--modules/popup-dialog.php8
1 files changed, 7 insertions, 1 deletions
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\"></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>";