Location: PHPKode > projects > Phpgw Time Tracking Add On App > timetrack/inc/preferences.inc.php
<?php
  /**************************************************************************\
  * phpGroupWare - Time Track Preferences 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: preferences.inc.php,v 1.1 2000/10/29 00:52:13 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);

   $pg = $phpgw->link($phpgw_info["server"]["webserver_url"]."/timetrack/preferences.php");
   printf("<A href=\"%s\">%s</A><br>", $pg, lang("Time Track Preferences"));

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