A QCodo powered CMS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.1 KiB

  1. <div id="AddressSelectionModuleInner">
  2. <table>
  3. <tr><td>
  4. <?php $_CONTROL->objWaitIcon->Render(); ?>
  5. </td></tr>
  6. <!-- Editable display -->
  7. <?php if( $_CONTROL->Modifiable ) { ?>
  8. <tr><td>
  9. <?php
  10. $_CONTROL->lstMyPeople->Render();
  11. // $_CONTROL->btnAddPerson->Render();
  12. ?>
  13. </td></tr>
  14. <tr><td><?php $_CONTROL->txtStreet1->RenderWithName(); ?></td></tr>
  15. <tr><td><?php $_CONTROL->txtStreet2->RenderWithName(); ?></td></tr>
  16. <tr><td><?php $_CONTROL->txtSuburb->RenderWithName(); ?></td></tr>
  17. <tr><td><?php $_CONTROL->txtCity->RenderWithName(); ?></td></tr>
  18. <tr><td><?php $_CONTROL->txtCounty->RenderWithName(); ?></td></tr>
  19. <tr><td><?php $_CONTROL->lstZone->RenderWithName(); ?></td></tr>
  20. <tr><td><?php $_CONTROL->lstCountry->RenderWithName(); ?></td></tr>
  21. <tr><td><?php $_CONTROL->txtPostalCode->RenderWithName(); ?></td></tr>
  22. <tr><td><?php $_CONTROL->lstType->RenderWithName(); ?></td></tr>
  23. </table>
  24. <div class="formActions">
  25. <table width="100%"><tr><td>
  26. <div class="save"><?php $_CONTROL->btnSave->Render(); ?></div>
  27. <div class="cancel"><?php $_CONTROL->btnCancel->Render(); ?></div>
  28. </td></tr></table>
  29. </div>
  30. <!-- Passive Display .. -->
  31. <?php } else { ?>
  32. <tr><td> <?php $_CONTROL->lstMyAddresses->Render(); ?> </td></tr>
  33. <tr><td><?php $_CONTROL->lblPersonId->Render(); ?></td></tr>
  34. <tr><td><?php $_CONTROL->lblStreet1->Render(); ?></td></tr>
  35. <?php if( '' != $_CONTROL->lblStreet2->Text ) { ?>
  36. <tr><td><?php $_CONTROL->lblStreet2->Render(); ?></td></tr>
  37. <?php } ?>
  38. <?php if( '' != $_CONTROL->lblSuburb->Text ) { ?>
  39. <tr><td><?php $_CONTROL->lblSuburb->Render(); ?></td></tr>
  40. <?php } ?>
  41. <tr><td><?php $_CONTROL->lblCity->Render(); ?></td></tr>
  42. <?php if( '' != $_CONTROL->lblCounty->Text ) { ?>
  43. <tr><td><?php $_CONTROL->lblCounty->Render(); ?></td></tr>
  44. <?php } ?>
  45. <tr><td><?php $_CONTROL->lblZoneId->Render(); ?></td></tr>
  46. <tr><td><?php $_CONTROL->lblCountryId->Render(); ?></td></tr>
  47. <tr><td><?php $_CONTROL->lblPostalCode->Render(); ?></td></tr>
  48. </table>
  49. <?php } ?>
  50. </div>