diff options
author | Andrew Dolgov <[email protected]> | 2012-06-15 12:24:41 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-06-15 12:24:41 +0400 |
commit | 917c12ee30e5db223114314def15be9a77c9be71 (patch) | |
tree | a68c14c46709d27de098f437158dec3d0536f94b /classes/pref_feeds.php | |
parent | a62812a6b4a0d5dd24d0046e894f93322becb52d (diff) |
show empty categories in italic in category editor
Diffstat (limited to 'classes/pref_feeds.php')
-rw-r--r-- | classes/pref_feeds.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index da454b48a..bf9f18a94 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -1224,6 +1224,8 @@ class Pref_Feeds extends Protected_Handler { print "<td>"; + if ($line['count'] == 0) print '<em>'; + print "<span dojoType=\"dijit.InlineEditBox\" width=\"300px\" autoSave=\"false\" cat-id=\"$cat_id\">" . $edit_title . @@ -1243,6 +1245,10 @@ class Pref_Feeds extends Protected_Handler { </script> </span>"; + if ($line['count'] == 0) print '</em>'; + + print "</td>"; + print "<td align='right' class='insensitive'>"; echo T_sprintf("%d feeds", $line['count']); print "</td></tr>"; |