head	1.46;
access;
symbols
	TIGRIS_1_1_0RC2:1.38.6.1
	TIGRIS_1_1_0RC1:1.38.6.1
	TIGRIS_1_1:1.38.6.1.0.2
	TIGRIS_1_0_8:1.38.6.1
	TIGRIS_1_0_8RC3:1.38.6.1
	TIGRIS_1_0_8RC2:1.38.6.1
	TIGRIS_1_0_8RC1:1.38.6.1
	TIGRIS_1_0_7:1.38.6.1
	TIGRIS_1_0_7RC3:1.38.6.1
	TIGRIS_1_0_7RC2:1.38.6.1
	TIGRIS_1_0_7RC1:1.38.6.1
	TIGRIS_1_0_6:1.38.6.1
	TIGRIS_1_0_6RC5:1.38.6.1
	TIGRIS_1_0_6RC4:1.38.6.1
	TIGRIS_1_0_6RC3:1.38.6.1
	TIGRIS_1_0_6RC2:1.38.6.1
	TIGRIS_1_0_6RC1:1.38.6.1
	TIGRIS_1_0_5:1.38.6.1
	TIGRIS_1_0_5RC6:1.38.6.1
	TIGRIS_1_0_5RC5:1.38.6.1
	TIGRIS_1_0_5RC4:1.38.6.1
	TIGRIS_1_0_5RC3:1.38.6.1
	TIGRIS_1_0_5RC2:1.38.6.1
	TIGRIS_1_0_5RC1:1.38.6.1
	TIGRIS_1_0_4:1.38.6.1
	TIGRIS_1_0_3:1.38.6.1
	TIGRIS_1_0_2:1.38.6.1
	TIGRIS_1_0_1:1.38
	TIGRIS_1_0:1.38.0.6
	TIGRIS_1_0_0:1.38
	TIGRIS_1_0_0_RC1:1.38.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.17
	TIGRIS_0_9_2_3:1.17
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.17
	TIGRIS_0_9_2_1:1.17
	TIGRIS_0_9_2:1.17.0.2
	TIGRIS_0_9_0:1.14.0.2
	TIGRIS_0_8_4:1.9.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.46
date	2001.05.23.02.04.14;	author dlr;	state dead;
branches;
next	1.45;

1.45
date	2001.05.10.22.58.38;	author dlr;	state Exp;
branches;
next	1.44;

1.44
date	2001.05.10.22.58.19;	author dlr;	state Exp;
branches;
next	1.43;

1.43
date	2001.04.27.23.35.33;	author leonardr;	state Exp;
branches;
next	1.42;

1.42
date	2001.04.24.19.37.21;	author elicia;	state Exp;
branches;
next	1.41;

1.41
date	2001.04.19.20.03.24;	author leonardr;	state Exp;
branches;
next	1.40;

1.40
date	2001.04.07.02.51.24;	author tfahrner;	state Exp;
branches;
next	1.39;

1.39
date	2001.04.04.16.21.49;	author leonardr;	state Exp;
branches;
next	1.38;

1.38
date	2001.03.27.03.30.41;	author jrobbins;	state Exp;
branches
	1.38.6.1;
next	1.37;

1.37
date	2001.03.23.19.36.00;	author caitlyn;	state Exp;
branches;
next	1.36;

1.36
date	2001.03.23.00.27.28;	author lori;	state Exp;
branches;
next	1.35;

1.35
date	2001.03.22.23.06.29;	author dlr;	state Exp;
branches;
next	1.34;

1.34
date	2001.03.22.23.06.05;	author dlr;	state Exp;
branches;
next	1.33;

1.33
date	2001.03.16.02.57.11;	author elicia;	state Exp;
branches;
next	1.32;

1.32
date	2001.03.15.02.59.51;	author elicia;	state Exp;
branches;
next	1.31;

1.31
date	2001.03.10.03.52.56;	author edk;	state Exp;
branches;
next	1.30;

1.30
date	2001.03.09.22.35.29;	author dlr;	state Exp;
branches;
next	1.29;

1.29
date	2001.03.09.01.24.24;	author leonardr;	state Exp;
branches;
next	1.28;

1.28
date	2001.03.08.03.39.32;	author leonardr;	state Exp;
branches;
next	1.27;

1.27
date	2001.03.08.03.24.02;	author leonardr;	state Exp;
branches;
next	1.26;

1.26
date	2001.03.07.18.07.53;	author leonardr;	state Exp;
branches;
next	1.25;

1.25
date	2001.03.07.15.54.30;	author leonardr;	state Exp;
branches;
next	1.24;

1.24
date	2001.03.05.23.48.16;	author elicia;	state Exp;
branches;
next	1.23;

1.23
date	2001.02.27.00.47.58;	author dlr;	state Exp;
branches;
next	1.22;

1.22
date	2001.02.26.23.37.28;	author dlr;	state Exp;
branches;
next	1.21;

1.21
date	2001.02.26.23.35.30;	author dlr;	state Exp;
branches;
next	1.20;

1.20
date	2001.02.22.16.17.03;	author leonardr;	state Exp;
branches;
next	1.19;

1.19
date	2001.02.21.01.08.31;	author dlr;	state Exp;
branches;
next	1.18;

