/* * aegis - project change supervisor * Copyright (C) 1997, 1998 Peter Miller; * All rights reserved. * * 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. * * This program 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 this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. * * MANIFEST: file menu page */ auto script_name; script_name = getenv("SCRIPT_NAME"); if (script_name == "") script_name = "http://localhost/cgi-bin/aegis.cgi"; auto fn; if (count(arg)) fn = arg[0]; else fn = "config"; columns({width = 1000;}); print("Content-Type: text/html"); print(""); print(""); print("File Menu"); print("

"); print("Project ``" ## quote_html(project_name()) ## "'',"); if (change_number_set()) print("Change " ## change_number() ## ","); print("
File ``" ## quote_html(fn) ## "''"); print("

"); print("
"); print("
"); auto href; href = script_name ## "?file@file_activ+" ## quote_url(fn); href ##= "+project@" ## quote_url(project_name()); print("File Activity"); print("
"); print("This item will provide you with a listing of changes which are"); print("actively modifying this file. The list includes who is working"); print("on the changes, and a brief description of each change. Where a"); print("file is common to more than one change, all changes are listed"); print("against the file."); print("
"); href = script_name ## "?file@file_cflct+" ## quote_url(fn); href ##= "+project@" ## quote_url(project_name()); print("File Conflict"); print("
"); print("This item will provide you with a listing of changes which are"); print("actively modifying this file if more than one"); print("change is modifying the file."); href = script_name ## "?file@file_hstry+" ## quote_url(fn); href ##= "+project@" ## quote_url(project_name()); print("
"); print("File History"); print("
"); print("This item will provide you with a listing of all completed"); print("changes which affected this file in the past. This report"); print("can take a long time to generate."); print("
"); href = script_name ## "?file@pre+" ## quote_url(fn); href ##= "+project@" ## quote_url(project_name()); print("Baseline"); print("
"); print("This item will show you the contents of the file in the project"); print("baseline, the current master version."); if (change_number_set()) { print("
"); href = script_name ## "?file@pre+" ## quote_url(fn); href ##= "+project@" ## quote_url(project_name()); href ##= "+change@" ## change_number(); print("Change " ## change_number() ## ""); print("
"); print("This item will show you the contents of the file"); print("in change " ## change_number() ## "."); } print("
"); print("
"); print("This page was generated " ## now() ## "."); print("");