show empty categories in italic in category editor

master
Andrew Dolgov 13 years ago
parent a62812a6b4
commit 917c12ee30

@ -1224,6 +1224,8 @@ class Pref_Feeds extends Protected_Handler {
print "<td>"; print "<td>";
if ($line['count'] == 0) print '<em>';
print "<span dojoType=\"dijit.InlineEditBox\" print "<span dojoType=\"dijit.InlineEditBox\"
width=\"300px\" autoSave=\"false\" width=\"300px\" autoSave=\"false\"
cat-id=\"$cat_id\">" . $edit_title . cat-id=\"$cat_id\">" . $edit_title .
@ -1243,6 +1245,10 @@ class Pref_Feeds extends Protected_Handler {
</script> </script>
</span>"; </span>";
if ($line['count'] == 0) print '</em>';
print "</td>";
print "<td align='right' class='insensitive'>"; print "<td align='right' class='insensitive'>";
echo T_sprintf("%d feeds", $line['count']); echo T_sprintf("%d feeds", $line['count']);
print "</td></tr>"; print "</td></tr>";

Loading…
Cancel
Save