Commit 81276baf9085b88cddcbb30a82ed8d8f4dc5ef3d

Authored by Megan Watson
1 parent 13e76c1c

KTC-607

"Commercial 3.5.3 Login page says: 'Access to this service is subject to the KnowledgeTreeLive Terms and Conditions of use'"
Fixed. Replaced the live disclaimer with the commercial one.

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9348 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/passwordResetPlugin/templates/login_reset.smarty
1   -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2   -"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3   -<html>
4   -<head>
5   - <title>{i18n arg_appname="$appname"}Login | #appname#{/i18n}</title>
6   -
7   - {foreach from=$css item=item}
8   - <link rel='stylesheet' href='{$rootUrl}{$item}' type='text/css' />
9   - {/foreach}
10   -
11   - <link rel='stylesheet' href='{$rootUrl}/resources/css/kt-login.css' type='text/css' />
12   -
13   - <link rel='icon' href='{$rootUrl}/resources/favicon.ico' type='image/x-icon'>
14   - <link rel='shortcut icon' href='{$rootUrl}/resources/favicon.ico' type='image/x-icon'>
15   -
16   - <link rel='stylesheet' href='{$rootUrl}/resources/css/kt-ie-icons.css' type='text/css' />
17   -
18   - <script type='text/javascript' src='{$rootUrl}/thirdpartyjs/curvycorners/rounded_corners.inc.js'> </script>
19   -
20   - {foreach from=$js item=item}
21   - <script type='text/javascript' src='{$rootUrl}{$item}'> </script>
22   - {/foreach}
23   -</head>
24   -<body>
25   - <div id='loginbox_outer' {if ($disclaimer)} class='hasDisclaimer' {/if}>
26   - <div id="{if $config->get("ui/poweredByDisabled") == '0'}loginbox_skin{else}loginbox{/if}" {if ($disclaimer)} class='hasDisclaimer' {/if}>
27   - <div id='formbox'>
28   - <form action='{$smarty.server.PHP_SELF}' method='POST' name='login'>
29   - <input type='hidden' name='action' value='login' />
30   - <input type='hidden' name='cookieverify' value='{$cookietest}' />
31   - <input type='hidden' name='redirect' value='{$redirect}' />
32   - {if $config->get('ui/mainLogo') != ''}
33   - <img src="{$config->get("ui/mainLogo")}" alt="{$config->get("ui/mainLogoTitle")}" class='logoimage'/><br />
34   - {else}
35   - <img src='{$rootUrl}/resources/graphics/ktlogo-topbar-right.png' alt='{$appname}' class='logoimage' height='50' width='252'/><br />
36   - {/if}
37   - {if $smallVersion == 'Community Edition'}
38   - <span class='communityLabel'><h2>{i18n}Community Edition{/i18n}</h2></span>
39   - {/if}
40   - <div id='messages' class='ktErrorMessage'></div>
41   - <div id='login_form'>
42   - {if ($errorMessage == null)}
43   - <p class='descriptiveText'>{i18n}Please enter your details below to login.{/i18n}</p>
44   - {else}
45   - <div class='ktErrorMessage'><span>
46   - {if ($errorMessage == $errorMessageConfirm)}
47   - {$errorMessage}
48   - {else}
49   - {$errorMessage|sanitize}
50   - {/if}
51   - </span></div>
52   - {/if}
53   -
54   - <label for='username'>{i18n}Username{/i18n}</label>
55   - <input type='text' id='username' name='username'/>
56   - <label for='password'>{i18n}Password{/i18n}</label>
57   - <input type='password' id='password' name='password'/>
58   -
59   - <label for='language'>{i18n}Language{/i18n}</label>
60   - <select id='language' name='language'>
61   - {foreach from=$languages key=sLang item=sLanguageName}
62   - <option value='{$sLang}' {if $sLang == $selected_language}SELECTED='yes'{/if}>{$sLanguageName}</option>
63   - {/foreach}
64   - </select>
65   - <div class='form_actions'>
66   - <input type='submit' value='{i18n}Login{/i18n}' />
67   - <p class='smaller'><a href='#' onclick='showBox();'>{i18n}Forgot your password?{/i18n}</a></p>
68   - </div>
69   - </div>
70   - </form>
71   - </div>
72   -
73   - <div id='forgot_box'>
74   - <form name='forgot_form' action='' method='POST'>
75   - <p class='descriptiveText'>{i18n}Enter your username and email address. A link will be mailed to you in order to verify your email address.{/i18n}</p>
76   -
77   - <label for='reset_username'>{i18n}Username{/i18n}</label>
78   - <input type='text' id='reset_username' name='reset_username' />
79   - <br />
80   - <label for='reset_email'>{i18n}Email Address{/i18n}</label>
81   - <input type='text' id='reset_email' name='reset_email' />
82   - <br />
83   - <div class='form_actions'>
84   - <input type='button' onclick='javascript: sendEmailRequest("{$sUrl}sendResetRequest");' value="{i18n}Send password link{/i18n}" />
85   - <input type='button' onclick='javascript: hideBox();' value='{i18n}Back{/i18n}' />
86   - </div>
87   - </form>
88   - <br />
89   - <br />
90   - <br />
91   - </div>
92   -
93   - <div id='reset_box'>
94   - <form name='reset_form' action='' method='POST'>
95   - <p class='descriptiveText'>{i18n}Please enter your username and email address.{/i18n}</p>
96   -
97   - <label for='new_username'>{i18n}Username{/i18n}</label>
98   - <input type='text' id='new_username' name='new_username' /><br />
99   -
100   - <label for='new_email'>{i18n}Email Address{/i18n}</label>
101   - <input type='text' id='new_email' name='new_email' /><br />
102   -
103   - <label for='new_password'>{i18n}New password{/i18n}</label>
104   - <input type='password' id='new_password' name='new_password' /><br />
105   -
106   - <label for='new_password_repeat'>{i18n}Confirm new password{/i18n}</label>
107   - <input type='password' id='new_password_repeat' name='new_password_repeat'><br />
108   -
109   - <div class='form_actions'>
110   - <input type='button' onclick='javascript: resetPassword("{$sUrl}resetPassword");' value='{i18n}Reset password{/i18n}' />
111   - <input type='button' onclick='javascript: hideResetBox();' value='{i18n}Cancel{/i18n}' />
112   - </div>
113   - </form>
114   - </div>
115   -
116   - {if ($disclaimer)}
117   - <div id='disclaimerbox'>
118   - <p>{$disclaimer}</p>
119   - </div>
120   - {/if}
121   - <p class='descriptiveText version'>
122   - <br>
123   - {* Added for live *}
124   - {i18n}Access to this service is subject to the KnowledgeTreeLive <a href="http://www.knowledgetree.com/about/legal/live">Terms and Conditions</a> of use.{/i18n}<br/>
125   - {i18n}&copy; 2008 <a href="http://www.knowledgetree.com/">KnowledgeTree Inc.</a> All Rights Reserved{/i18n}
126   -
127   - {* Removed for live
128   - {i18n arg_appname="$appname"}#appname# Version{/i18n} {$versionName}<br/>
129   - {i18n}<a href="http://www.knowledgetree.com/">Document Management Software</a>{/i18n}<br>
130   - {i18n}&copy; 2008 <a href="http://www.knowledgetree.com/">KnowledgeTree Inc.</a>{/i18n}<br><br>
131   - {if ($smallVersion == 'Community Edition')}
132   - {i18n}This program is free software and published under the <a href=" http://www.gnu.org/licenses/">GNU General Public License version 3</a>{/i18n}<br>
133   - {else}
134   - {i18n}All rights reserved.{/i18n}<br>
135   - {/if}
136   - *}
137   - </p>
138   - <br />
139   - <div id='bottomspacer'></div>
140   - <div class='floatClear'></div>
141   - </div>
142   - </div>
143   -
144   - {if $reset_password}
145   - <script type='text/javascript'>showResetBox();</script>
146   - {else}
147   - <script type='text/javascript'>hideResetBox(); document.getElementById('username').focus();</script>
148   - {/if}
149   -</body>
150   -</html>
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2 +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3 +<html>
  4 +<head>
  5 + <title>{i18n arg_appname="$appname"}Login | #appname#{/i18n}</title>
  6 +
  7 + {foreach from=$css item=item}
  8 + <link rel='stylesheet' href='{$rootUrl}{$item}' type='text/css' />
  9 + {/foreach}
  10 +
  11 + <link rel='stylesheet' href='{$rootUrl}/resources/css/kt-login.css' type='text/css' />
  12 +
  13 + <link rel='icon' href='{$rootUrl}/resources/favicon.ico' type='image/x-icon'>
  14 + <link rel='shortcut icon' href='{$rootUrl}/resources/favicon.ico' type='image/x-icon'>
  15 +
  16 + <link rel='stylesheet' href='{$rootUrl}/resources/css/kt-ie-icons.css' type='text/css' />
  17 +
  18 + <script type='text/javascript' src='{$rootUrl}/thirdpartyjs/curvycorners/rounded_corners.inc.js'> </script>
  19 +
  20 + {foreach from=$js item=item}
  21 + <script type='text/javascript' src='{$rootUrl}{$item}'> </script>
  22 + {/foreach}
  23 +</head>
  24 +<body>
  25 + <div id='loginbox_outer' {if ($disclaimer)} class='hasDisclaimer' {/if}>
  26 + <div id="{if $config->get("ui/poweredByDisabled") == '0'}loginbox_skin{else}loginbox{/if}" {if ($disclaimer)} class='hasDisclaimer' {/if}>
  27 + <div id='formbox'>
  28 + <form action='{$smarty.server.PHP_SELF}' method='POST' name='login'>
  29 + <input type='hidden' name='action' value='login' />
  30 + <input type='hidden' name='cookieverify' value='{$cookietest}' />
  31 + <input type='hidden' name='redirect' value='{$redirect}' />
  32 + {if $config->get('ui/mainLogo') != ''}
  33 + <img src="{$config->get("ui/mainLogo")}" alt="{$config->get("ui/mainLogoTitle")}" class='logoimage'/><br />
  34 + {else}
  35 + <img src='{$rootUrl}/resources/graphics/ktlogo-topbar-right.png' alt='{$appname}' class='logoimage' height='50' width='252'/><br />
  36 + {/if}
  37 + {if $smallVersion == 'Community Edition'}
  38 + <span class='communityLabel'><h2>{i18n}Community Edition{/i18n}</h2></span>
  39 + {/if}
  40 + <div id='messages' class='ktErrorMessage'></div>
  41 + <div id='login_form'>
  42 + {if ($errorMessage == null)}
  43 + <p class='descriptiveText'>{i18n}Please enter your details below to login.{/i18n}</p>
  44 + {else}
  45 + <div class='ktErrorMessage'><span>
  46 + {if ($errorMessage == $errorMessageConfirm)}
  47 + {$errorMessage}
  48 + {else}
  49 + {$errorMessage|sanitize}
  50 + {/if}
  51 + </span></div>
  52 + {/if}
  53 +
  54 + <label for='username'>{i18n}Username{/i18n}</label>
  55 + <input type='text' id='username' name='username'/>
  56 + <label for='password'>{i18n}Password{/i18n}</label>
  57 + <input type='password' id='password' name='password'/>
  58 +
  59 + <label for='language'>{i18n}Language{/i18n}</label>
  60 + <select id='language' name='language'>
  61 + {foreach from=$languages key=sLang item=sLanguageName}
  62 + <option value='{$sLang}' {if $sLang == $selected_language}SELECTED='yes'{/if}>{$sLanguageName}</option>
  63 + {/foreach}
  64 + </select>
  65 + <div class='form_actions'>
  66 + <input type='submit' value='{i18n}Login{/i18n}' />
  67 + <p class='smaller'><a href='#' onclick='showBox();'>{i18n}Forgot your password?{/i18n}</a></p>
  68 + </div>
  69 + </div>
  70 + </form>
  71 + </div>
  72 +
  73 + <div id='forgot_box'>
  74 + <form name='forgot_form' action='' method='POST'>
  75 + <p class='descriptiveText'>{i18n}Enter your username and email address. A link will be mailed to you in order to verify your email address.{/i18n}</p>
  76 +
  77 + <label for='reset_username'>{i18n}Username{/i18n}</label>
  78 + <input type='text' id='reset_username' name='reset_username' />
  79 + <br />
  80 + <label for='reset_email'>{i18n}Email Address{/i18n}</label>
  81 + <input type='text' id='reset_email' name='reset_email' />
  82 + <br />
  83 + <div class='form_actions'>
  84 + <input type='button' onclick='javascript: sendEmailRequest("{$sUrl}sendResetRequest");' value="{i18n}Send password link{/i18n}" />
  85 + <input type='button' onclick='javascript: hideBox();' value='{i18n}Back{/i18n}' />
  86 + </div>
  87 + </form>
  88 + <br />
  89 + <br />
  90 + <br />
  91 + </div>
  92 +
  93 + <div id='reset_box'>
  94 + <form name='reset_form' action='' method='POST'>
  95 + <p class='descriptiveText'>{i18n}Please enter your username and email address.{/i18n}</p>
  96 +
  97 + <label for='new_username'>{i18n}Username{/i18n}</label>
  98 + <input type='text' id='new_username' name='new_username' /><br />
  99 +
  100 + <label for='new_email'>{i18n}Email Address{/i18n}</label>
  101 + <input type='text' id='new_email' name='new_email' /><br />
  102 +
  103 + <label for='new_password'>{i18n}New password{/i18n}</label>
  104 + <input type='password' id='new_password' name='new_password' /><br />
  105 +
  106 + <label for='new_password_repeat'>{i18n}Confirm new password{/i18n}</label>
  107 + <input type='password' id='new_password_repeat' name='new_password_repeat'><br />
  108 +
  109 + <div class='form_actions'>
  110 + <input type='button' onclick='javascript: resetPassword("{$sUrl}resetPassword");' value='{i18n}Reset password{/i18n}' />
  111 + <input type='button' onclick='javascript: hideResetBox();' value='{i18n}Cancel{/i18n}' />
  112 + </div>
  113 + </form>
  114 + </div>
  115 +
  116 + {if ($disclaimer)}
  117 + <div id='disclaimerbox'>
  118 + <p>{$disclaimer}</p>
  119 + </div>
  120 + {/if}
  121 + <p class='descriptiveText version'>
  122 + <br>
  123 + {i18n arg_appname="$appname"}#appname# Version{/i18n} {$versionName}<br/>
  124 + {i18n}<a href="http://www.knowledgetree.com/">Document Management Software</a>{/i18n}<br>
  125 + {i18n}&copy; 2008 <a href="http://www.knowledgetree.com/">KnowledgeTree Inc.</a>{/i18n}<br><br>
  126 + {if ($smallVersion == 'Community Edition')}
  127 + {i18n}This program is free software and published under the <a href=" http://www.gnu.org/licenses/">GNU General Public License version 3</a>{/i18n}<br>
  128 + {else}
  129 + {i18n}All rights reserved.{/i18n}<br>
  130 + {/if}
  131 + </p>
  132 + <br />
  133 + <div id='bottomspacer'></div>
  134 + <div class='floatClear'></div>
  135 + </div>
  136 + </div>
  137 +
  138 + {if $reset_password}
  139 + <script type='text/javascript'>showResetBox();</script>
  140 + {else}
  141 + <script type='text/javascript'>hideResetBox(); document.getElementById('username').focus();</script>
  142 + {/if}
  143 +</body>
  144 +</html>
... ...