NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:andere-erweiterungen:hacks:gaestebuch-eintrag-unsichtbar [2010/03/04 10:06] Knut Heermann (flip-flop) |
deutsch:andere-erweiterungen:hacks:gaestebuch-eintrag-unsichtbar [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 122: | Line 122: | ||
| \\ | \\ | ||
| + | |||
| + | |||
| + | In neueren Versionen des CMS | ||
| + | <code php> | ||
| + | $guestbook['sql'] .= "guestbook_msg="._dbEscape($guestbook['post']['msg']).", "; | ||
| + | </code> | ||
| + | \\ | ||
| + | wird ersetzt durch | ||
| + | <code php> | ||
| + | // Insert tag to hide entry ================= +KH090210 | ||
| + | if ($phpwcms['guestbook_hidden']) | ||
| + | $guestbook['sql'] .= "guestbook_msg="._dbEscape('[##]' . $guestbook['post']['msg']).", "; | ||
| + | else $guestbook['sql'] .= "guestbook_msg="._dbEscape($guestbook['post']['msg']).", "; | ||
| + | // =========================================== +KH090210 | ||
| + | </code> | ||
| + | |||
| + | \\ | ||
| + | |||
| === Dokumentation === | === Dokumentation === | ||