Navigation Menu

Skip to content

Commit

Permalink
Updated to show datestamp info where needed
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@387 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Jun 21, 2003
1 parent 309d23d commit a50041a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions admin/dataentry.php
Expand Up @@ -237,7 +237,7 @@
//echo "$fnquery<br /><br />\n";

$arows = array(); //Create an empty array in case mysql_fetch_array does not return any rows
while ($fnrow = mysql_fetch_assoc($fnresult)) {$fnrows[] = $fnrow; $private=$fnrow['private'];} // Get table output into array
while ($fnrow = mysql_fetch_assoc($fnresult)) {$fnrows[] = $fnrow; $private=$fnrow['private']; $datestamp=$fnrow['datestamp'];} // Get table output into array

// Perform a case insensitive natural sort on group name then question title of a multidimensional array
usort($fnrows, 'CompareGroupThenTitle');
Expand All @@ -249,7 +249,10 @@
{
$fnames[] = array ("token", "Token ID", "Token", "token", "TID", "");
}

if ($datestamp == "Y")
{
$fnames[] = array ("datestamp", "Date Stamp", "Datestamp", "datestamp", "datestamp", "");
}

foreach ($fnrows as $fnrow)
{
Expand Down

0 comments on commit a50041a

Please sign in to comment.