1.18
date	2001.02.15.19.55.11;	author susank;	state Exp;
branches;
next	1.17;

1.17
date	2001.01.10.23.03.56;	author leonardr;	state Exp;
branches
	1.17.4.1;
next	1.16;

1.16
date	2000.12.29.21.34.45;	author dlr;	state Exp;
branches;
next	1.15;

1.15
date	2000.12.29.02.31.34;	author dlr;	state Exp;
branches;
next	1.14;

1.14
date	2000.12.21.02.26.07;	author jrobbins;	state Exp;
branches;
next	1.13;

1.13
date	2000.12.15.23.57.23;	author elicia;	state Exp;
branches;
next	1.12;

1.12
date	2000.12.05.01.28.18;	author leonardr;	state Exp;
branches;
next	1.11;

1.11
date	2000.12.05.01.22.23;	author leonardr;	state Exp;
branches;
next	1.10;

1.10
date	2000.12.05.00.03.37;	author susank;	state Exp;
branches;
next	1.9;

1.9
date	2000.12.04.03.00.21;	author jrobbins;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2000.12.04.01.50.23;	author edk;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.23.01.18.39;	author susank;	state Exp;
branches;
next	1.6;

1.6
date	2000.11.21.17.45.14;	author leonardr;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.20.23.15.06;	author leonardr;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.20.22.13.13;	author leonardr;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.16.23.46.38;	author elicia;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.16.00.51.19;	author edk;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.12.21.18.20;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.18.20;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.36.58;	author dlr;	state Exp;
branches;
next	;

1.9.2.1
date	2001.02.15.18.19.37;	author jrobbins;	state Exp;
branches;
next	;

1.17.4.1
date	2001.01.31.02.05.51;	author leonardr;	state Exp;
branches;
next	1.17.4.2;

1.17.4.2
date	2001.02.12.17.20.31;	author leonardr;	state Exp;
branches;
next	1.17.4.3;

1.17.4.3
date	2001.02.17.20.11.18;	author leonardr;	state Exp;
branches;
next	1.17.4.4;

1.17.4.4
date	2001.02.20.21.50.38;	author dlr;	state Exp;
branches;
next	;

1.38.6.1
date	2001.04.24.01.41.04;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.46
log
@Removed WM templates in favor of Velocity templates.
@
text
@<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
 <TR>
  <TD class="Header" nowrap>Administer Project: 
   <SPAN CLASS="ProjectNameHeader">
    <A HREF="$currentProject.getProjectHome()">$currentProject.getWordMark()</a>
   </SPAN>
  </TD>
 </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0">
 <FORM name="ProjectEditForm" method="post" action="ProjectEdit">
  ##Taken out until the scripts can handle a change in project name.
  ##  <TR>      
  ##    <TD class="InputHeader" VALIGN="top">Project Name:</TD>
  ##    <TD class="PlainText"  VALIGN="top"><input type="text" name="projectName" value="$currentProject.getWordMark()" size="15"><BR>(use characters a-z, A-Z, 0-9, and dash as any character but the first; no spaces or other punctuation)</TD>
  ##  </TR>
#if ($currentProject.isLocked())   
{   
  <TR>
   <TD></TD>
   <TD class="InputHeader" VALIGN="top" >
  #if ($loginUser.isProjectOwner($currentProject))
  { 
Your project is currently locked. This means your project's source repository, 
mailing lists, and issue tracker are disabled. Contact the site administrator 
immediately for further information.
  } #else {
  This project is currently disabled. Access to the project's source repository, mailing lists, and issue tracker is read-only. Until the project is reactivated, no project files or data can be modified.
  }
<P>
</TD>
 </TR>
}

  <tr>      
   <td class="InputHeader" valign="top">Summary:</td>
   <td class="PlainText" valign="top">
    <input type="text" name="shortDescription"
           value="$currentProject.getShortDescription()" size="30"><BR>
    Enter a one-line project description without exceeding field length using
    text only, no html. This text appears in project listings viewed by
    registered users. Field may be edited at any time.
   </td>
  </tr>
  <tr>      
   <td class="InputHeader" valign="top">Description:</td>
   <td class="PlainText" valign="top">
    <textarea wrap="virtual" name="longDescription" rows="5" cols="60">$currentProject.getLongDescription()</textarea><br>
    Summarize your project's mission, background, and plans to be viewed by
    registered site users. You can customize your project home page here by
    including html markup. Although this field may be edited at any time, the
    information should remain consistent.
   </td>
  </tr>

  <TR>
   <TD class="InputHeader" VALIGN="top" NOWRAP>Public Project:</TD>
   <TD class="PlainText" VALIGN="top">
    <input type="checkbox" name="isPublic"
     #if ($currentProject.isPublic())
     {
           checked
     }
    ><BR>
    Check this box to make this project publically viewable to the
    site at large.<BR>
  </TR>

  <TR>
   <TD class="InputHeader" VALIGN="top" NOWRAP>Use Project Home Page:</TD>
   <TD class="PlainText" VALIGN="top">
    <input type="checkbox" name="useIndex"
     #if ($currentProject.useIndex())
     {
           checked
     }
    ><BR>
    Check this box to use your project's www/index.html file as the project's description.  
    This is useful if you plan to have a complex home page. </TD>
  </TR>
  <TR>      
   <TD class="InputHeader" VALIGN="top">Owners' Message:</TD>
   <TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="status" rows="3" cols="30">$currentProject.getStatus()</textarea><BR>Describe the development status of this project. You may use HTML markup.</TD>
  </TR>
  ##  <TR>      
  ##  	<TD class="InputHeader" VALIGN="top">URL Alias:</TD>
  ##  	<TD class="PlainText"  VALIGN="top"><input type="text" name="url" value="$currentProject.getAliasUrl()" size="30">
  ##          <BR>
  ## If you own a domain name, enter it here to be redirected to our servers. Your   project pages will be displayed through this URL. Whether or not you use your   own domain, your project is assigned a PROJECTNAME.HOSTNAME.[net?] URL. 
  #### TODO: need link to info on our servers, e.g., IP address
  ##
  ##    </TD>
  ##
  ##</TR>
  <TR>      
  	<TD class="InputHeader" VALIGN="top" NOWRAP>License:</TD>
  	<TD class="PlainText" VALIGN="top">
	  <INPUT TYPE="radio" NAME="licenseType" VALUE="private"
