Revision 213, 0.7 KB
(checked in by ralle030583, 15 years ago)
|
All files (i hope i havent forgott something) was modified to use the the config in this way:
- config::get($key)
- config::del($key)
- config::set($key,value)
Exception Templates/Smarty?:
The templates still uses $config->get($key) and $config->set($key,$value) cause
it seems that smarty dont like the :: notification
|
Line | |
---|
1 | <form method="post" action="?a=register"> |
---|
2 | {if $error} |
---|
3 | {include file=error.tpl} |
---|
4 | <br/><br/> |
---|
5 | {/if} |
---|
6 | <table class="kb-subtable"> |
---|
7 | <tr> |
---|
8 | <td width="160"><b>Login:</b></td> |
---|
9 | <td><input type="text" name="usrlogin" maxlength="40"{if $user_name} value="{$user_name}" disabled="true" readonly="readonly"{/if}></td> |
---|
10 | </tr> |
---|
11 | <tr> |
---|
12 | <td width="160"><b>Password:</b></td> |
---|
13 | <td><input type="password" name="usrpass" maxlength="32"></td> |
---|
14 | </tr> |
---|
15 | {if $config->get('user_regpass')} |
---|
16 | <tr> |
---|
17 | <td width="160"><b>Registration Password:</b></td> |
---|
18 | <td><input type="password" name="regpass" maxlength="32"></td> |
---|
19 | </tr> |
---|
20 | {/if} |
---|
21 | <tr> |
---|
22 | <td width="160"> </td> |
---|
23 | <td><input type="submit" name="submit" value="Create"></td> |
---|
24 | </tr> |
---|
25 | </table> |
---|
26 | </form> |
---|