Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates for d2asp

  • Loading branch information...
commit 2e53fee1521f61eb1cf2014f8f37fea842614b23 1 parent 747a010
@pudge pudge authored
View
1  Slash/Utility/Comments/Comments.pm
@@ -1062,6 +1062,7 @@ sub printComments {
cid => $cid,
pid => $pid,
lvl => $lvl,
+ options => $options,
});
#slashProf("", "printCommentsMain");
View
12 themes/slashcode/templates/printCommentsMain;misc;default
@@ -135,14 +135,10 @@ __template__
<div class="loki" id="gods">
<div class="block">
<div class="title">
-[% # this DOES NOT WORK. we need logic for getting "fh_item." and for the pop color -- pudge %]
-[% IF user.state.d2asp -%]<span class="soda pop[% fh_item.pop || 0 %]"></span>
-<span id="updown-[% fh_item.id %]" class="vote[% IF vote == "down" %]ddown[% ELSIF vote == "up" %]dup[% END %]">
- <a href="#" onclick="firehose_up_down('[% fh_item.id %]','+'); return false" class="up" title="Vote this item up"
- [% IF !user.is_anon %]onMouseDown="show_nod_menu(this, '[% fh_item.id %]')" onMouseOver="show_nod_menu(this, '[% fh_item.id %]', 1200, 5200)" onMouseOut="dont_show_nodnix_menu()"[% END %]>+</a>
- <a href="#" onclick="firehose_up_down('[% fh_item.id %]','-'); return false" class="down" title="Vote this item down"
- [% IF !user.is_anon %]onMouseDown="show_nix_menu(this, '[% fh_item.id %]')" onMouseOver="show_nix_menu(this, '[% item.id %]', 1200, 5200)" onMouseOut="dont_show_nodnix_menu()"[% END %]>-</a>
-</span>[% END %]
+[% IF user.state.d2asp -%]<span class="soda pop[% options.fh_item.popval || 0 %]"></span>
+<a href="[% gSkin.rootdir %]/firehose.pl?op=view&amp;id=[% options.fh_item.id %]"><span id="updown-[% options.fh_item.id %]" class="vote[% IF vote == "down" %]ddown[% ELSIF vote == "up" %]dup[% END %]">
+<span class="up">+</span><span class="down">-</span>
+</span></a>[% END %]
<h4>
[% IF this_title %]
<span class="h-inline">[% IF user.state.d2asp -%]
Please sign in to comment.
Something went wrong with that request. Please try again.