#if ($currentProject.getLicense().equals("Proprietary"))
{
                 CHECKED
}
          >&nbsp;Private&nbsp;
	  <BR>
	  <INPUT TYPE="radio" NAME="licenseType" VALUE="public"
#if (!$currentProject.getLicense().equals("Proprietary"))
{
                 CHECKED
}
          >&nbsp;Public:&nbsp
          <select name="license">
#foreach $l in $licenseList
{
  	    <option value="$l"
  #if ($currentProject.getLicense().equals($l))
  {
    selected
  }
                                        >$l</option>
}
  	  </select>
          <br>
           Designate a software license for your project.  <a href="/project/www/docs/ProjectAddStep2.html">
          <BR>Need more information on licenses?</a></TD>
  </TR>

  ## categories cannot be nested right now

  #if (!$currentProject.isCategory())
  {
   <TR>      
    <TD class="InputHeader" VALIGN="top">Project Category:</TD>
    <TD class="PlainText" VALIGN="top">
     ## This is how you get the current chosen category.
     ## 
     #set $list = $currentProject.getCategories()
     #if ($list.isEmpty())
     {
      #set $currentCategory = ""
     } 
     #else 
     {
      #set $currentCategory = $list.get(0).getName()
     }         
   
     <select name="projectCategory">
      #foreach $ct in $currentDomain.getCategories($acl)
      {
       <option value="$ct.getID()"
        #if ($currentCategory.equals($ct.getName()))
        {
         selected
        }
       >$ct.getName()</option>
      }
     </select>
     <br>Select a category to determine where your project appears in proj\ect listings.  You can find descriptions on category home pages. You may also c\hange categories at any time. 
    </TD>
   </TR>
  }

  <TR>
   <TD></TD>
   <TD>
    <INPUT type="hidden" name="projectID" value="$currentProject.getID()">
    <INPUT TYPE="submit" NAME="Button" VALUE="Submit Changes">
    <INPUT TYPE="submit" NAME="Button" VALUE="Cancel"> 
   </TD>
  </TR>

  <TR>      
   <TD class="InputHeader" VALIGN="top">Mailing Lists:</TD>
   <TD class="PlainText" VALIGN="top">
    #set $mailAddURL = $currentProject.getProjectPageURL("MailingListAdd")
    #foreach $ml in $currentProject.getMailingLists($loginUser.getACL())
    {
     <li>
     #set $mailEditURL = "$currentProject.getProjectPageURL("MailingListEdit", "list=$ml.getListName()")"
     <a HREF="$mailEditURL">$ml.getListName()</a>
    }
    <li>Add a <a HREF="$mailAddURL">new</a> mailing list.
   </TD>
  </TR>

  #if ($acl.hasPermission("Project - Delete", $currentProject) || $acl.hasPermission("Project - Lock", $currentProject))
  {
   <TR>
     <TD COLSPAN="2"><HR SIZE="1" NOSHADE></TD>
   </TR>
   <TR>
    <TD CLASS="InputHeader" valign="TOP" NOWRAP>Other Operations:</TD>
    <TD CLASS="StatText">
  }

  #if ($currentProject.isDeletableBy($acl))
  {
     <A HREF="$currentProject.getProjectPageURL("ProjectDelete")>Delete Project</A><br>
 
<a href="/servlets/ProjectQuotaEdit">Edit Project Quotas</a><br>

 }
  #if ($acl.hasPermission("Project - Lock", $currentProject))
  {
   <A HREF="$currentProject.getProjectPageURL("ProjectLocked")>
   #if ($currentProject.isLocked()) 
   {
    Unlock
   }
   #else 
   {
    Lock
   }
   Project</A>
  }

  #if ($acl.hasPermission("Project - Delete", $currentProject) || $acl.hasPermission("Project - Lock", $currentProject))
  {
    </TD>
   </TR>
  }
 </form>
</TABLE>
@


1.45
log
@Removed extra backslash.
@
text
@@


1.44
log
@Removed extraneous backslashes and broke long lines.
@
text
@d50 1
a50 1
    Summarize your p\roject's mission, background, and plans to be viewed by
@


