~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to src/admin/.svn/text-base/CreateUser.aspx.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<%@ Register TagPrefix="iFolder" TagName="Footer" Src="Footer.ascx" %>
2
 
<%@ Register TagPrefix="iFolder" TagName="ListFooter" Src="ListFooter.ascx" %>
3
 
<%@ Register TagPrefix="iFolder" TagName="TopNavigation" Src="TopNavigation.ascx" %>
4
 
<%@ Page language="c#" Codebehind="CreateUser.aspx.cs" AutoEventWireup="false" Inherits="Novell.iFolderWeb.Admin.CreateUser" %>
5
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
6
 
<html>
7
 
        
8
 
<head>
9
 
                <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
10
 
                <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
11
 
 
12
 
                <title><%= GetString( "TITLE" ) %></title>
13
 
                
14
 
                <style type="text/css">
15
 
                        @import url( css/iFolderAdmin.css ); 
16
 
                        @import url( css/CreateUser.css ); 
17
 
                </style>
18
 
                
19
 
</head>
20
 
 
21
 
<body id="users" runat="server">
22
 
 
23
 
<script type="text/javascript">
24
 
 
25
 
        var addToFull = true;
26
 
        var firstLength = 0;
27
 
        
28
 
        function addFirstToFull(b)
29
 
        {
30
 
                if ( addToFull && ( b.value.length > 0 ) )
31
 
                {
32
 
                        var full = document.getElementById( "FullName" );
33
 
                        if ( full.value.length == 0 )
34
 
                        {
35
 
                                full.value = b.value;
36
 
                        }
37
 
                        else
38
 
                        {
39
 
                                var s = full.value.slice( firstLength, full.value.length );
40
 
                                full.value = b.value + s;
41
 
                        }
42
 
                        
43
 
                        firstLength = b.value.length;
44
 
                }
45
 
                
46
 
                return true;
47
 
        }
48
 
        
49
 
        function addLastToFull(b)
50
 
        {
51
 
                if ( addToFull && ( b.value.length > 0 ) )
52
 
                {
53
 
                        var full = document.getElementById( "FullName" );
54
 
                        if ( full.value.length == 0 )
55
 
                        {
56
 
                                full.value = b.value;
57
 
                        }
58
 
                        else
59
 
                        {
60
 
                                var s = full.value.slice( 0, firstLength + 1 );
61
 
                                full.value = s + " " + b.value;
62
 
                        }
63
 
                }
64
 
        }
65
 
        
66
 
        function fullNameChanged(b)
67
 
        {
68
 
                addToFull = b.value.length == 0;
69
 
        }
70
 
 
71
 
</script>
72
 
 
73
 
<form runat="server">
74
 
 
75
 
        <div class="container">
76
 
 
77
 
                <iFolder:TopNavigation ID="TopNav" Runat="server" />
78
 
 
79
 
                <div class="leftnav">
80
 
 
81
 
                        <div class="detailnav">
82
 
 
83
 
                                <div class="pagetitle">
84
 
                                
85
 
                                        <%= GetString( "CREATEUSER" ) %>
86
 
                                        
87
 
                                </div>
88
 
 
89
 
                                <table class="detailinfo">
90
 
 
91
 
                                        <tr>
92
 
                                                <th>
93
 
                                                        <%= GetString( "USERNAMETAG" ) %>
94
 
                                                </th>
95
 
 
96
 
                                                <td>
97
 
                                                        <asp:TextBox 
98
 
                                                                ID="UserName" 
99
 
                                                                Runat="server" 
100
 
                                                                CssClass="edittext" />
101
 
                                                </td>
102
 
                                        </tr>
103
 
 
104
 
                                        <tr>
105
 
                                                <th>
106
 
                                                        <%= GetString( "FIRSTNAMETAG" ) %>
107
 
                                                </th>
108
 
 
109
 
                                                <td>
110
 
                                                        <asp:TextBox 
111
 
                                                                ID="FirstName" 
112
 
                                                                Runat="server" 
113
 
                                                                CssClass="edittext" 
114
 
                                                                onblur="return addFirstToFull(this)" />
115
 
                                                </td>
116
 
                                        </tr>
117
 
                                        
118
 
                                        <tr>
119
 
                                                <th>
120
 
                                                        <%= GetString( "LASTNAMETAG" ) %>
121
 
                                                </th>
122
 
                                        
123
 
                                                <td>
124
 
                                                        <asp:TextBox 
125
 
                                                                ID="LastName" 
126
 
                                                                Runat="server" 
127
 
                                                                CssClass="edittext"
128
 
                                                                onblur="return addLastToFull(this)" />
129
 
                                                </td>
130
 
                                        </tr>
131
 
                                        
132
 
                                        <tr>
133
 
                                                <th>
134
 
                                                        <%= GetString( "FULLNAMETAG" ) %>
135
 
                                                </th>
136
 
                                        
137
 
                                                <td>
138
 
                                                        <asp:TextBox 
139
 
                                                                ID="FullName" 
140
 
                                                                Runat="server" 
141
 
                                                                CssClass="edittext"
142
 
                                                                onchange="return fullNameChanged(this)" />
143
 
                                                </td>
144
 
                                        </tr>
145
 
 
146
 
                                        <tr>
147
 
                                                <th>
148
 
                                                        <%= GetString( "PASSWORDTAG" ) %>
149
 
                                                </th>
150
 
 
151
 
                                                <td>
152
 
                                                        <asp:TextBox 
153
 
                                                                ID="Password" 
154
 
                                                                Runat="server" 
155
 
                                                                CssClass="edittext" 
156
 
                                                                TextMode="Password" />
157
 
                                                </td>
158
 
                                        </tr>
159
 
 
160
 
                                        <tr>
161
 
                                                <th>
162
 
                                                        <%= GetString( "RETYPEPASSWORDTAG" ) %>
163
 
                                                </th>
164
 
 
165
 
                                                <td>
166
 
                                                        <asp:TextBox 
167
 
                                                                ID="RetypedPassword" 
168
 
                                                                Runat="server" 
169
 
                                                                CssClass="edittext" 
170
 
                                                                TextMode="Password" />
171
 
                                                </td>
172
 
                                        </tr>
173
 
 
174
 
                                </table>
175
 
 
176
 
                                <div align="center">
177
 
                                
178
 
                                        <asp:Button 
179
 
                                                ID="CreateButton" 
180
 
                                                Runat="server" 
181
 
                                                CssClass="ifolderbuttons" 
182
 
                                                OnClick="OnCreateButton_Click" />
183
 
 
184
 
                                        <asp:Button 
185
 
                                                ID="CancelButton" 
186
 
                                                Runat="server" 
187
 
                                                CssClass="ifolderbuttons" 
188
 
                                                OnClick="OnCancelButton_Click" />
189
 
                                                
190
 
                                </div>
191
 
                                
192
 
                        </div>
193
 
 
194
 
                </div>
195
 
 
196
 
        </div>
197
 
 
198
 
        <ifolder:Footer id="footer" runat="server" />
199
 
 
200
 
</form>
201
 
 
202
 
</body>
203
 
 
204
 
</html>