00001 <?php
00002 # This file is part of the Savane project
00003 # <http://gna.org/projects/savane/>
00004 #
00005 # $Id: conf-copy.php 4567 2005-06-30 17:19:37Z toddy $
00006 #
00007 # Copyright 2004-2004 (c) Mathieu Roy <yeupou--at--gnu.org>
00008 #
00009 # The Savane project is free software; you can redistribute it and/or
00010 # modify it under the terms of the GNU General Public License
00011 # as published by the Free Software Foundation; either version 2
00012 # of the License, or (at your option) any later version.
00013 #
00014 # The Savane project is distributed in the hope that it will be useful,
00015 # but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00017 # GNU General Public License for more details.
00018 #
00019 # You should have received a copy of the GNU General Public License
00020 # along with the Savane project; if not, write to the Free Software
00021 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00022
00023 require_directory("project");
00024
00025 if ($group_id && user_ismember($group_id,'A'))
00026 {
00027
00028 # Initialize global bug structures
00029 trackers_init($group_id);
00030
00031 if ($update && $from_group_id != 100)
00032 {
00033 trackers_conf_copy(addslashes($group_id), ARTIFACT, addslashes($from_group_id));
00034 }
00035
00036
00037
00038 trackers_header_admin(array ('title'=>_("Email Notification Settings")));
00039
00040 conf_form($group_id, ARTIFACT);
00041
00042 trackers_footer(array());
00043
00044 }
00045 else
00046 {
00047 if (!$group_id)
00048 { exit_no_group(); }
00049 else
00050 { exit_permission_denied(); }
00051 }
00052
00053
00054 ?>