1.43
log
@Template changes for private/proprietary decoupling.
@
text
@d36 20
a55 8
  <TR>      
   <TD class="InputHeader" VALIGN="top">Summary:</TD>
   <TD class="PlainText"  VALIGN="top"><input type="text" name="shortDescription" value="$currentProject.getShortDescription()" size="30"><BR>Enter a one-line project descri\ption without exceeding field length using text only, no html. This text appear\s in project listings viewed by registered users. Field may be edited at any time.</TD>
  </TR>
  <TR>      
   <TD class="InputHeader" VALIGN="top">Description:</TD>
   <TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="longDescription" rows="5" cols="60">$currentProject.getLongDescription()</textarea><BR>Summarize your p\roject's mission, background, and plans to be viewed by registered site users. \You can customize your project home page here by including html markup. Althoug\h this field may be edited at any time, the information should remain consistent.</TD>
  </TR>
@


1.42
log
@added radio buttons for License field, to choose private or public license (removed text saying that you cannot switch from open source to proprietary)
@
text
@d45 12
@


1.41
log
@Protect the default project from deletion.
@
text
@d73 29
a101 17
   <TD class="InputHeader" VALIGN="top">License:</TD>
   <TD class="PlainText" VALIGN="top">
    <select name="license">

     #foreach $l in $licenseList
     {
      <option value="$l"
       #if ($currentProject.getLicense().equals($l))
       {
        selected
       }
      >$l</option>
     }
    </select>          
    <br> 
    Designate a software license for your project.  <a href="/project/www/docs/TypicalLicenses.html">Need more information on licenses?</a> Once your project is approved, an open source license cannot changed to a proprietary license; however, proprietary projects  <i>can</i> choose to go open source. 
   </TD>
@


1.40
log
@added ProjectQuotaEdit link
(susank forced this commit, although the page wasn't viewed in browser first.  idendevinst isn't migrated to 1.0 propely yet)PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@a149 7
   #if ($acl.hasPermission("Project - Delete", $currentProject))
  {
     <A HREF="$currentProject.getProjectPageURL("ProjectDelete")>Delete Project</A>
<br>
<a href="/servlets/ProjectQuotaEdit">Edit Project Quotas</a><br>

  }
d160 1
a160 1
  #if ($acl.hasPermission("Project - Delete", $currentProject))
@


1.39
log
@Don't make project delete a requirement for showing the project lock link.
@
text
@d150 7
d170 4
a173 1
  }
@


1.38
log
@made a few labels and link layout consistent with other pages
@
text
@d150 1
a150 1
  #if ($acl.hasPermission("Project - Delete", $currentProject))
d158 4
d163 17
a179 13
#if ($acl.hasPermission("Project - Lock", $currentProject))
{
     <A HREF="$currentProject.getProjectPageURL("ProjectLocked")>
     #if ($currentProject.isLocked()) 
     {
      Unlock
     }
     #else 
     {
      Lock
     }
     Project</A>
}
@


1.38.6.1
log
@Backported changes: prevent the default project from being deleted, and delete group memberships and artifacts along with a project.
@
text
@d150 1
a150 1
  #if ($acl.hasPermission("Project - Delete", $currentProject) || $acl.hasPermission("Project - Lock", $currentProject))
