1
<% /* Copyright 2009 Google Inc.
3
Licensed under the Apache License, Version 2.0 (the "License");
4
you may not use this file except in compliance with the License.
5
You may obtain a copy of the License at
7
http://www.apache.org/licenses/LICENSE-2.0
9
Unless required by applicable law or agreed to in writing, software
10
distributed under the License is distributed on an "AS-IS" BASIS,
11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
See the License for the specific language governing permissions and
13
limitations under the License. */ %><% helpers.setHtmlTitle("EtherPad PNE License Manager"); %>
14
<% helpers.includeJQuery() %>
15
<% helpers.includeJs("etherpad.js") %>
19
<% if (isExpired) { %>
21
<div class="lm-error-msg">
22
<p>Your evaluation license has expired!</p>
23
<p>Please contact <%= helpers.oemail("sales") %> or visit the <a
24
href="http://etherpad.com/ep/about/pricing-eepnet">pricing page on etherpad.com</a>
25
to purchase a license key.</p>
32
<div class="lm-notice-msg">
33
<p>The version of EtherPad you are running (<%= runningVersionString %>) is too old.
34
Please update to version <%= licenseVersionString %> or newer by <a
35
href="http://etherpad.com/ep/store/eepnet-download">downloading the latest version on
41
<% if (errorMessage) { %>
42
<div class="lm-error-msg">
43
<p><%= errorMessage %></p>
47
<% if (licenseInfo && !edit) { %>
49
<h3 class="top">License Info:</h3>
54
<td width="1%" align="right">Licensed To: </td>
55
<td width="99%"><b><%= licenseInfo.personName %></b></td>
59
<td align="right">Organization: </td>
60
<td><b><%= licenseInfo.organizationName %></b></td>
64
<td align="right">Software Edition: </td>
65
<td><b><%= licenseInfo.editionName %></b></td>
69
<td align="right">Maximum Users: </td>
70
<td><b><%= licenseInfo.userQuota %></b></td>
74
<td align="right">Licensed PNE Version: </td>
75
<td><b><%= licenseVersionString %>+</b></td>
79
<td align="right">Expires: </td>
80
<td><b><%= licenseInfo.expiresDate ? licenseInfo.expiresDate.toString() : "never" %></b></td>
86
<div id="lm-edit-button-wrap">
87
<form action="<%= request.path %>edit" method="get">
88
<input type="submit" name="btn" value="Edit License Info" />
94
<% if (isExpired || !licenseInfo || edit) { %>
96
<h3 class="top">Enter New License Info:</h3>
98
<% if (isUnlicensed) { %>
99
<p>Before you can use this copy of EtherPad Private Network Edition, you must first
100
enter a valid license. Free trial licenses can be obtained <a
102
href="https://etherpad.com/ep/store/eepnet-eval-signup">obtained here</a>.
106
<form action="<%= request.path %>" method="post">
110
<input style="width: 100%;" type="text" name="personName"
111
value="<%= toHTML(oldData.personName || "") %>" />
113
<p><b>Organization:</b></p>
114
<input style="width: 100%;" type="text" name="orgName"
115
value="<%= toHTML(oldData.orgName || "") %>" />
117
<p><b>License Key:</b></p>
118
<textarea style="width: 100%; height: 60px;"
119
name="licenseString"><%= toHTML(oldData.licenseString || "") %></textarea>
123
<div id="lm-edit-submit-wrap">
124
<input type="submit" name="submit" value="Submit" />
125
<input type="submit" name="cancel" value="Cancel" />