forked from science-ation/science-ation
Show the link to the Confirmed Participants page once the date > regclose. The list will be empty (but with a notice to that affect) until the date that the list is defined to be posted. This should hopefully prevent the frantic phone/emails "i sent my forms three days ago why havent you received them?!?!?!?!"
This commit is contained in:
parent
453a3666f1
commit
e2eff96db9
@ -418,7 +418,7 @@ echo "<h1>".i18n($config['fairname'])."</h1>";
|
|||||||
//only display it if a date is set to begin with.
|
//only display it if a date is set to begin with.
|
||||||
if($config['dates']['postparticipants'] && $config['dates']['postparticipants']!="0000-00-00 00:00:00")
|
if($config['dates']['postparticipants'] && $config['dates']['postparticipants']!="0000-00-00 00:00:00")
|
||||||
{
|
{
|
||||||
$q=mysql_query("SELECT (NOW()>'".$config['dates']['postparticipants']."') AS test");
|
$q=mysql_query("SELECT (NOW()>'".$config['dates']['regclose']."') AS test");
|
||||||
$r=mysql_fetch_object($q);
|
$r=mysql_fetch_object($q);
|
||||||
if($r->test==1)
|
if($r->test==1)
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
if($r->test!=1)
|
if($r->test!=1)
|
||||||
{
|
{
|
||||||
list($d,$t)=split(" ",$config['dates']['postparticipants']);
|
list($d,$t)=split(" ",$config['dates']['postparticipants']);
|
||||||
echo i18n("Confirmed participants (that signature forms have been received for) will be posted here on %1 at %2",array($d,$t));
|
echo i18n("Confirmed participants (that signature forms have been received for) will be posted here on %1 at %2. Please do not contact the fair to inquire about receipt of your signature form until after this date (and only if you are not listed here after this date).",array($d,$t));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user