converting to the new hooks system

This commit is contained in:
seek3r 2000-12-15 22:09:13 +00:00
parent c115717da0
commit 22590c65a3
4 changed files with 20 additions and 7 deletions

View File

@ -1,16 +1,17 @@
<?php
/**************************************************************************\
* phpGroupWare - Address Book *
* phpGroupWare *
* http://www.phpgroupware.org *
* Written by Joseph Engo <jengo@phpgroupware.org> *
* -------------------------------------------- *
* 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$ */
/* $ Id $ */
{
echo "<p>\n";
$img = "/" . $appname . "/images/" . $appname .".gif";
if (file_exists($phpgw_info["server"]["server_root"].$img)) {
$img = $phpgw_info["server"]["webserver_url"].$img;

View File

@ -49,7 +49,7 @@
for( $i =0; $i < sizeof($apps); $i++) {
$appname = $apps[$i];
$f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/admin.inc.php";
$f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/hook_admin.inc.php";
if (file_exists($f)) {
include($f);
echo "<p>\n";

View File

@ -1,16 +1,17 @@
<?php
/**************************************************************************\
* phpGroupWare - Calendar *
* phpGroupWare *
* http://www.phpgroupware.org *
* Written by Joseph Engo <jengo@phpgroupware.org> *
* -------------------------------------------- *
* 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$ */
/* $ Id $ */
{
echo "<p>\n";
$img = "/" . $appname . "/images/" . $appname .".gif";
if (file_exists($phpgw_info["server"]["server_root"].$img)) {
$img = $phpgw_info["server"]["webserver_url"].$img;

View File

@ -1,4 +1,15 @@
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* Written by Joseph Engo <jengo@phpgroupware.org> *
* -------------------------------------------- *
* 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 $ */
{
echo "<p>\n";
$img = "/" . $appname . "/images/" . $appname .".gif";