forked from science-ation/science-ation
added another column "school boards". This allows us to sort our list and quickly distribute the school access codes because we do not have email addresses for all of our schools.
This commit is contained in:
parent
8a009b71e1
commit
8830c1be99
@ -55,13 +55,13 @@
|
|||||||
");
|
");
|
||||||
|
|
||||||
$table=array();
|
$table=array();
|
||||||
$table['header']=array(i18n("School"),i18n("City"),i18n("Access Code"),i18n("Reg Pass"));
|
$table['header']=array(i18n("School"),i18n("City"),i18n("Access Code"),i18n("Reg Pass"),i18n("School Board"));
|
||||||
$table['widths']=array( 4.0, 1.5, 1.0, 1.0);
|
$table['widths']=array( 4.0, 1.5, 1.0, 1.0, 1.0);
|
||||||
$table['dataalign']=array("left","left","left","left");
|
$table['dataalign']=array("left","left","left","left","left");
|
||||||
|
|
||||||
while($school=mysql_fetch_object($schoolsq))
|
while($school=mysql_fetch_object($schoolsq))
|
||||||
{
|
{
|
||||||
$table['data'][]=array($school->school,$school->city,$school->accesscode,$school->registration_password);
|
$table['data'][]=array($school->school,$school->city,$school->accesscode,$school->registration_password,$school->board);
|
||||||
}
|
}
|
||||||
$rep->addTable($table);
|
$rep->addTable($table);
|
||||||
$rep->output();
|
$rep->output();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user