Guest User

Untitled

a guest
Jul 16th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <!-- somewhere in your template, forms, -->
  2. <txp:php>
  3. function wet_if_comment_submitted($attr, $thing)
  4. {
  5. return parse(EvalElse($thing, isset($_GET['commented'])));
  6. }
  7. </txp:php>
  8.  
  9. <!-- in your comment form: -->
  10. <txp:wet_if_comment_submitted>
  11. yay
  12. <txp:else />
  13. noes
  14. </txp:wet_if_comment_submitted>
Add Comment
Please, Sign In to add comment