# HG changeset patch # User Dominic Cleal # Date 1232903003 0 # Node ID 266c93756c1b4ea780232951a613173ec4229dd1 # Parent 5ae40a1161e6439d564a7e1f997858e6bb953f24 Putting inputs next to each other again diff -r 5ae40a1161e6 -r 266c93756c1b reproctool.cgi --- 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');