a157 4
  }

  #if ($currentProject.isDeletableBy($acl))
  {
d159 13
a171 18
 
 }
  #if ($acl.hasPermission("Project - Lock", $currentProject))
  {
   <A HREF="$currentProject.getProjectPageURL("ProjectLocked")>
   #if ($currentProject.isLocked()) 
   {
    Unlock
   }
   #else 
   {
    Lock
   }
   Project</A>
  }

  #if ($acl.hasPermission("Project - Delete", $currentProject) || $acl.hasPermission("Project - Lock", $currentProject))
  {
@


1.37
log
@changed the Use Index: copy



PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d55 2
a56 1
   Check this box to use your project's home page content for the project-description field.</TD>
d156 1
a156 1
    <TD CLASS="InputHeader" NOWRAP>Other Operations:</TD>
d158 1
a158 1
     <A HREF="$currentProject.getProjectPageURL("ProjectDelete")>Delete Project</A>
@


1.36
log
@changed 'Administrate' to 'Administer'
@
text
@d47 1
a47 1
   <TD class="InputHeader" VALIGN="top" NOWRAP>Use Index:</TD>
d55 1
a55 4
     This flag indicates whether to use the content of your project's home
     page instead of your project's Description in instances where the
     Description would normally be used.
   </TD>
@


1.35
log
@Cleanup.
@
text
@d3 1
a3 1
  <TD class="Header" nowrap>Administrate Project: 
@


1.34
log
@Cleanup.
@
text
@d54 1
a54 1
     ><BR>
@


1.33
log
@added notification that the project is locked
@
text
@d52 1
a52 1
      checked
@


1.32
log
@protecting link to lock or unlock project with Project - Lock permission
@
text
@d18 18
d44 2
@


1.31
log
@use the new Project.getMailingLists(AccessControlList), which filters
out the results which aren't viewable.
@
text
@d141 2
d144 1
a144 1
     #if ($currentProject.isLocked())
d153 1
@


1.30
log
@No more NPE.
@
text
@d122 1
a122 1
    #foreach $ml in $currentProject.getMailingLists()
@


1.29
log
@More renaming madness as the act of 'project disabling' becomes 'project locking'
@
text
@d42 1
a42 1
   <TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="status" rows="3" cols="30" >#if (!$currentProject.getStatus().equals(null)) {$currentProject.getStatus()}</textarea><BR>Describe the development status of this project. You may use HTML markup.</TD>
@


1.28
log
@Added links to ProjectEnabled.
@
text
@d141 2
a142 2
     <A HREF="$currentProject.getProjectPageURL("ProjectEnabled")>
     #if ($currentProject.isEnabled())
d144 1
a144 1
      Disable
d148 1
a148 1
      Enable
@


1.27
log
@Moved disabling/enabling ability from ProjectEdit to new servlet: ProjectEnabled.
@
text
@d141 10
@


1.26
log
@Fixed indentation and added checkbox for project enable/disable.
@
text
@a108 17
  #if ($acl.hasPermission("Project - Disable", $project))
  {
   <TR>
    <TD class="InputHeader" VALIGN="top" NOWRAP>Project Enabled:</TD>
    <TD class="PlainText" VALIGN="top">
     <input type="checkbox" name="enabled"
      #if ($currentProject.isEnabled())
      {
       checked
      }
     ><BR>
     This flag indicates whether or not this project is enabled. No new
     artifacts may be created while a project is disabled.
    </TD>
   </TR>
  }

@


1.25
log
@Removed threatening and inaccurate comment.
@
text
@d2 7
a8 3
  <TR>
    <TD class="Header" nowrap>Administrate Project: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getWordMark()</a></SPAN></TD>
  </TR>
d12 6
a17 6
<FORM name="ProjectEditForm" method="post" action="ProjectEdit">
##Taken out until the scripts can handle a change in project name.
##  <TR>      
##    <TD class="InputHeader" VALIGN="top">Project Name:</TD>
##    <TD class="PlainText"  VALIGN="top"><input type="text" name="projectName" value="$currentProject.getWordMark()" size="15"><BR>(use characters a-z, A-Z, 0-9, and dash as any character but the first; no spaces or other punctuation)</TD>
##  </TR>
d19 2
a20 2
  	<TD class="InputHeader" VALIGN="top">Summary:</TD>
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="shortDescription" value="$currentProject.getShortDescription()" size="30"><BR>Enter a one-line project descri\ption without exceeding field length using text only, no html. This text appear\s in project listings viewed by registered users. Field may be edited at any time.</TD>
d23 2
a24 2
  	<TD class="InputHeader" VALIGN="top">Description:</TD>
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="longDescription" rows="5" cols="60">$currentProject.getLongDescription()</textarea><BR>Summarize your p\roject's mission, background, and plans to be viewed by registered site users. \You can customize your project home page here by including html markup. Althoug\h this field may be edited at any time, the information should remain consistent.</TD>
d27 45
a71 45
    <TD class="InputHeader" VALIGN="top" NOWRAP>Use Index:</TD>
    <TD class="PlainText" VALIGN="top">
      <input type="checkbox" name="useIndex"
#if ($currentProject.useIndex())
{
             checked
}
      ><BR>
      This flag indicates whether to use the content of your project's home
      page instead of your project's Description in instances where the
      Description would normally be used.
    </TD>
  </TR>
  <TR>      
  	<TD class="InputHeader" VALIGN="top">Owners' Message:</TD>
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="status" rows="3" cols="30" >#if (!$currentProject.getStatus().equals(null)) {$currentProject.getStatus()}</textarea><BR>Describe the development status of this project. You may use HTML markup.</TD>
  </TR>
##  <TR>      
##  	<TD class="InputHeader" VALIGN="top">URL Alias:</TD>
##  	<TD class="PlainText"  VALIGN="top"><input type="text" name="url" value="$currentProject.getAliasUrl()" size="30">
##          <BR>
## If you own a domain name, enter it here to be redirected to our servers. Your   project pages will be displayed through this URL. Whether or not you use your   own domain, your project is assigned a PROJECTNAME.HOSTNAME.[net?] URL. 
#### TODO: need link to info on our servers, e.g., IP address
##
##</TD>
##
##  </TR>
  <TR>      
  	<TD class="InputHeader" VALIGN="top">License:</TD>
  	<TD class="PlainText" VALIGN="top">
    
          <select name="license">

#foreach $l in $licenseList
{
  	    <option value="$l"
  #if ($currentProject.getLicense().equals($l))
  {
    selected
  }
                                        >$l</option>
}
  	  </select>          <br> 
          Designate a software license for your project.  <a href="/project/www/docs/TypicalLicenses.html">Need more information on licenses?</a> Once yo\ur project is approved, an open source license cannot changed to a proprietary license; however, proprietary projects  <i>can</i> choose to go open source. 
  	</TD>
d74 1
a74 1
## categories cannot be nested right now
d76 22
a97 9
#if (!$currentProject.isCategory())
{
  <TR>      
  	<TD class="InputHeader" VALIGN="top">Project Category:</TD>
  	<TD class="PlainText" VALIGN="top">
        ## This is how you get the current chosen category.
        ## 
        #set $list = $currentProject.getCategories()
        #if ($list.isEmpty())
d99 1
a99 4
            #set $currentCategory = ""
        } 
        #else {
            #set $currentCategory = $list.get(0).getName()
d101 7
d109 1
a109 6
        
          <select name="projectCategory">
#foreach $ct in $currentDomain.getCategories($acl)
{
            <option value="$ct.getID()"
  #if ($currentCategory.equals($ct.getName()))
d111 13
a123 1
    selected
a124 7
                                        >$ct.getName()</option>
}
  	  </select>
          <br>Select a category to determine where your project appears in proj\ect listings.  You can find descriptions on category home pages. You may also c\hange categories at any time. 
    </TD>
  </TR>
}
d127 3
a129 2
  	<TD></TD>
  	<TD><INPUT type="hidden" name="projectID" value="$currentProject.getID()">
