Skip to content

Commit

Permalink
Added a link on the token to go to the edit token page in action=all.
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@135 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
James Richards committed Mar 24, 2003
1 parent ebc122a commit fc556d6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion admin/browse.php
Expand Up @@ -347,10 +347,19 @@
else {$bgcc = "#EEEEEE";}
}
echo "\t<tr bgcolor='$bgcc' valign='top'>\n";

echo "\t\t<td align='center'><font size='1'>\n";
echo "\t\t\t<a href='browse.php?sid=$sid&action=id&id={$dtrow['id']}' title='View this record'>";
echo "{$dtrow['id']}</a>\n";
for ($i=0; $i<=$fncount; $i++)

$SQL = "Select * FROM tokens_$sid WHERE token='{$dtrow[$fnames[0][0]]}'";
$SQLResult = mysql_query($SQL) or die(mysql_error());
$TokenRow = mysql_fetch_assoc($SQLResult);
echo "\t\t<td align='center'><font size='1'>\n";
echo "\t\t<a href='tokens.php?sid=$sid&action=edit&tid={$TokenRow['tid']}' title='Edit this token'>";
echo "{$dtrow['token']}</a>\n";

for ($i=1; $i<=$fncount; $i++)
{
echo "\t\t<td align='center'><font size='1'>";
echo htmlspecialchars($dtrow[$fnames[$i][0]]);
Expand Down

0 comments on commit fc556d6

Please sign in to comment.