__section__
default
__description__
You should describe stuff here.
__title__
Useless title to template
__page__
misc
__lang__
en_US
__name__
firehose_options
__seclev__
10000
__template__
[% IF !nowrapper %]
<div id="fhoptions" class="options">
[% END %]

[% 
	paused = 0;
	IF form.pause.defined;
		paused = form.pause;
	ELSE;
		paused = user.firehose_pause;
	END;
%]
	<span id="play"[% IF !paused %] class="hide"[% END %]><a href="javascript:firehose_play()" title="Currently paused">Play</a></span>
	<span id="pause" [% IF paused %] class="hide"[% END %]><a href="javascript:firehose_pause()" title="Currently playing">Pause</a></span>

	[% IF options.orderby == "popularity" || options.orderby == "editorpop" || options.orderby == "popularity2" %]
	<span id="popularity"><a href="[% gSkin.rootdir %]/firehose.pl?orderby=createtime" title="Toggle sort popularity/time - Currently popularity" onclick="firehose_set_options('orderby','createtime'); return false;">Popularity</a></span>
	[% ELSE %]
	<span id="time"><a href="[% gSkin.rootdir %]/firehose.pl?orderby=popularity" title="Toggle sort popularity/time - Currently Time" onclick="firehose_set_options('orderby','popularity'); return false;">Time</a></span>
	[% END %]
	[% IF options.orderdir == "ASC" %]
	<span id="desc"><a href="[% gSkin.rootdir %]/firehose.pl?orderdir=DESC" title="Toggle sort ascending/descending - Currently ascending" onclick="firehose_set_options('orderdir', 'DESC'); return false">Ascending</a></span>
	[% ELSE %]
	<span id="asc"><a href="[% gSkin.rootdir %]/firehose.pl?orderdir=ASC" title="Toggle sort ascending/descending - Currently descending" onclick="firehose_set_options('orderdir', 'ASC'); return false">Descending</a></span>
	[% END %]

	[% IF options.mode == "fulltitle" || !options.mode %]
	<span id="abbrev"><a href="[% gSkin.rootdir %]/firehose.pl?mode=full" title="Toggle display abbreviated/full - Currently abbreviated" onclick="firehose_set_options('mode','full'); return false;">Abbreviated</a></span>
	[% ELSE %]
	<span id="full"><a href="[% gSkin.rootdir %]/firehose.pl?mode=fulltitle" title="Toggle display abbreviated/full - Currently full" onclick="firehose_set_options('mode','fulltitle'); return false">Full</a></span>
	[% END %]
[% IF !nowrapper %]
</div>
[% END %]

__version__
$Id: firehose_options;misc;default,v 1.5 2007/08/15 03:08:50 tvroom Exp $
