]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/account/certs/CertificateIssueForm.templ
ADD: Organisation selection in certificateIssueForm
[gigi.git] / src / org / cacert / gigi / pages / account / certs / CertificateIssueForm.templ
index ea23e332f512aed4203ff960326c2937d34e3b8b..a9971f8d87dc62fa61d5c1813f8cd6331d0f6a73 100644 (file)
     </select>
     </td>
   </tr>
+  <? if($orga) { ?>
+  <tr> 
+    <td>
+      <label for='org'><?=_Organisation?></label>
+    </td>  
+    <td><select name="org" id='org'>
+      <option value="-1"><?=_(none)?></option>
+    <? foreach($orga) { ?>
+      <option value="<?=$key?>"><?=$name?></option>
+    <? } ?>
+    </select></td>
+  </tr>
+  <? } ?>
   <tr>
     <td>
     <label for='CN'><?=_Your name?></label>