Skip to content

Commit

Permalink
Fixed font setting for summary ("there are x records in your token ta…
Browse files Browse the repository at this point in the history
…ble...")

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@178 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Apr 2, 2003
1 parent 125f182 commit 26d2334
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion admin/tokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
// SEE HOW MANY RECORDS ARE IN THE TOKEN TABLE
$tkcount = mysql_num_rows($tkresult);
echo "$tokenmenu";
echo "\t<tr><td align='center'>There are $tkcount records in your token table for this survey.</td></tr>\n";
echo "\t<tr><td align='center'>{$setfont}There are $tkcount records in your token table for this survey.</td></tr>\n";

// GIVE SOME INFORMATION ABOUT THE TOKENS
echo "\t<tr>\n";
Expand Down Expand Up @@ -179,6 +179,9 @@
echo "</table>\n";
echo "<center>\n";

#############################################################################################
// NOW FOR VARIOUS ACTIONS:

if ($action == "browse")
{
echo "<table width='600' cellpadding='1' cellspacing='1' align='center' bgcolor='#CCCCCC'>\n";
Expand All @@ -193,6 +196,10 @@
echo "\t\t<th align='left'><a href='tokens.php?sid=$sid&action=browse&order=completed%20desc'><img src='DownArrow.gif' alt='Sort by Done?' border='0' align='left'></a>$setfont"."Done?</th>\n";
echo "\t\t<th align='left' colspan='2'>$setfont"."Action</th>\n";
echo "\t</tr>\n";

//HANDLE LIMITED NUMBER OF ROWS AT A TIME


$bquery = "SELECT * FROM tokens_$sid";
if (!$_GET['order']) {$bquery .= " ORDER BY tid";}
else {$bquery .= " ORDER BY {$_GET['order']}";}
Expand Down

0 comments on commit 26d2334

Please sign in to comment.