d131 2
a132 2
          <INPUT TYPE="submit" NAME="Button" VALUE="Cancel"> 
        </TD>
d136 11
a146 12
  	<TD class="InputHeader" VALIGN="top">Mailing Lists:</TD>
  	<TD class="PlainText" VALIGN="top">
#set $mailAddURL = $currentProject.getProjectPageURL("MailingListAdd")
#foreach $ml in $currentProject.getMailingLists()
{
<li>
#set $mailEditURL = "$currentProject.getProjectPageURL("MailingListEdit", "list=$ml.getListName()")"
<a HREF="$mailEditURL">$ml.getListName()</a>
}
<li>Add a <a HREF="$mailAddURL">new</a>
    mailing list.
        </TD>
d149 6
a154 6
#if ($acl.hasPermission("Project - Delete", $currentProject))
{
  <TR>
    <TD COLSPAN="2"><HR SIZE="1" NOSHADE></TD>
  </TR>
  <TR>
d157 1
a157 1
    <A HREF="$currentProject.getProjectPageURL("ProjectDelete")>Delete Project</A>
d159 3
a161 4
</FORM>
  </TR>
}
</form>
@


1.24
log
@testing for null value for owner's message before displaying
@
text
@a127 5


## project delete is commented-out until it is FULLY implemented
## specifically, it needs to remove rows from tables that join to the deleted project. 

@


1.23
log
@Commented out "URL Alias" section until it can be moved to an advanced
project editting interface.
@
text
@d38 1
a38 1
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="status" rows="3" cols="30" >$currentProject.getStatus()</textarea><BR>Describe the development status of this project. You may use HTML markup.</TD>
@


1.22
log
@Changed MailingList's getName() to getListName() to sync with
generated code.
@
text
@d40 10
a49 11
  
  <TR>      
  	<TD class="InputHeader" VALIGN="top">URL Alias:</TD>
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="url" value="$currentProject.getAliasUrl()" size="30">
          <BR>
 If you own a domain name, enter it here to be redirected to our servers. Your   project pages will be displayed through this URL. Whether or not you use your   own domain, your project is assigned a PROJECTNAME.HOSTNAME.[net?] URL. 
## TODO: need link to info on our servers, e.g., IP address

</TD>

  </TR>
@


1.21
log
@Removed extraneous space.
@
text
@d121 2
a122 2
#set $mailEditURL = "$currentProject.getProjectPageURL("MailingListEdit", "list=$ml.getName()")"
<a HREF="$mailEditURL">$ml.getName()</a>
@


1.20
log
@Corrected method call.
@
text
@d16 1
a16 1
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="shortDescription" value="$currentProject.getShortDescription( )" size="30"><BR>Enter a one-line project descri\ption without exceeding field length using text only, no html. This text appear\s in project listings viewed by registered users. Field may be edited at any time.</TD>
d20 1
a20 1
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="longDescription" rows="5" cols="60">$currentProject.getLongDescription( )</textarea><BR>Summarize your p\roject's mission, background, and plans to be viewed by registered site users. \You can customize your project home page here by including html markup. Althoug\h this field may be edited at any time, the information should remain consistent.</TD>
d38 1
a38 1
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="status" rows="3" cols="30" >$currentProject.getStatus( )</textarea><BR>Describe the development status of this project. You may use HTML markup.</TD>
d43 1
a43 1
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="url" value="$currentProject.getAliasUrl( )" size="30">
d60 1
a60 1
  #if ($currentProject.getLicense( ).equals($l))
d86 1
a86 1
            #set $currentCategory = $list.get( 0 ).getName( )
d93 2
a94 2
            <option value="$ct.getID( )"
  #if ($currentCategory.equals($ct.getName( )))
d98 1
a98 1
                                        >$ct.getName( )</option>
@


1.19
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d8 1
a8 1
<FORM name="ProjectEditForm" method="post" action="ProjectEdit?action=Edit+Project">
d80 1
a80 1
        #set $list = $currentProject.getCategories( )
d91 1
a91 1
#foreach $ct in $currentDomain.getCategories()
@


1.18
log
@updated URLs for new HelpTOC, added wm string to create fully qualified paths for images
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d43 1
a43 1
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="url" value="$currentProject.getAliasURL( )" size="30">
d134 1
a134 1
#if ($acl.hasPermissionForProject("Project - Delete", $currentProject.getID()))
@


1.17
log
@Made more text boxes bigger.
@
text
@d67 1
a67 1
          Designate a software license for your project.  <a href="/project/www/docs/Help.html#TypicalLicenses">Need more information on licenses?</a> Once yo\ur project is approved, an open source license cannot changed to a proprietary license; however, proprietary projects  <i>can</i> choose to go open source. 
