Location: PHPKode > projects > Phpgw Time Tracking Add On App > timetrack/inc/admin.inc.php
<?php
  /**************************************************************************\
  * phpGroupWare - Time Track Admin Hook File                                *
  * http://www.phpgroupware.org                                              *
  * This file written by Bob Schader <hide@address.com>                  *
  * --------------------------------------------                             *
  *  This program is free software; you can redistribute it and/or modify it *
  *  under the terms of the GNU General Public License as published by the   *
  *  Free Software Foundation; either version 2 of the License, or (at your  *
  *  option) any later version.                                              *
  \**************************************************************************/

  /* $Id: admin.inc.php,v 1.1 2000/10/29 00:51:28 rschader Exp $ */
{
   $img = "/" . $appname . "/images/" . $appname .".gif";
   if (file_exists($phpgw_info["server"]["server_root"].$img)) 
   {
      $img = $phpgw_info["server"]["webserver_url"].$img;
   }
   else
   {
      $img = "/" . $appname . "/images/navbar.gif";
      if (file_exists($phpgw_info["server"]["server_root"].$img)) 
      {
         $img=$phpgw_info["server"]["webserver_url"].$img;
      }
      else
      {
         $img = "";
      }
   }

   section_start("Time Tracking",$img);

   $pg1 = $phpgw->link($phpgw_info["server"]["webserver_url"]."/timetrack/admin1.php");
   $pg2 = $phpgw->link($phpgw_info["server"]["webserver_url"]."/timetrack/admin2.php");
   $pg3 = $phpgw->link($phpgw_info["server"]["webserver_url"]."/timetrack/admin3.php");
   printf("<A href=\"%s\">%s</A><br>", $pg1, lang("Edit Location Table"));
   printf("<A href=\"%s\">%s</A><br>", $pg2, lang("Edit Job Status ID Table"));
   printf("<A href=\"%s\">%s</A><br>", $pg3, lang("Edit Work Catagory Table"));

   section_end(); 
}
?>
Return current item: Phpgw Time Tracking Add On App