Mercurial > hg > reproctool
changeset 22:266c93756c1b
Putting inputs next to each other again
author | Dominic Cleal <dominic@computerkb.co.uk> |
---|---|
date | Sun, 25 Jan 2009 17:03:23 +0000 |
parents | 5ae40a1161e6 |
children | ccbd8fa63b9f |
files | reproctool.cgi |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/reproctool.cgi Sun Jan 25 16:15:15 2009 +0000 +++ b/reproctool.cgi Sun Jan 25 17:03:23 2009 +0000 @@ -25,9 +25,13 @@ exit; } +# Inputs +my $cols = $cgi->param('cols') || 4; +my $str_items = $cgi->param('items'); + # Generate the first page, where eve-central mineral prices are prefilled. # TODO: depending on the traffic, cache these eve-central prices. -my $str_items = $cgi->param('items'); + unless ($str_items) { my $eveCentralURL = 'http://eve-central.com/api/evemon'; @@ -84,9 +88,6 @@ exit; } -# Inputs -my $cols = $cgi->param('cols') || 4; - # Load mineral prices my $trit = $cgi->param('trit') || user_error('No tritanium price'); my $pyer = $cgi->param('pyer') || user_error('No pyerite price');