home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / modules / wiki / template / admin.php next >
PHP Script  |  2004-03-08  |  1KB  |  33 lines

  1. <?php
  2. // $Id: admin.php,v 1.1 2004/01/12 22:14:05 comsubvie Exp $
  3.  
  4. require_once(TemplateDir . '/common.php');
  5.  
  6. // The admin template is passed an associative array with the following
  7. // elements:
  8. //
  9. //   html      => A string containing the XHTML markup of the form to be
  10. //                displayed.
  11.  
  12. function template_admin($args)
  13. {
  14.   template_common_prologue(array('norobots' => 1,
  15.                                  'title'    => TMPL_Administration,
  16.                                  'heading'  => TMPL_Administration,
  17.                                  'headlink' => '',
  18.                                  'headsufx' => '',
  19.                                  'toolbar'  => 0));
  20. ?>
  21. <div id="body">
  22. <?php print $args['html']; ?>
  23. </div>
  24. <?php
  25.   template_common_epilogue(array('twin'      => '',
  26.                                  'edit'      => '',
  27.                                  'editver'   => 0,
  28.                                  'history'   => '',
  29.                                  'timestamp' => '',
  30.                                  'nosearch'  => 1));
  31. }
  32. ?>
  33.