/* * 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: report the history of files */ auto script_name; script_name = getenv("SCRIPT_NAME"); if (script_name == "") script_name = "http://localhost/cgi-bin/aegis.cgi"; columns({width = 1000;}); print("Content-Type: text/html"); print(""); print("
Type | Action | Delta | When | "); print("Change | Edit | Description |
---|---|---|---|---|---|---|
"); if (fh.usage != usages) print(fh.usage); print(" | "); if (fh.action != actions) print(fh.action); print(" | "); print(fh.delta); print(" | "); print(fh.when); print(" | "); href = script_name ## "?file@chan_menu"; href ##= "+project@" ## quote_url(project_name()); href ##= "+change@" ## fh.change; print(""); print(fh.change ## ""); print(" | "); print(fh.edit); print(" | ");
auto part;
for (part in wrap_html(quote_html(fh.description), 80))
print(part);
if (fh.move != "")
{
href = script_name ## "?file@file_menu+" ## quote_url(fh.move);
href ##= "+project@" ## quote_url(project_name());
print(" Moved"); if (fh.action == create) print("from"); else print("to"); print(""); print("" ## quote_html(fh.move) ## ""); } print(" |
aer file_history [ filename ] -p " ## quote_html(project_name()) ## ""); print("