2 // Mainsoft.Web.Administration - Site administration utility
\r
4 // Klain Yoni <yonik@mainsoft.com>
\r
6 // Mainsoft.Web.Administration - Site administration utility
\r
7 // (C) 2006 Mainsoft Corporation (http://www.mainsoft.com)
\r
8 // Permission is hereby granted, free of charge, to any person obtaining
\r
9 // a copy of this software and associated documentation files (the
\r
10 // "Software"), to deal in the Software without restriction, including
\r
11 // without limitation the rights to use, copy, modify, merge, publish,
\r
12 // distribute, sublicense, and/or sell copies of the Software, and to
\r
13 // permit persons to whom the Software is furnished to do so, subject to
\r
14 // the following conditions:
\r
16 // The above copyright notice and this permission notice shall be
\r
17 // included in all copies or substantial portions of the Software.
\r
19 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
20 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
\r
21 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
\r
22 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
\r
23 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
\r
24 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
\r
25 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --%>
\r
26 <%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/aspnetconfig/Util.Master" CodeBehind="EditUser.aspx.cs" Inherits="Mainsoft.Web.Administration.EditUser" %>
\r
27 <%@ Register TagPrefix="custom" TagName="searcher" Src="~/Controls/Searcher.ascx" %>
\r
28 <asp:Content runat="server" ID="main" ContentPlaceHolderID="Main">
\r
29 <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
\r
30 <asp:View ID="updateUser" runat="server" >
\r
32 <table width="100%" class="maintable">
\r
34 <td colspan="2" width="100%" style="height: 21px">
\r
35 Use this page to edit user information and to specify what roles a user belongs in.
\r
36 <br /> <br /> <br />
\r
40 <td width="70%" class="innertable" align="left" valign="top">
\r
41 <table width="100%" cellpadding="0" cellspacing="0">
\r
43 <td width="100%" class="controlheader" colspan="3">
\r
52 <asp:TextBox ID="userid_txb" runat="server" Enabled="false" />
\r
60 <span style="font-size: 20px; color: red">*</span> E-mail address:
\r
63 <asp:TextBox ID="email_txb" runat="server"></asp:TextBox>
\r
66 <asp:CheckBox ID="active_chb" runat="server" /> Active user
\r
74 <asp:TextBox ID="desc_txb" runat="server">[not set]</asp:TextBox>
\r
77 <asp:Button ID="save_bt" runat="server" Text="Save" OnClick="save_bt_Click" />
\r
82 <td class="innertable" valign="top" style="width: 82%" >
\r
83 <custom:searcher ID="srch" runat="server" />
\r
88 (<span style="font-size: 20px; color: red">*</span>)Required field <br /><br />
\r
89 <asp:RegularExpressionValidator ID="RegularExpressionValidator1" ControlToValidate="email_txb" ValidationExpression="\S+@\S+\.\S+" runat="server" ErrorMessage="Email format is invalid"></asp:RegularExpressionValidator>
\r
95 <asp:View ID="successupdate" runat="server">
\r
97 <table width="100%" class="maintable">
\r
99 <td width="100%" class="controlheader">
\r
104 <td width="100%" style="height: 100px" valign="top" align="left">
\r
105 You have successfully updated the user
\r
106 <asp:Label ID="name_lbl" runat="server" /> <br /> <br /> <br />
\r
110 <td width="100%" align="right">
\r
111 <asp:Button ID="success_btn" runat="server" Text="OK" OnClick="success_btn_Click" />
\r