@


1.17.4.1
log
@Converted permission checking somewhat.
@
text
@d134 1
a134 1
#if ($acl.hasPermissionForProject("Project - Delete", $currentProject))
@


1.17.4.2
log
@Got rid of calls to deprecated permission checking methods.
@
text
@d134 1
a134 1
#if ($acl.hasPermission("Project - Delete", $currentProject))
@


1.17.4.3
log
@Ported changes from head.
@
text
@d67 1
a67 1
          Designate a software license for your project.  <a href="/project/www/docs/TypicalLicenses.html">Need more information on licenses?</a> Once yo\ur project is approved, an open source license cannot changed to a proprietary license; however, proprietary projects  <i>can</i> choose to go open source. 
@


1.17.4.4
log
@Use method that exists.
@
text
@d43 1
a43 1
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="url" value="$currentProject.getAliasUrl( )" size="30">
@


1.16
log
@Now uses word mark.
@
text
@d20 1
a20 1
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="longDescription" rows="5" cols="30">$currentProject.getLongDescription( )</textarea><BR>Summarize your p\roject's mission, background, and plans to be viewed by registered site users. \You can customize your project home page here by including html markup. Althoug\h this field may be edited at any time, the information should remain consistent.</TD>
@


1.15
log
@Updated to provide a UI for new HELM_PROJECT.USE_INDEX field.
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Administrate Project: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>
d12 1
a12 1
##    <TD class="PlainText"  VALIGN="top"><input type="text" name="projectName" value="$currentProject.getName( )" size="15"><BR>(use characters a-z, A-Z, 0-9, and dash; no spaces or other punctuation)</TD>
@


1.14
log
@added style
@
text
@d22 15
a36 2
  
   <TR>      
@


1.13
log
@changed links to support vhosting and non-vhosting modes
@
text
@d128 1
a128 1
    <TD>
@


1.12
log
@Fixed link.
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Administrate Project: <SPAN CLASS="ProjectNameHeader"><A HREF="/servlets/ProjectHome?projectID=$currentProject.getID()">$currentProject.getName()</a></SPAN></TD>
d104 1
d108 2
a109 1
<a HREF="/servlets/MailingListEdit?projectID=$currentProject.getID()&list=$ml.getName()">$ml.getName()</a>
d111 1
a111 1
<li>Add a <a HREF="/servlets/MailingListAdd?projectID=$currentProject.getID()">new</a>
@


1.11
log
@Re-enabled ProjectDelete since the functionality should work now.
@
text
@a125 1
<FORM METHOD="post" ACTION="$res.encodeUrl("ProjectDelete?projectID=$currentProject.getID()")">
d127 1
a127 1
      <INPUT TYPE="submit" NAME="Button" VALUE="Delete Project">
@


1.10
log
@changed project name in title to link to ProjectHome
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@a118 2
#if (false) 
{
a131 1
}
@


1.9
log
@made category conditional on not already being a category
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Administrate Project: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>
@


1.9.2.1
log
@commented out URL alias due to end-user confusion, will eventually be added back as part of an advanced edit servlet
@
text
@d28 10
a37 10
##  <TR>      
##  	<TD class="InputHeader" VALIGN="top">URL Alias:</TD>
##  	<TD class="PlainText"  VALIGN="top"><input type="text" name="url" value="$currentProject.getAliasURL( )" size="30">
##          <BR>
## If you own a domain name, enter it here to be redirected to our servers. Your   project pages will be displayed through this URL. Whether or not you use your   own domain, your project is assigned a PROJECTNAME.HOSTNAME.[net?] URL. 
#### TODO: need link to info on our servers, e.g., IP address
##
##</TD>
##
##  </TR>
@


1.8
log
@don't throw an exception if this project isn't categorized.  generally,
projects should be categorized; but www and look are exceptions, so
we shouldn't assume that.
@
text
@d57 5
d91 2
@


1.7
log
@added in-line help text from ProjectAdd
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d63 8
a70 1
        #set $currentCategory = $list.get( 0 ).getName( )
@


1.6
log
@Changed comments to Webmacro comments so they don't show up in finished product.
@
text
@d16 1
a16 1
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="shortDescription" value="$currentProject.getShortDescription( )" size="30"></TD>
d20 1
a20 1
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="longDescription" rows="5" cols="30">$currentProject.getLongDescription( )</textarea></TD>
d25 1
a25 1
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="status" rows="3" cols="30" >$currentProject.getStatus( )</textarea></TD>
d32 1
a32 1
  	  (If you own a domain, you may redirect it to our servers and your project pages will be presented at the URL above)
d53 2
a54 3
  	  </select>
          <br>
          (<a href="/servlets/DomainLicenses">For information on licenses, click here.</a>)
d76 2
a77 1
  	</TD>
@


1.5
log
@Just fulfilling my eternally sworn vendetta against non-wrapping TEXTAREA widgets.
@
text
@d9 5
a13 5
<!-- Taken out until the scripts can handle a change in project name.
  <TR>      
    <TD class="InputHeader" VALIGN="top">Project Name:</TD>
    <TD class="PlainText"  VALIGN="top"><input type="text" name="projectName" value="$currentProject.getName( )" size="15"><BR>(use characters a-z, A-Z, 0-9, and dash; no spaces or other punctuation)</TD>
  </TR> -->
