phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] calendar setup/setup.inc.php inc/hook_help.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] calendar setup/setup.inc.php inc/hook_help.inc.php
Date: Tue, 06 Mar 2007 15:00:12 +0000

CVSROOT:        /sources/phpgroupware
Module name:    calendar
Changes by:     Sigurd Nes <sigurdne>   07/03/06 15:00:12

Modified files:
        setup          : setup.inc.php 
Added files:
        inc            : hook_help.inc.php 

Log message:
        new manual

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/calendar/inc/hook_help.inc.php?cvsroot=phpgroupware&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/calendar/setup/setup.inc.php?cvsroot=phpgroupware&r1=1.34&r2=1.35

Patches:
Index: setup/setup.inc.php
===================================================================
RCS file: /sources/phpgroupware/calendar/setup/setup.inc.php,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- setup/setup.inc.php 11 Mar 2006 23:20:48 -0000      1.34
+++ setup/setup.inc.php 6 Mar 2007 15:00:12 -0000       1.35
@@ -9,7 +9,7 @@
        *  option) any later version.                                           
   *
        
\**************************************************************************/
 
-       /* $Id: setup.inc.php,v 1.34 2006/03/11 23:20:48 skwashd Exp $ */
+       /* $Id: setup.inc.php,v 1.35 2007/03/06 15:00:12 sigurdne Exp $ */
 
        $setup_info['calendar']['name']    = 'calendar';
        $setup_info['calendar']['version'] = '0.9.18.002';
@@ -52,6 +52,7 @@
        $setup_info['calendar']['hooks'][] = 'preferences';
        $setup_info['calendar']['hooks'][] = 'settings';
        $setup_info['calendar']['hooks'][] = 'sidebox_menu';
+       $setup_info['calendar']['hooks'][] = 'help';
 
        /* Dependencies for this app to work */
        $setup_info['calendar']['depends'][] = array(

Index: inc/hook_help.inc.php
===================================================================
RCS file: inc/hook_help.inc.php
diff -N inc/hook_help.inc.php
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ inc/hook_help.inc.php       6 Mar 2007 15:00:12 -0000       1.1
@@ -0,0 +1,66 @@
+<?php
+       /**
+       * phpGroupWare - calendar
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2003,2004,2005,2006,2007 Free Software 
Foundation, Inc. http://www.fsf.org/
+       * This file is part of phpGroupWare.
+       *
+       * phpGroupWare 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.
+       *
+       * phpGroupWare is distributed in the hope that it will be useful,
+       * but WITHOUT ANY WARRANTY; without even the implied warranty of
+       * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+       * GNU General Public License for more details.
+       *
+       * You should have received a copy of the GNU General Public License
+       * along with phpGroupWare; if not, write to the Free Software
+       * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 
 USA
+       *
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage manual
+       * @version $Id: hook_help.inc.php,v 1.1 2007/03/06 15:00:12 sigurdne 
Exp $
+       */
+
+
+       /**
+        * Description
+        */
+
+       include(PHPGW_SERVER_ROOT.'/'.'calendar'.'/setup/setup.inc.php');
+
+       $GLOBALS['phpgw']->help->set_params(array('app_name'            => 
'calendar',
+                                                                               
                'title'                 => lang('calendar'),
+                                                                               
                'app_version'   => $setup_info['calendar']['version']));
+       $GLOBALS['phpgw']->help->data[] = array
+       (
+               'text'                                  => lang('overview'),
+               'link'                                  => 
$GLOBALS['phpgw']->help->check_help_file('overview.odt'),
+               'lang_link_statustext'  => lang('overview')
+       );
+       $GLOBALS['phpgw']->help->data[] = array
+       (
+               'text'                                  => lang('overview'),
+               'link'                                  => 
$GLOBALS['phpgw']->help->check_help_file('view.odt'),
+               'lang_link_statustext'  => lang('overview')
+       );
+       $GLOBALS['phpgw']->help->data[] = array
+       (
+               'text'                                  => lang('overview'),
+               'link'                                  => 
$GLOBALS['phpgw']->help->check_help_file('add.odt'),
+               'lang_link_statustext'  => lang('overview')
+       );
+       $GLOBALS['phpgw']->help->data[] = array
+       (
+               'text'                                  => lang('overview'),
+               'link'                                  => 
$GLOBALS['phpgw']->help->check_help_file('edit_delete.odt'),
+               'lang_link_statustext'  => lang('overview')
+       );
+
+       $GLOBALS['phpgw']->help->draw();
+?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]