ubdate to new about-system (all infos are in setup.inc.php, no more hook_about)

This commit is contained in:
Ralf Becker 2002-10-27 16:46:15 +00:00
parent dba23ea4e2
commit c54195c6dd
2 changed files with 3 additions and 28 deletions

View File

@ -1,28 +0,0 @@
<?php
/**************************************************************************\
* phpGroupWare - about *
* http://www.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$ */
function about_app($tpl,$handle)
{
$t = CreateObject('phpgwapi.Template',$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi'));
$s = $t->set_file(array('about' => 'about_app.tpl'));
$s .= $t->set_var('app_title',lang('calendar'));
$s .= $t->set_var('lang_version',lang('Version'));
$s .= $t->set_var('app_version',$GLOBALS['phpgw_info']['apps']['calendar']['version']);
$s .= $t->set_var('based_on',lang('based on'));
$s .= $t->set_var('written_by',lang('written by'));
$s .= $t->set_var('source','Webcalendar by Craig Knudsen &lt;cknudsen@radix.net&gt;');
$s .= $t->set_var('source_url','http://www.radix.net/~cknudsen');
$s .= $t->set_var('source_url_name','www.radix.net/~cknudsen');
$s .= $t->set_var('developers','Mark Peters &lt;skeeter@phpgroupware.org&gt;');
$s .= $t->fp('out','about');
return $s;
}

View File

@ -22,6 +22,9 @@
'Powerful calendar with meeting request system and ACL security.'; 'Powerful calendar with meeting request system and ACL security.';
$setup_info['calendar']['maintainer'] = 'Mark Peters'; $setup_info['calendar']['maintainer'] = 'Mark Peters';
$setup_info['calendar']['maintainer_email'] = 'skeeter@phpgroupware.org'; $setup_info['calendar']['maintainer_email'] = 'skeeter@phpgroupware.org';
$setup_info['calendar']['based_on'] =
'Webcalendar by <a href="mailto:cknudsen@radix.net">Craig Knudsen</a>';
$setup_info['calendar']['based_on_url'] = 'http://www.radix.net/~cknudsen';
$setup_info['calendar']['tables'][] = 'phpgw_cal'; $setup_info['calendar']['tables'][] = 'phpgw_cal';
$setup_info['calendar']['tables'][] = 'phpgw_cal_holidays'; $setup_info['calendar']['tables'][] = 'phpgw_cal_holidays';