Replacers in Edit.cgi
A replacer is a piece of HTML code that is replaced by the UHSD when the UHSD is displaying scores. The replacers specific to Edit.cgi are contained in my Magical Table o' Clarification™:
The Replacer | What it is replaced by |
<!--Entries--> | The formatted scores |
<!--Next--> | A link to the next set of scores; no link appears if the last scores are being displayed |
<!--Previous--> | A link to the previous set of scores; no link appears if the first scores are being displayed |
<!--Game--> | The name of the game whose scores are being displayed |
<!--Current--> | The current scores being displayed |
<!--Show--> | The current scores being displayed |
<!--Sort--> | The current field by which the scores are being sorted |
<!--Type--> | The current type of scores being displayed (normal or all-time) |
<!--Order--> | The direction in which the scores are sorted (ascending or descending) |
<!--OOrder--> | The direction in which the scores are NOT sorted (ascending or descending) |
<!--OOrderfield--> | The direction in which the scores are NOT sorted (ascending or descending) ONLY if field is the field by which the scores are being sorted (if field is not the field by which the scores are sorted, this is replaced by the current direction by which the scores are being sorted) |
<!--PERLcode--> | Nothing: this executes code as if it were a PERL script, so it displays whatever you print |