@


1.4
log
@Don't show box for editing project name.
@
text
@d20 1
a20 1
  	<TD class="PlainText"  VALIGN="top"><textarea name="longDescription" rows="5" cols="30">$currentProject.getLongDescription( )</textarea></TD>
d25 1
a25 1
  	<TD class="PlainText"  VALIGN="top"><textarea name="status" rows="3" cols="30">$currentProject.getStatus( )</textarea></TD>
@


1.3
log
@changed "Short Description" to "Summary"
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d9 1
d13 1
a13 1
  </TR>
@


1.2
log
@nuke member policy, which is no more
@
text
@d14 1
a14 1
  	<TD class="InputHeader" VALIGN="top">Short Description:</TD>
d18 1
a18 1
  	<TD class="InputHeader" VALIGN="top">Long Description:</TD>
@


1.1
log
@Initial revision
@
text
@a57 16
  	<TD class="InputHeader" VALIGN="top">Member Policy:</TD>
  	<TD class="PlainText" VALIGN="top">
          <select name="memberPolicy"> 
#foreach $pt in $policyList
{
            <option value="$pt.getID( )"
  #if ($currentProject.getMemberPolicy( )==$pt.getID( ))
  {
    selected
  }
                                        >$pt.getName( )</option>
}
  	  </select>
  	</TD>
  </TR>
  <TR>      
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Administrate Project: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getWordMark()</a></SPAN></TD>
a8 5
##Taken out until the scripts can handle a change in project name.
##  <TR>      
##    <TD class="InputHeader" VALIGN="top">Project Name:</TD>
##    <TD class="PlainText"  VALIGN="top"><input type="text" name="projectName" value="$currentProject.getWordMark()" size="15"><BR>(use characters a-z, A-Z, 0-9, and dash as any character but the first; no spaces or other punctuation)</TD>
##  </TR>
d10 2
a11 2
  	<TD class="InputHeader" VALIGN="top">Summary:</TD>
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="shortDescription" value="$currentProject.getShortDescription( )" size="30"><BR>Enter a one-line project descri\ption without exceeding field length using text only, no html. This text appear\s in project listings viewed by registered users. Field may be edited at any time.</TD>
d14 2
a15 2
  	<TD class="InputHeader" VALIGN="top">Description:</TD>
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="longDescription" rows="5" cols="60">$currentProject.getLongDescription( )</textarea><BR>Summarize your p\roject's mission, background, and plans to be viewed by registered site users. \You can customize your project home page here by including html markup. Althoug\h this field may be edited at any time, the information should remain consistent.</TD>
d17 3
a19 13
  <TR>
    <TD class="InputHeader" VALIGN="top" NOWRAP>Use Index:</TD>
    <TD class="PlainText" VALIGN="top">
      <input type="checkbox" name="useIndex"
#if ($currentProject.useIndex())
{
             checked
}
      ><BR>
      This flag indicates whether to use the content of your project's home
      page instead of your project's Description in instances where the
      Description would normally be used.
    </TD>
d21 2
a22 1
  <TR>      
d24 1
a24 1
  	<TD class="PlainText"  VALIGN="top"><textarea wrap="virtual" name="status" rows="3" cols="30" >$currentProject.getStatus( )</textarea><BR>Describe the development status of this project. You may use HTML markup.</TD>
d29 1
a29 1
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="url" value="$currentProject.getAliasUrl( )" size="30">
d31 1
a31 1
 If you own a domain name, enter it here to be redirected to our servers. Your   project pages will be displayed through this URL. Whether or not you use your   own domain, your project is assigned a PROJECTNAME.HOSTNAME.[net?] URL. 
d52 3
a54 2
  	  </select>          <br> 
          Designate a software license for your project.  <a href="/project/www/docs/TypicalLicenses.html">Need more information on licenses?</a> Once yo\ur project is approved, an open source license cannot changed to a proprietary license; however, proprietary projects  <i>can</i> choose to go open source. 
d57 5
a61 4

## categories cannot be nested right now

#if (!$currentProject.isCategory())
d63 10
d79 1
a79 8
        #if ($list.isEmpty())
        {
            #set $currentCategory = ""
        } 
        #else {
            #set $currentCategory = $list.get( 0 ).getName( )
        }

d92 1
a92 2
          <br>Select a category to determine where your project appears in proj\ect listings.  You can find descriptions on category home pages. You may also c\hange categories at any time. 
    </TD>
a93 2
}

a104 1
#set $mailAddURL = $currentProject.getProjectPageURL("MailingListAdd")
d108 1
a108 2
#set $mailEditURL = "$currentProject.getProjectPageURL("MailingListEdit", "list=$ml.getName()")"
<a HREF="$mailEditURL">$ml.getName()</a>
d110 1
a110 1
<li>Add a <a HREF="$mailAddURL">new</a>
d120 3
a122 1
#if ($acl.hasPermission("Project - Delete", $currentProject))
d129 3
a131 2
    <TD CLASS="StatText">
    <A HREF="$currentProject.getProjectPageURL("ProjectDelete")>Delete Project</A>
d135 1
@

