part.selectaddressbook.php 515 B

123456789101112131415161718
  1. <div id="selectaddressbook_dialog" title="<?php echo $l->t("Select Address Books"); ?>">
  2. <form>
  3. <table>
  4. <?php foreach($_['addressbooks'] as $idx => $addressbook) { ?>
  5. <tr>
  6. <td>
  7. <input id="book_<?php echo $addressbook['id']; ?>" name="book" type="radio" value="<?php echo $addressbook['id']; ?>" <?php echo ($idx==0?'checked="checked"':'')?>>
  8. </td>
  9. <td>
  10. <label for="book_<?php echo $addressbook['id']; ?>"><?php echo $addressbook['name']; ?></label>
  11. </td>
  12. </tr>
  13. <?php } ?>
  14. </table>
  15. </form>
  16. </div>