summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-12-07 08:48:00 +0100
committerAndrew Dolgov <[email protected]>2006-12-07 08:48:00 +0100
commit0b126ac277ed5480ef6090ddc7a23a15d21f2960 (patch)
treef8cb200f57f056da4ace2a754931e585f9103d7f /backend.php
parentfaf40998b3c1c075e30020031db001fbc89276cc (diff)
tag editor
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/backend.php b/backend.php
index ee8b089d1..b1c0554bb 100644
--- a/backend.php
+++ b/backend.php
@@ -223,7 +223,7 @@
print "<tr><td width='70%'><a $link_target href=\"" . $line["link"] . "\">" .
$line["title"] . "</a>$entry_author</td>";
} else {
- print "<tr><td width='30%'>" . $line["title"] . "$entry_author</td>";
+ print "<tr><td width='70%'>" . $line["title"] . "$entry_author</td>";
}
$parsed_updated = date(get_pref($link, 'LONG_DATE_FORMAT'),
@@ -247,9 +247,9 @@
$tag = $tmp_line["tag_name"];
$tag_str = "<a href=\"javascript:parent.viewfeed('$tag')\">$tag</a>, ";
- if ($num_tags == 5) {
+ if ($num_tags == 3) {
$tags_str .= "<a href=\"javascript:showBlockElement('allEntryTags')\">...</a>";
- } else if ($num_tags < 5) {
+ } else if ($num_tags < 3) {
$tags_str .= $tag_str;
}
$f_tags_str .= $tag_str;
@@ -260,18 +260,18 @@
// $truncated_link = truncate_string($line["link"], 60);
- if ($tags_str || $entry_comments) {
+# if ($tags_str || $entry_comments) {
print "<tr><td width='50%'>
$entry_comments</td>
- <td align=\"right\">$tags_str</td></tr>";
- }
+ <td align=\"right\">$tags_str <a href=\"javascript:editArticleTags($id, $feed_id)\">(+)</a></td></tr>";
+# }
print "</table></div>";
print "<div class=\"postIcon\">" . $feed_icon . "</div>";
print "<div class=\"postContent\">";
- if (db_num_rows($tmp_result) > 5) {
+ if (db_num_rows($tmp_result) > 0) {
print "<div id=\"allEntryTags\">Tags: $f_tags_str</div>";
}