home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / configuration / index.php
PHP Script  |  2004-03-08  |  3KB  |  84 lines

  1. <?php
  2. /*
  3. Copyright Intermesh 2003
  4. Author: Merijn Schering <mschering@intermesh.nl>
  5. Version: 1.0 Release date: 08 July 2003
  6.  
  7. This program is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2 of the License, or (at your
  10. option) any later version.
  11. */
  12.  
  13. require("../Group-Office.php");
  14. $GO_SECURITY->authenticate();
  15. $page_title = $menu_about;
  16. require($GO_THEME->theme_path."header.inc");
  17. ?>
  18. <h1><?php echo $menu_configuration; ?></h1>
  19. <table border="0" cellpadding="10">
  20. <tr>
  21.     <td>
  22.     <a href="<?php echo $GO_CONFIG->host; ?>configuration/account/">
  23.     <img align="absmiddle" border="0" width="32" heigh="32" src="<?php echo $GO_THEME->images['account']; ?>" style="margin: 2px;" />
  24.     <?php echo $menu_accounts; ?>
  25.     </a>
  26.     </td>
  27. </tr>
  28. <tr>
  29.     <td>
  30.     <a href="<?php echo $GO_CONFIG->host; ?>configuration/preferences/">
  31.     <img align="absmiddle" border="0" width="32" heigh="32" src="<?php echo $GO_THEME->images['preferences']; ?>" style="margin: 2px;" />
  32.     <?php echo $menu_preferences; ?>
  33.     </a>
  34.     </td>
  35. </tr>
  36. <tr>
  37.     <td>
  38.     <a href="<?php echo $GO_CONFIG->host; ?>configuration/groups/">
  39.     <img align="absmiddle" border="0" width="32" heigh="32" src="<?php echo $GO_THEME->images['groups']; ?>" style="margin: 2px;" />
  40.     <?php echo $menu_groups; ?></a>
  41.     </td>
  42. </tr>
  43. </table>
  44. <br />
  45. <?php
  46. if ($GO_SECURITY->has_admin_permission($GO_SECURITY->user_id))
  47. {
  48.     ?>
  49.     <h1><?php echo $menu_admin; ?></h1>
  50.     <table border="0" cellpadding="10">
  51.     <tr>
  52.         <td>
  53.         <a href="<?php echo $GO_CONFIG->administrator_url; ?>settings/">
  54.         <img align="absmiddle" border="0" width="32" heigh="32" src="<?php echo $GO_THEME->images['modules']; ?>" style="margin: 2px;" />
  55.         <?php echo $menu_modules; ?></a>
  56.         </td>
  57.     </tr>
  58.     <tr>
  59.         <td>
  60.         <a href="<?php echo $GO_CONFIG->administrator_url; ?>users/">
  61.         <img align="absmiddle" border="0" width="32" heigh="32" src="<?php echo $GO_THEME->images['users']; ?>" style="margin: 2px;" />
  62.         <?php echo $menu_users; ?></a>
  63.         </td>
  64.     </tr>
  65.     <tr>
  66.         <td>
  67.         <a href="<?php echo $GO_CONFIG->administrator_url; ?>system/">
  68.         <img align="absmiddle" border="0" width="32" heigh="32" src="<?php echo $GO_THEME->images['sysinfo']; ?>" style="margin: 2px;" />
  69.         <?php echo $menu_sysinfo; ?></a>
  70.         </td>
  71.     </tr>
  72.     <tr>
  73.         <td>
  74.         <a href="<?php echo $GO_CONFIG->administrator_url; ?>filetypes/">
  75.         <img align="absmiddle" border="0" width="32" heigh="32" src="<?php echo $GO_THEME->images['filetypes']; ?>" style="margin: 2px;" />
  76.         <?php echo $menu_filetypes; ?></a>
  77.         </td>
  78.     </tr>
  79.     </table>
  80. <?php
  81. }
  82.  
  83. require($GO_THEME->theme_path."footer.inc");
  84. ?>