Hi! I'm currently using
this tutorial to change my entry and comment linkbars from text to images. It's still working fine, but I would love to be able to change the content flag link & the edit the comment link to images as well. Is there anything I can add to the existing code in order to do that? Thanks in advance
(
Read more... )
# Print the start of the comment linkbar
"""
""";
- """; $this->print_reply_link({"img_url" => $link_img{"reply"}}); """
"""; """; } """;
- """;
""";
- $*text_multiform_check"""; $this->print_multiform_check(); """
""";
# Print the reply to, parent, and permanent links.
"""
if ($.parent_url!="") { """
"""
# Print the other links (delete, screen/unscreen, freeze/unfreeze)
var Link l;
foreach var string key ($.link_keyseq) {
$l = $this->get_link($key);
if (defined $l) {
"""
if ($key=="delete_comment") { print ""; }
elseif ($key=="screen_comment") { print ""; }
elseif ($key=="unscreen_comment") { print ""; }
elseif ($key=="freeze_thread") { print ""; }
elseif ($key=="unfreeze_thread") { print ""; }
elseif ($key=="watch_thread") { print ""; }
elseif ($key=="unwatch_thread") { print ""; }
else { print $l.caption; }
"""
}
}
# Print the select box if the journal's owner is viewing the page
if (viewer_is_owner()) {
"""
}
# End the linkbar and print the quick reply container.
"""
""";
$this->print_reply_container({"class" => "quickreply_comment"});
}
# end of Comment::print_linkbar()
Reply
elseif ($key=="edit_comment") { print "
"; }
Reply
Reply
Here's my layer if you want to take a look at what I'm using (it's about 2/3rds of the way down to get to the relevant bit).
http://www.livejournal.com/customize/advanced/layersource.bml?id=9510542
I'll check back in the morning and see how you've got on. Roomie needs her beauty sleep. Night xxx
Reply
Reply
Reply
Reply
*<*textarea*>*
Whatever you want in the scroll box.
*<*/textarea*>*
(Just take out all the *.)
Reply
Reply
Reply
Leave a comment