]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/wot/AssuranceForm.templ
UPD: cleanup tables
[gigi.git] / src / org / cacert / gigi / pages / wot / AssuranceForm.templ
index 2967515bacaba37083ae6b0d5765273d7895ca9c..3ace3b3a4cffafed6d665f000b6851a155b5fd21 100644 (file)
@@ -1,4 +1,4 @@
-<table class="wrapper dataTable" width="600">
+<table class="table">
 <thead>
 <tr><th colspan="2"><?=_Assurance Confirmation?></th></tr>
 </thead>
        </tr>
        <tr>
                <td><?=_Location?></td>
-               <td><input type="text" name="location"></td>
+               <td><input type="text" name="location" value="<?=$location?>"></td>
        </tr>
        <tr>
                <td><?=_Date?></td>
-               <td><input type="text" name="date"><br/><?=_The date when the assurance took place. Please adjust the date if you assured the person on a different day (YYYY-MM-DD).?></td>
+               <td><input type="text" name="date" value="<?=$date?>"><br/><?=_The date when the assurance took place. Please adjust the date if you assured the person on a different day (YYYY-MM-DD).?></td>
        </tr>
        <tr>
                <td><input type="checkbox" name="assertion" value="1"></td>
                <td><?=_Points?></td>
                <td><input type="text" name="points"><br/>(Max. <?=$maxpoints?>)</td>
        </tr>
+       <tr>
+               <td><?=_Type?></td>
+               <td><select name="assuranceType"><? foreach($ats) { ?><option value="<?=$id?>"<?=$sel?>><?=$type?></option><? } ?></select></td>
+       </tr>
+       <tr>
+               <td><input type="checkbox" name="passwordReset" value="1" <? if($aword) { ?>checked<? } ?>></td>
+               <td><?=_I have conducted a passwort reset with assurance. The established "A-Word" is:?><input type="text" name="passwordResetValue" value="<? if($aword) { ?><?=$aword?><? } ?>"></td>
+       </tr>
        <tr>
                <td colspan="2">
                        <input type="submit" name="process" value="<?=_I confirm this Assurance?>" />