Skip to content

Commit

Permalink
Fixed thumbnailing code for expansion / contraction
Browse files Browse the repository at this point in the history
  • Loading branch information
tvroom committed Nov 7, 2007
1 parent 595365e commit 2f5d203
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/FireHose/templates/dispFireHose;firehose;default
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ __template__
story = Slash.db.getStory(item.srcid);
future = story.is_future;
END;

IF mode == "fulltitle";
IF !bodycontent_include;
bodycontent = 0;
Expand All @@ -48,7 +47,6 @@ __template__
IF nostorylinkwrapper;
storylinkwrapper = 0;
END;
adminmode = 0;
IF user.is_admin;
adminmode = 1;
IF options.firehose_usermode.defined;
Expand All @@ -60,6 +58,7 @@ __template__
END;
END;
%]
[% hasimage = item.tid || (item.thumb && item.type == "story") || (adminmode && item.type == "submission") %]
[% IF item.url_id;
url = Slash.db.getUrl(item.url_id);
END %]
Expand All @@ -75,7 +74,6 @@ END %]
[% IF bodywrapper;
Slash.getData('byline', { adminmode => adminmode, item => item, the_user => the_user }, 'firehose');
%]
[% hasimage = item.tid || (item.thumb && item.type == "story") || (adminmode && item.type == "submission") %]
<div class="[% IF bodycontent && mode == "fulltitle" %]hide[% ELSIF bodycontent %]body[% ELSE %]empty[% END %]" id="fhbody-[% item.id %]" [% IF !hasimage %]style="min-height: auto !important; "[% END %]>
[% END %]
[% IF hasimage %]
Expand Down

0 comments on commit 2f5d203

Please sign in to comment.