Tweak says, ""Accio Horcrux!" ... "Drat.""
(Post a new comment)
(Reply to this)
(Reply to this) (Thread)
(Reply to this) (Parent) (Thread)
(Reply to this) (Parent)
function Entry::print_linkbar() { # Makes the entry linkbar contents and order modifiable. var Link link; var string url = ""; var string text = ""; print """\n"""; print """\n"""; $.comments->print(); # Here is where you would change the order of or remove linkbar links. var string[] link_keyseq = [ "edit_entry", "mem_add", ]; var string{} link_caption = { "edit_entry" => $*text_edit_entry, "mem_add" => $*text_mem_add, }; foreach var string link_key ($link_keyseq) { $link = $this->get_link($link_key); if (defined $link) { $url = $link.url; $text = $link_caption{$link_key} != "" ? $link_caption{$link_key} : $link.caption; print safe """$text"""; } } print """$*text_permalink"""; println "\n\n\n"; }