home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / modules / wiki / template / save.php < prev    next >
Encoding:
PHP Script  |  2004-03-08  |  666 b   |  19 lines

  1. <?php
  2. // $Id: save.php,v 1.1 2004/01/12 22:14:06 comsubvie Exp $
  3.  
  4. // The save template is passed an associative array with the following
  5. // elements:
  6. //
  7. //   page      => A string containing the name of the wiki page being saved.
  8. //   text      => A string containing the wiki markup for the given page.
  9.  
  10. function template_save($args)
  11. {
  12. // You might use this to put up some sort of "thank-you" page like Ward
  13. //   does in WikiWiki, or to display a list of words that fail spell-check.
  14. // For now, we simply redirect to the view action for this page.
  15. // Removed since headers are sent by Group-Office Framework
  16. //  header('Location: ' . viewURL($args['page']));
  17. }
  18. ?>
  19.