head	1.9;
access;
symbols;
locks; strict;
comment	@# @;


1.9
date	2001.08.27.23.08.35;	author tfahrner;	state Exp;
branches;
next	1.8;

1.8
date	2001.08.20.22.29.21;	author tfahrner;	state Exp;
branches;
next	1.7;

1.7
date	2001.08.03.05.45.05;	author tfahrner;	state Exp;
branches;
next	1.6;

1.6
date	2001.08.03.04.44.22;	author tfahrner;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.31.01.18.38;	author tfahrner;	state Exp;
branches;
next	1.4;

1.4
date	2001.07.31.00.01.54;	author tfahrner;	state Exp;
branches;
next	1.3;

1.3
date	2001.07.30.21.59.21;	author tfahrner;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.29.22.26.24;	author jefflove;	state Exp;
branches;
next	1.1;

1.1
date	2001.06.29.00.57.50;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.9
log
@removed redundant headings
@
text
@#set($projectType="category")
<div id="categoryadd" class="app">
 <p>* Required fields</p>
<form name="GroupAddForm" action="CategoryAdd" method="post" enctype="application/x-www-form-urlencoded">
 <div class="axial">
 <table border="1" cellspacing="2" cellpadding="3">
  <tr>
   <th nowrap="nowrap">* Category Name</th>
   <td><input type="text" name="name" value="$name" size="30" />
       <p>Identify the category with a one-word name displayed in all project listings. Use characters a-z (mixed case okay), 0-9, and dash (though not as first character); no spaces, underscores, or other punctuation. The category name cannot be changed, so choose wisely.</p>  #set ($parents = $currentDomain.getPotentialParents($acl, $projectType))
  #if ($parents.size() < 2)
   <input type="hidden" name="parent" value="$currentDomain.getID()" />
  #else
</td>
  </tr>
   <tr>
    <th nowrap="nowrap">* Parent Category</th>
    <td>
     <select name="parent" size="1">
      #foreach ($parent in $parents)
       #if($parent.isDomain())
        #set($parentName="New top-level")
       #else
        #set($parentName=$parent.getNameWithParent())
       #end
       <option value="$parent.getID()" #if($parent.equals($parentName))
       selected="selected"
#end>$parentName</option>
      #end
     </select>
     <p>Select the parent category for the new category, or "New top-level"
	to make a new top-level category.</p>
    </td>
   </tr>
  #end
  <tr>
   <th nowrap="nowrap">* Summary</th>
   <td><input type="text" name="shortDescription" value="$shortDescription" size="30" maxlength="128" /><p>Enter a one-line summary of the category.</p></td>
  </tr>
  <tr>
   <th nowrap="nowrap">* Description</th>
   <td><textarea wrap="wrap" name="longDescription" rows="5" cols="30">$longDescription</textarea><p>Describe the category in more detail here.</p></td>
  </tr>

  <tr>
   <th nowrap="nowrap">Public Category</th>
   <td>
    <input type="checkbox" name="isPublic"
     #if($isPublic)
     checked="checked"
     #end />
    <p>Check this box to make this category publically viewable to the site at large.</p>
   </td>
  </tr>

  <tr>
   <th nowrap="nowrap">Initial Projects</th>
   <td><textarea name="elements" rows="4" cols="30">$elements</textarea></td>
  </tr>
  <tr>
   <td></td>
   <td><p><input type="submit" name="Button" value="Create Category" /></p></td>
  </tr>
 </table>
 </div>
</form>
</div>
@


1.8
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@a2 2

 <h3>Add a Category: $currentDomain.getName()</h3>
@


1.7
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a0 1
#parse( "Admin_Nav.vm" )
a2 3
<h2>
 #parse( "Nomen.vm" )
</h2>
d10 1
a10 1
   <th nowrap="nowrap">* Category Name:</th>
d19 1
a19 1
    <th nowrap="nowrap">* Parent Category:</th>
d39 1
a39 1
   <th nowrap="nowrap">* Summary:</th>
d43 1
a43 1
   <th nowrap="nowrap">* Description:</th>
d48 1
a48 1
   <th nowrap="nowrap">Public Category:</th>
d59 1
a59 1
   <th nowrap="nowrap">Initial Projects:</th>
@


1.6
log
@restoring admin options nav, fixing html in ProjectAdd
@
text
@a6 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.5
log
@included "task nav" below headlines
@
text
@d1 1
a2 1

@


1.4
log
@pulled admin options, added headlines
@
text
@d7 4
@


1.3
log
@html usage revision to synch with scarab
@
text
@a0 1
#parse( "Admin_Nav.vm" )
d4 3
@


1.2
log
@made output valid; tweaked html usage
@
text
@d4 1
a4 1
<div id="categoryadd">
d9 1
a9 1
 <table border="0" cellspacing="0" cellpadding="2">
@


1.1
log
@Implemented basic project group and category nesting.
@
text
@d6 1
a6 1
 <p>* Required Fields</p>
d9 1
a9 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
d13 1
a13 3
       <p>Identify the category with a one-word name displayed in all project listings. Use characters a-z (mixed case okay), 0-9, and dash (though not as first character); no spaces, underscores, or other punctuation. The category name cannot be changed, so choose wisely.</p></td>
  </tr>
  #set ($parents = $currentDomain.getPotentialParents($acl, $projectType))
d15 1
a15 1
   <input type="hidden" name="parent" value="$currentDomain.getID()">
d17 2
d22 1
a22 1
     <select name="parent" size="1"/>
d29 3
a31 1
       <option value="$parent.getID()" #if($parent.equals($parentName))SELECTED#end>$parentName</option>
d52 3
a54 1
     #if($isPublic)checked="checked"#end />
d70 1
a70 1
</div>@

