/* $Log: add_category.html,v $ Revision 1.21 1996/08/22 01:57:31 regan s-series changes 2 Revision 1.20 1996/08/21 17:53:42 kimberly rename index.html to index.html; break long lines; add comments Revision 1.19 1996/08/09 18:08:45 kimberly add language=JavaScript in script tags Revision 1.18 1996/08/09 02:04:39 kimberly change version number Revision 1.17 1996/08/08 21:31:32 kimberly use textCheckQuotes to check for single and double quotes Revision 1.16 1996/08/08 17:51:44 kimberly remove category text Revision 1.15 1996/08/08 01:13:44 kimberly layout and copy stuff Revision 1.14 1996/08/06 19:20:29 kimberly add maxlength to text fields Revision 1.13 1996/08/06 17:01:57 kimberly add code to deal with saving a change when someone else has already used that name Revision 1.12 1996/08/05 21:42:30 kimberly add parameter when redirecting to initial.html because of an error to prevent loading frames again Revision 1.11 1996/08/02 22:08:49 kimberly changed name of name field to something else because JavaScript seems to have trouble with it Revision 1.10 1996/08/02 02:19:37 kimberly changes for flattened directory s structure Revision 1.9 1996/07/31 22:25:55 staal change to type of work Revision 1.8 1996/07/31 22:01:09 kimberly prevent blank screen from user typing in URL when on correct prevPage Revision 1.7 1996/07/31 17:53:30 kimberly use writeln to make generated HTML easier to read Revision 1.6 1996/07/27 01:37:08 kimberly minor fixes for beta Revision 1.5 1996/07/26 00:32:46 kimberly prohibit single and double quotes in names Revision 1.4 1996/07/25 16:26:47 kimberly remove absolute paths Revision 1.3 1996/07/23 18:54:51 kimberly Change hours_ims to tock_ims Revision 1.2 1996/07/23 18:52:51 kimberly Add Log tag */ checkPrevPage("add_category.html"); if (lookupAdminStatus(client.id) != "Y") redirect("initial.html?err=1"); loadCategories(); writeCheckTextQuotes(); if (request.msg) { writeln("

Error: Type of work already exists

"); writeln("

Someone else has just created or renamed a type of work with "); writeln("that name.

"); writeln("

"); writeln("

Please try adding the type of work again with a different name.

"); } else writeln("

Add Type of Work

");

writeln("
"); New type of work name: