Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Use BBCode markup for the quotes, in the cases MiniMag is disabled. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
987d150e0d5b8c367d03cc18650be9f5 |
| User & Date: | johnfound 2019-09-17 13:22:14 |
Context
|
2019-10-02
| ||
| 22:37:00 | Merged with Crypto branch. Preparations for release... check-in: 8ce0b4be2f user: johnfound tags: trunk | |
|
2019-09-25
| ||
| 11:48:22 | Removed the low level logging. Implemented support for SQLeet encryption. check-in: 00bdf77416 user: johnfound tags: Crypto | |
|
2019-09-17
| ||
| 13:22:14 | Use BBCode markup for the quotes, in the cases MiniMag is disabled. check-in: 987d150e0d user: johnfound tags: trunk | |
| 12:59:31 | Some css changed. check-in: 97b17c352a user: johnfound tags: trunk | |
Changes
Changes to source/post.asm.
| ︙ | ︙ | |||
184 185 186 187 188 189 190 |
cinvoke sqlitePrepare_v2, [hMainDatabase], sqlGetQuote, sqlGetQuote.length, eax, 0
cinvoke sqliteBindInt, [.stmt], 1, ebx
cinvoke sqliteStep, [.stmt]
cmp eax, SQLITE_ROW
jne .finalize_quote
| > > > > > > > > > > > > > > > > > | > | < | | 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 |
cinvoke sqlitePrepare_v2, [hMainDatabase], sqlGetQuote, sqlGetQuote.length, eax, 0
cinvoke sqliteBindInt, [.stmt], 1, ebx
cinvoke sqliteStep, [.stmt]
cmp eax, SQLITE_ROW
jne .finalize_quote
xor eax, eax
inc eax ; Default MiniMag
stdcall GetParam, txt "markup_languages", gpInteger
test eax, 1
jnz .minimag_quote
pushx txt "[/quote]", 13, 10
pushx txt "]"
pushx txt "[quote="
jmp .do_quote
.minimag_quote:
pushx txt 13, 10, ";end quote", 13, 10
pushx txt 13, 10
pushx ";quote "
.do_quote:
stdcall StrDupMem ; argument from the stack
mov [.source], eax ; [.source] should be 0 at this point!!!
cinvoke sqliteColumnText, [.stmt], 0 ; the user nick name.
stdcall StrCat, [.source], eax
stdcall StrCat, [.source] ; the second argument from the stack.
cinvoke sqliteColumnText, [.stmt], 1
stdcall StrCat, [.source], eax
stdcall StrCat, [.source] ; the second argument from the stack.
.finalize_quote:
cinvoke sqliteFinalize, [.stmt]
.show_edit_form:
|
| ︙ | ︙ |