Mercurial > hg > fapweb
changeset 1099:ebb0afda63c5
Oops, fix 10L.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 05 Feb 2017 03:48:37 +0200 |
parents | c731092a83b7 |
children | ed9270f65a37 |
files | print.php |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/print.php Mon Jan 30 10:34:48 2017 +0200 +++ b/print.php Sun Feb 05 03:48:37 2017 +0200 @@ -79,20 +79,20 @@ } break; - case "votekeys": + case "userkeys": // - // Print out votekeys as a table + // Print out userkeys as a table // - $sql = "SELECT * FROM votekeys ORDER BY id ASC"; + $sql = "SELECT * FROM userkeys ORDER BY id ASC"; if (($res = stExecSQL($sql)) !== FALSE) { - cmPrintPageHeader("Votekeys"); + cmPrintPageHeader("Userkeys"); $keyLen = stGetSetting("userKeyLength"); - echo "<div class=\"votekeys\">\n"; + echo "<div class=\"userkeys\">\n"; foreach ($res as $item) { // This funny code is to ensure that the cells are of uniform width - printf("<div class=\"votekey\"><span class=\"keyid\">%03d</span> : ". + printf("<div class=\"userkey\"><span class=\"keyid\">%03d</span> : ". "<span class=\"keycode\">%s</span></div>\n", $item["id"], str_repeat(" ", $keyLen - strlen($item["key"])).$item["key"]);