A lightweight forum engine written in PHP. Repository is now obsolete and read-only. http://www.pioder.pl/uforum.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
767 B

  1. <?php
  2. /**
  3. * @package uForum
  4. * @file quick_reply.php
  5. * @version $Id$
  6. * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
  7. * @link http://www.pioder.pl/
  8. * @license see LICENSE.txt
  9. **/
  10. if ( !defined('IN_uF') )
  11. {
  12. die('Hacking attempt');
  13. }
  14. foreach ($_POST as $name => $value)
  15. {
  16. if ($forum_config['use_censorlist'])
  17. {
  18. $_POST[$name] = Secure::UseCensorlist($value);
  19. }
  20. }
  21. require('./lngs/'.$default_lang.'/quick_reply.php');
  22. require('./includes/classes/class_posting.php');
  23. $skin = array(
  24. 'ltitle'=>$lng['title'],
  25. 'lmsg'=>$lng['message'],
  26. 'lsave'=>$lng['save'],
  27. 'url'=>'posting.php?mode=rpost&amp;id='.$_GET['t'],
  28. 'lreset'=>$lng['reset'],
  29. 'smiles'=>Post::SmilesShow()
  30. );
  31. require('./skins/'.$default_skin.'/quick_reply_body.tpl');
  32. ?>