show empty categories in italic in category editor

This commit is contained in:
Andrew Dolgov 2012-06-15 12:24:41 +04:00
parent a62812a6b4
commit 917c12ee30
1 changed files with 6 additions and 0 deletions

View File

@ -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>";