head	1.2;
access;
symbols
	TIGRIS_1_0_5:1.2
	TIGRIS_1_0:1.2.0.2;
locks; strict;
comment	@# @;


1.2
date	2001.03.08.22.03.38;	author leonardr;	state Exp;
branches;
next	1.1;

1.1
date	2001.03.05.19.09.16;	author jrobbins;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Corrected one of many anachronisms in this template.
@
text
@ #if ($isLoggedIn)
{
<tr>
<td>
#if ($loginUser)
{
  <font size="-1"><b>Welcome $loginUser.getName()</b></font>
}
</td>
<td><font size=-1>
| <a href="$res.encodeUrl("UserEdit?user=$loginID")">User prefs</a>
| <a href="$res.encodeUrl("TLogout")">Log out</a>
</font></td>
</tr>

#if ($vhost)
{
<tr><td><font size=-1>
<p><b>Host: $vhost</b>
</font></td>
<td><font size=-1>
    #if ($UserPermissions.accessAllowed("Domain - Change"))
    {
     | <a href="$res.encodeUrl("DomainConfig")">Configure Site</a>
    }

    #if ($UserPermissions.accessAllowed("User - List"))
    {
     | <a href="$res.encodeUrl("UserList")">List Users</a>
    }

    #if ($UserPermissions.accessAllowed("Project - List"))
    {
     | <a href="$res.encodeUrl("ProjectList")">List Projects</a>
    }
</font></td></tr>
}

#if ($currentProject)
{
<tr><td><font size=-1>
<p><b>Project: $currentProject.getName()</b>
</font></td>
<td><font size=-1>

    #if ($UserPermissions.accessAllowed("Project - Update"))
    {
     | <a href="$res.encodeUrl("ProjectEdit?project=$project")">Project Options</a>
##     <a href="$res.encodeUrl("Branding?project=$project")">Appearance</a>
    }

    #if ($UserPermissions.accessAllowed("ProjectUser - List"))
    {
     | <a href="$res.encodeUrl("ProjectMembers?project=$project")">Members</a>
    }
</font></td></tr>

    <tr><td></td><td><font size=-1><b>Modules</b>
    
        #if ($UserPermissions.accessAllowed("Module - Add"))
        {
         | <a href="$res.encodeUrl("ModuleAdd?project=$project")">[Add Module]</a>
        }
        #if ($UserPermissions.accessAllowed("Module - List"))
        {
         
	 #foreach $innerNavModule in $modules
	 {
          #if ($UserPermissions.accessAllowed("Module - Change"))
	  {
           | <a href="$res.encodeUrl("ModuleEdit?project=$project&module=$innerNavModule.Module")">$innerNavModule.Module</a>
          } #else { 
           | $innerNavModule.Module
          }
         }
        }
    </font></td></tr>

    <tr><td></td><td><font size=-1><b>Mailing Lists</b>
     
        #if ($UserPermissions.accessAllowed("ProjMail - Add"))
        {
         | <a href="$res.encodeUrl("ProjMailAdd?project=$project")">[Add List]</a>
        }
##        #if ($UserPermissions.accessAllowed("Project - Update"))
##        {
##         | <a href="$res.encodeUrl("ArchiveOptions?project=$project")">[Archive Options]</a>
##        }
        #if ($UserPermissions.accessAllowed("ProjMail - List"))
        {
	 #foreach $innerNavList in $mailingLists
         {
	  
          #if ($UserPermissions.accessAllowed("ProjMail - Change"))
	  {
           | <a href="$res.encodeUrl("ProjMailEdit?project=$project&list=$innerNavList.List")">$innerNavList.List</a>
          } #else { 
           | $innerNavList.List
          }
	 }
        }
</font>    
</td></tr>
}

#if ($user)
{
<tr><td>
<font size=-1>
<p><b>User: $user</b>
</font></td>

<td><font size=-1>
    <a href="$res.encodeUrl("UserEdit?user=$user")">User Info</a>
</font>
</td></tr>
}

<tr><td colspan=2><hr></td></tr>
}
@


1.1
log
@moved content from old brand_template_root to new brand_template_root to make remote branding easier
@
text
@d39 1
a39 1
#if ($project)
d42 1
a42 1
<p><b>Project: $project</b>
@

