]> git.wh0rd.org Git - tt-rss.git/commitdiff
manage profiles dialog: properly mark default profile as active
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 13 Jan 2010 15:47:06 +0000 (18:47 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 13 Jan 2010 15:47:06 +0000 (18:47 +0300)
modules/popup-dialog.php

index cca7b053c1275b6331bcebf3cfa24353f14a6570..fa6c13d8f3a1bf0a0e851d4346aa8375922893f7 100644 (file)
                                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>";