If there's a regfee, and we show a red * then there's no point showing "complete" becuase everyone is "complete" and only some will have a red star. saves bandwidth and real-estate on the page.

This commit is contained in:
james 2009-03-24 18:21:26 +00:00
parent 1b6b245e37
commit 4185558e4b

View File

@ -102,12 +102,11 @@
//no need to output the status if we dont have a reg fee, becuase status is either 'complete' or 'payment pending' but if we dont have a regfee it can never be payment pending, so thus, it must be complete! //no need to output the status if we dont have a reg fee, becuase status is either 'complete' or 'payment pending' but if we dont have a regfee it can never be payment pending, so thus, it must be complete!
$statusstar=""; $statusstar="";
if($config['regfee']>0) if($config['regfee']>0) {
{
if($r->status=="paymentpending") if($r->status=="paymentpending")
$statusstar="<font color=\"red\">*</font>"; $statusstar="<font color=\"red\">*</font>";
$status_text=i18n("Complete"); // $status_text=i18n("Complete");
} }
else else
$status_text=""; $status_text="";