diff --git a/src/forms.tmpl b/src/forms.tmpl deleted file mode 100644 index f50fb25..0000000 --- a/src/forms.tmpl +++ /dev/null @@ -1,584 +0,0 @@ -#? stdtmpl | standard -# -#template `!`(idx: untyped): untyped = -# row[idx] -#end template -# -# -#proc genThreadsList(c: TForumData, count: var int): string = -# const queryModAdmin = sql"""select id, name, views, modified from thread -# where id in (select thread from post where author in -# (select id from person where status not in ('Spammer') or id = ?)) -# order by modified desc limit ?, ?""" -# const query = sql"""select id, name, views, modified from thread -# where id in (select thread from post where author in -# (select id from person where status not in ('Moderated', 'Spammer') or id = ?)) -# order by modified desc limit ?, ?""" -# const threadId = 0 -# const name = 1 -# const views = 2 -# -# result = "" -# count = 0 -
-nimforum uses a slightly-customized version of - reStructuredText for formatting. See below for some basics, or check - this link for a more detailed help reference.
-| you type: - | -you see: - | -
| *italics* | -italics - | -
| **bold** | -bold - | -
| `nim! <http://nim-lang.org>`_ | -nim! - | -
| * item 1
- * item 2 - * item 3 |
-
-
|
-
| > quoted text | -
- quoted text- |
-
| The forum supports the Github Markdown syntax
- for code listings: - - ```nim - if 1 * 2 < 3: - echo "hello, world!" - ``` - - |
- The forum supports the Github Markdown syntax
- for code listings: - - -if 1*2 < 3: - echo "hello, world!" -- |
-
| A horizontal rule can be created ---- but it needs text after it |
- A horizontal rule can be created but it needs text after it |
-