Code

Updated registriation process.
[gosa.git] / gosa-core / plugins / generic / dashBoard / Register / register.tpl
index 76b6f43c3067c6e60daa80bdb2f5167fa94548f3..e1ee7723cc77ae0b6bd6adb1a168fbcaa0d67fb0 100644 (file)
 
 {if $step == 1}
 
+    {if $default == ""}
+        <b>{t}Selected registration type:{/t} {$default}</b>
+    {elseif $default == "annonym"}
+        <b>{t}Selected registration type:{/t} {$default}</b>
+    {elseif $default == "registered"}
+        
+        <p>
+            {t}Please fill in the fields below.{/t}
+            <br>
+            <i>({$must} {t}Required fields{/t})</i>
+        </p>
+
+
+        <table style='width:100%;'>
+            <tr> 
+                <td style='width:180px;'><LABEL for="mailAddress">{t}Mail-address{/t}{$must}</LABEL></td>
+                <td>
+                    <input type='text' name="mailAddress" value="{$mailAddress}" id="mailAddress">
+                </td>
+            </tr>
+            <tr> 
+                <td style='width:180px;'><LABEL for="surname">{t}Surname{/t}{$must}</LABEL></td>
+                <td>
+                    <input type='text' name="surname" value="{$surname}" id="surname">
+                </td>
+            </tr>
+            <tr> 
+                <td style='width:180px;'><LABEL for="givenName">{t}Given name{/t}{$must}</LABEL></td>
+                <td>
+                    <input type='text' name="givenName" value="{$givenName}" id="givenName">
+                </td>
+            </tr>
+            <tr> 
+                <td style='width:180px;'><LABEL for="company">{t}Company{/t}{$must}</LABEL></td>
+                <td>
+                    <input type='text' name="company" value="{$company}" id="company">
+                </td>
+            </tr>
+            <tr> 
+                <td style='width:180px;'><LABEL for="clients">{t}Amount of managed clients{/t}{$must}</LABEL></td>
+                <td>
+                    <input type='text' name="clients" value="{$clients}" id="clients">
+                </td>
+            </tr>
+            <tr> 
+                <td style='width:180px;'><LABEL for="knownFrom">{t}Where do you know GOsa from?{/t}{$must}</LABEL></td>
+                <td>
+                    <input type='text' name="knownFrom" value="{$knownFrom}" id="knownFrom">
+                </td>
+            </tr>
+        </table>
+       
+
+    {/if}
+
     <hr>
     <div class="plugin-actions">
         <button name='stepBack'>{msgPool type=backButton}</button>
+        <button name='registerNow'>{msgPool type=okButton}</button>
     </div>
 {/if}
 
         <button name='stepBack'>{msgPool type=backButton}</button>
     </div>
 {/if}
+
+{if $step == 200}
+   <h3>VERIFY TEXTS!!!</h3> You have receifed a mail, bafasel, please click link and so on.
+
+{/if}