[simias-svn] SF.net SVN: simias:[7415] trunk/src/admin
Brought to you by:
srinidhi_bs
|
From: <jj...@us...> - 2010-06-30 15:27:02
|
Revision: 7415
http://simias.svn.sourceforge.net/simias/?rev=7415&view=rev
Author: jjohnny
Date: 2010-06-30 15:26:56 +0000 (Wed, 30 Jun 2010)
Log Message:
-----------
ID: Bug #558617
Reviewers: Ravi
Localization Required: No
Documentation Required: No
Description: WebAdmin - Changed non editable fields from a textbox to label in serverdetails page.
Modified Paths:
--------------
trunk/src/admin/ServerDetails.aspx
trunk/src/admin/ServerDetails.aspx.cs
Modified: trunk/src/admin/ServerDetails.aspx
===================================================================
--- trunk/src/admin/ServerDetails.aspx 2010-06-30 14:03:11 UTC (rev 7414)
+++ trunk/src/admin/ServerDetails.aspx 2010-06-30 15:26:56 UTC (rev 7415)
@@ -421,11 +421,10 @@
</th>
<td>
- <asp:TextBox
+ <asp:Literal
ID="LdapServer"
Runat="server"
- CssClass="syncnowtextbox"
- Enabled="false" />
+ />
</td>
</tr>
@@ -449,44 +448,23 @@
</th>
<td>
- <asp:TextBox
+ <asp:Literal
ID="LdapProxyUser"
Runat="server"
- Enabled="false"
/>
</td>
</tr>
- <tr>
- <th>
- <%= GetString( "LDAPPROXYUSERPWD" ) %>
- </th>
-
- <td>
- <asp:TextBox
- ID="LdapProxyUserPwd"
- TextMode="Password"
- Enabled="false"
- Runat="server"
- />
- </td>
- </tr>
-
<tr>
<th>
<%= GetString( "LDAPCONTEXTTAG" ) %>
</th>
<td>
- <textarea
+ <asp:Literal
ID="LdapSearchContext"
- runat="server"
- class="edittext"
- readonly="true"
- wrap="soft"
- rows="2"
- cols="25"
- ></textarea>
+ Runat="server"
+ />
</td>
</tr>
Modified: trunk/src/admin/ServerDetails.aspx.cs
===================================================================
--- trunk/src/admin/ServerDetails.aspx.cs 2010-06-30 14:03:11 UTC (rev 7414)
+++ trunk/src/admin/ServerDetails.aspx.cs 2010-06-30 15:26:56 UTC (rev 7415)
@@ -201,7 +201,7 @@
/// <summary>
/// LDAP Server name.
/// </summary>
- protected TextBox LdapServer;
+ protected Literal LdapServer;
/// <summary>
/// LDAP Cycles
@@ -216,14 +216,9 @@
/// <summary>
/// LDAP Proxy User
/// </summary>
- protected TextBox LdapProxyUser;
+ protected Literal LdapProxyUser;
/// <summary>
- /// LDAP Proxy User
- /// </summary>
- protected TextBox LdapProxyUserPwd;
-
- /// <summary>
/// LDAP SSL
/// </summary>
protected Literal LdapSsl;
@@ -231,7 +226,7 @@
/// <summary>
/// External Identity Sync Interval
/// </summary>
- protected HtmlTextArea LdapSearchContext;
+ protected Literal LdapSearchContext;
/// <summary>
/// Member Delete Grace Interval
@@ -745,9 +740,8 @@
//Pick information from IdentityProvider
LdapInfo ldapInfo = remoteweb.GetLdapDetails();
LdapServer.Text = ldapInfo.Host ;
- LdapSearchContext.Value = ldapInfo.SearchContexts;
+ LdapSearchContext.Text = ldapInfo.SearchContexts;
LdapProxyUser.Text = ldapInfo.ProxyDN;
- LdapProxyUserPwd.Text = ldapInfo.ProxyPassword;
LdapSsl.Text = ldapInfo.SSL ? GetString ("YES") : GetString ("NO");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|