source: extensions/Slim/template/register.tpl @ 23343

Last change on this file since 23343 was 18811, checked in by Miklfe, 12 years ago
File size: 2.4 KB
Line 
1{php}   global $Slim;   $this->assign( 'Slim', $Slim );{/php}
2
3{if ($Slim.style_slim)==1}
4{php}
5header("Refresh: 2; index.php" );
6{/php}
7
8<div>
9<h3>{'You are not authorized to access the requested page'|@translate}</h3>
10</div>
11{else}
12<div id="registerPage">
13
14{$MENUBAR}
15<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
16<div id="infoBlock">
17<div class="titrePage">
18        <ul class="categoryActions">
19        </ul>
20        <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Registration'|@translate}</h2>
21</div>
22</div>
23
24{include file='infos_errors.tpl'}
25
26<form method="post" action="{$F_ACTION}" class="properties" name="register_form">
27  <fieldset>
28    <div class="fielTit"><h2>{'Enter your personnal informations'|@translate}</div></h2>
29
30    <ul>
31      <li>
32        <span class="property">
33          <label for="login">* {'Username'|@translate}</label>
34        </span>
35        <input type="text" name="login" id="login" value="{$F_LOGIN}" >
36      </li>
37      <li>
38        <span class="property">
39          <label for="password">* {'Password'|@translate}</label>
40        </span>
41        <input type="password" name="password" id="password" >
42      </li>
43      <li>
44        <span class="property">
45          <label for="password_conf">* {'Confirm Password'|@translate}</label>
46        </span>
47        <input type="password" name="password_conf" id="password_conf" >
48      </li>
49      <li>
50        <span class="property">
51          <label for="mail_address">{if $obligatory_user_mail_address}* {/if}{'Email address'|@translate}</label>
52        </span>
53        <input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" >
54      {if not $obligatory_user_mail_address}
55        ({'useful when password forgotten'|@translate})
56      {/if}
57      </li>
58      <li>
59        <span class="property">
60          <label for="send_password_by_mail">{'Send my connection settings by email'|@translate}</label>
61        </span>
62        <input type="checkbox" name="send_password_by_mail" id="send_password_by_mail" value="1" checked="checked">
63      </li>
64    </ul>
65
66  </fieldset>
67
68  <p class="bottomButtons">
69                <input type="hidden" name="key" value="{$F_KEY}" >
70    <input class="submit" type="submit" name="submit" value="{'Register'|@translate}">
71    <input class="submit" type="reset" value="{'Reset'|@translate}">
72  </p>
73
74</form>
75
76<script type="text/javascript"><!--
77document.register_form.login.focus();
78//--></script>
79
80</div> <!-- content -->
81</div> <!-- registerPage -->
82{/if}
Note: See TracBrowser for help on using the repository browser.