From f92471951b6bf7f3e11a7c9e584cb6eff5d8c233 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 18 Jan 2009 16:07:31 +0100 Subject: dynamically show new label markers in headlines buffer w/o reload --- modules/backend-rpc.php | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'modules/backend-rpc.php') diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 918f8ca90..22a926412 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -450,14 +450,34 @@ $label = label_find_caption($link, $label_id, $_SESSION["uid"]); + print ""; + + print ""; + if ($label) { foreach ($ids as $id) { label_add_article($link, $id, $label, $_SESSION["uid"]); + + print "".$l[1].""; + } + + print "]]>"; + } } - print "OK"; + print ""; + + print ""; + getAllCounters($link, $omode); + print ""; + print ""; return; } -- cgit v1.2.3