portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pau...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html user-form.vm
Date Mon, 19 Nov 2001 07:53:51 GMT
paulsp      01/11/18 23:53:51

  Modified:    webapp/WEB-INF/templates/vm/portlets/html user-form.vm
  Log:
  Adding New User Confirmation and Notification
  PR:  4192
  Submitted by: Chris Kimpton
  
  Revision  Changes    Path
  1.2       +37 -1     jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/user-form.vm
  
  Index: user-form.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/user-form.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- user-form.vm	2001/08/27 05:26:21	1.1
  +++ user-form.vm	2001/11/19 07:53:51	1.2
  @@ -3,7 +3,7 @@
   Display the details of a user.
   
   @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  -@version $Id: user-form.vm,v 1.1 2001/08/27 05:26:21 taylor Exp $
  +@version $Id: user-form.vm,v 1.2 2001/11/19 07:53:51 paulsp Exp $
   *#
   
   <form method="post" action="$jlink.setPanel("User Browser").setAction("portlets.security.UserUpdateAction")">
  @@ -52,7 +52,43 @@
         <tr>
           #formCell ("Email" "email" $email)
         </tr>
  +#if ($user.Confirmed != "PENDING")
  +      <tr>
  +        <td><b>Last Login</b></td>
  +#if ($user.Confirmed == "REJECTED")
  +        <td>Accout creation <b>REJECTED</b></td>
  +#else
  +        <td>$user.LastLogin</td>
  +#end
  +      </tr>
  +#end
  +  </table>
   
  + #if ( $config.getBoolean("newuser.approval.enable") == true )
  + #if ($user.Confirmed == "PENDING")
  +    <table bgcolor="#ffffff" cellpadding="5" width="100%">
  +       <tr>
  +         <td colspan=2>
  +             &nbsp;
  +         </td>
  +       </tr>
  +       <tr>
  +         <td align="center" bgcolor="$!{skin.TitleBackgroundColor}">
  +             <input type="submit" name="eventSubmit_doReject" value="Reject User"/>
  +         </td>
  +         <td align="center" bgcolor="$!{skin.TitleBackgroundColor}">
  +             <input type="submit" name="eventSubmit_doAccept" value="Accept User"/>
  +         </td>
  +       </tr>
  +       <tr>
  +         <td colspan=2>
  +             &nbsp;
  +         </td>
  +       </tr>
  +  </table>
  + #end
  + #end
  +    <table bgcolor="#ffffff" cellpadding="5" width="100%">
         <tr>
           <td align="$ui.buttonAlignment" bgcolor="$!{skin.TitleBackgroundColor}">
             #*
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message