home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / modules / addressbook / export.inc < prev    next >
Text File  |  2004-03-08  |  2KB  |  57 lines

  1. <table border="0" cellpadding="5" cellspacing="0">
  2. <tr>
  3.         <td><?php echo $contacts_export_text; ?></td>
  4. </tr>
  5. <tr>
  6.     <td>
  7.     <table border="0" cellpadding="5" cellspacing="0">
  8.     <tr>
  9.         <td valign="top"><?php echo $ab_export_type; ?>:</td>
  10.         <td>
  11.         <?php
  12.             $export_type = isset($_REQUEST['export_type']) ? $_REQUEST['export_type'] : 'contacts';
  13.             $radio_list = new radio_list('export_type', $export_type);
  14.             $radio_list->add_option('contacts', 'contacts', $contacts_contacts);
  15.             echo '<br />';
  16.             $radio_list->add_option('companies', 'companies', $ab_companies);
  17.         ?>
  18.         </td>
  19.     </tr>
  20.     </table>
  21.     </td>
  22. </tr>
  23. <tr>
  24.     <td>
  25.     <?php
  26.     $seperator = isset($_POST['seperator']) ? $_POST['seperator'] : ';';
  27.     $quote = isset($_POST['quote']) ? $_POST['quote'] : '"';
  28.     $crlf = isset($_POST['crlf']) ? $_POST['crlf'] : '\r\n';
  29.     ?>
  30.     <table border="0"  cellpadding="0" cellspacing="3">
  31.     <tr>
  32.         <td><?php echo $contacts_seperator_text; ?>:</td>
  33.         <td><input class="textbox" type="text" size="3" name="seperator" value="<?php echo $seperator; ?>" /></td>
  34.     </tr>
  35.     <tr>
  36.         <td><?php echo $contacts_quote; ?>:</td>
  37.         <td><input class="textbox" type="text" size="3" name="quote" value="<?php echo $quote; ?>" /></td>
  38.     </tr>
  39.     <tr>
  40.         <td><?php echo $contacts_clrf; ?>:</td>
  41.         <td><input class="textbox" type="text" size="3" name="crlf" value="<?php echo $crlf; ?>" /></td>
  42.     </tr>
  43.     </table>
  44.     </td>
  45. </tr>
  46. <tr>
  47.     <td>
  48.     <br />
  49.     <?php
  50.     $button = new button($cmdOk, "javascript:document.forms[0].task.value='export';document.forms[0].submit();");
  51.     echo '  ';
  52.     $button = new button($cmdClose, "javascript:document.location='".$return_to."'");
  53.     ?>
  54.     </td>
  55. </tr>
  56. </table>
  57.