summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-30 14:39:06 +0300
committerAndrew Dolgov <[email protected]>2018-11-30 14:39:06 +0300
commit67cdf4cf123ef4ac04baba881b3443e64c90d9a4 (patch)
tree8702ff1d9f85b9140ae40e457869952b2555bb7a /classes
parent59f5335f56a85c428740a9cd6ded75ecc51d31fa (diff)
remove some unnecessary element IDs
rework plugins/note to use xhrJson()
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/feeds.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 2bd9b0e65..d6da225e8 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -417,7 +417,7 @@ class Feeds extends Handler_Protected {
$reply['content'] .= "<div onclick='return hlClicked(event, $id)'
class=\"hlTitle\"><span class='hlContent $hlc_suffix'>";
- $reply['content'] .= "<a id=\"RTITLE-$id\" class=\"title $hlc_suffix\"
+ $reply['content'] .= "<a class=\"title $hlc_suffix\"
href=\"" . htmlspecialchars($line["link"]) . "\"
onclick=\"\">" .
truncate_string($line["title"], 200);
@@ -523,7 +523,7 @@ class Feeds extends Handler_Protected {
}
// data-article-id included for context menu
- $tmp_content .= "<span id=\"RTITLE-$id\"
+ $tmp_content .= "<span
onclick=\"return cdmClicked(event, $id);\"
data-article-id=\"$id\"
class=\"titleWrap hlMenuAttach $hlc_suffix\">
@@ -564,7 +564,7 @@ class Feeds extends Handler_Protected {
$tmp_content .= "</div>"; //cdmHeader
- $tmp_content .= "<div class=\"cdmContent\" onclick=\"return cdmClicked(event, $id, true);\" id=\"CICD-$id\">";
+ $tmp_content .= "<div class=\"cdmContent\" onclick=\"return cdmClicked(event, $id, true);\">";
$tmp_content .= "<div id=\"POSTNOTE-$id\">";
if ($line['note']) {