$toolbar->icon_list['save']['params'] = 'onclick="submitToDo(\'save\')"'; $toolbar->icon_list['delete']['show'] = false; $toolbar->icon_list['print']['show'] = false; echo $toolbar->build_toolbar(); // Build the page ?> <h1><?php echo PAGE_TITLE; ?> </h1> <table style="border-style:none;margin-left:auto;margin-right:auto"> <tr> <td><?php echo IMPORT_ORDER_SELECT; ?> </td> </tr> <tr> <td align="center"><?php echo html_file_field('file_name') . '<br /><br />'; ?> </td> </tr> <tr> <td><?php echo IMPORT_ORDER_DIRECTIONS; ?> </td> </tr> </table> </form>
} ?> <div id="tab_chart_of_accounts"> <?php echo $chart_of_accounts_toolbar->build_toolbar(); ?> <h1><?php echo $chart_of_accounts->title; ?> </h1> <div align="center"> <?php echo GL_SELECT_STD_CHART . html_pull_down_menu('std_chart', $sel_chart); ?> <?php echo GL_CHART_IMPORT_DESC . html_file_field('file_name') . '<br />'; ?> <?php echo html_checkbox_field('delete_chart', '1', false) . GL_CHART_REPLACE; ?> <?php echo html_button_field('import', TEXT_IMPORT, 'onclick="submitToDo(\'import\')"'); ?> <?php echo '<br />' . GL_CHART_DELETE_WARNING; ?> </div> <div id="chart_of_accounts_content"><?php echo $chart_of_accounts->build_main_html(); ?> </div>
?> </td> </tr> <?php } else { echo ' <tr style="display:none"><td colspan="2">' . chr(10); echo html_pull_down_menu('ship_carrier', gen_null_pull_down(), '', 'style="visibility:hidden"'); echo html_pull_down_menu('ship_service', gen_null_pull_down(), '', 'style="visibility:hidden"'); echo html_hidden_field('ship_gl_acct_id', ''); echo html_hidden_field('freight', '0') . chr(10); echo ' </td></tr>' . chr(10); } ?> <tr> <td><?php echo TEXT_SELECT_FILE_TO_ATTACH . ' ' . html_file_field('file_name'); ?> </td> <td align="right"> <?php echo $account_type == 'v' ? ORD_PURCHASE_TAX . ' ' : ORD_SALES_TAX . ' '; echo ' ' . html_input_field('sales_tax', $currencies->format($order->sales_tax ? $order->sales_tax : '0.00', true, $order->currencies_code, $order->currencies_value), 'readonly="readonly" size="15" maxlength="20" onchange="updateTotalPrices()" style="text-align:right"'); ?> </td> </tr> <tr> <td><div id="show_attach" style="display:none"> <?php echo html_checkbox_field('rm_attach', '1', $order->del_attach ? true : false, '', '') . ' ' . TEXT_DELETE_ATTACHMENT; ?> <?php
$docbar->icon_list['lock'] = array('show' => true, 'icon' => 'actions/system-lock-screen.png', 'params' => 'onclick="docAction(\'lock\')"', 'text' => TEXT_LOCK_DOC, 'order' => 50); } if ($security_level > 2 && !$checked_out) { $docbar->icon_list['check_out'] = array('show' => true, 'icon' => 'actions/mail-forward.png', 'params' => 'onclick="submitSeq(' . $id . ',\'check_out\', true)"', 'text' => TEXT_CHECKOUT_DOC, 'order' => 60); } if ($security_level > 3 && $checked_out && $checkout_id == $_SESSION['admin_id']) { $docbar->icon_list['del_checkout'] = array('show' => true, 'icon' => 'actions/mail-mark-not-junk.png', 'params' => 'onclick="submitSeq(' . $id . ',\'del_checkout\')"', 'text' => TEXT_CANCEL_CHECKOUT, 'order' => 65); } $fieldset_content .= $docbar->build_toolbar() . chr(10); $fieldset_content .= html_hidden_field('id', $doc_details->fields['id']) . chr(10); $fieldset_content .= TEXT_DOCUMENT . html_input_field('title', $doc_details->fields['title'], 'size="64"') . chr(10); // build the table contents $fieldset_content .= '<table width="100%" cellspacing="0" cellpadding="4">' . chr(10); $fieldset_content .= '<tr><td colspan="2">' . $dir_path . '</td></tr>' . chr(10); $fieldset_content .= '<tr><td colspan="2">' . html_textarea_field('description', 75, 3, $doc_details->fields['description'], '', true) . '</td></tr>' . chr(10); $fieldset_content .= '<tr><td colspan="2">' . TEXT_UPLOAD_FILE . ' ' . html_file_field('docfile') . '</td></tr>' . chr(10); // column 1 $fieldset_content .= '<tr><td width="50%" valign="top">' . chr(10); $fieldset_content .= ' <table class="ui-widget" style="border-collapse:collapse;width:100%">'; $fieldset_content .= ' <thead class="ui-widget-header">' . chr(10); $fieldset_content .= ' <tr>' . chr(10); $fieldset_content .= ' <th colspan="2">' . TEXT_PROPERTIES . '</th>' . chr(10); $fieldset_content .= ' </tr>' . chr(10); $fieldset_content .= ' </thead>' . chr(10); $fieldset_content .= ' <tbody class="ui-widget-content">' . chr(10); $fieldset_content .= ' <tr>' . chr(10); $fieldset_content .= ' <td>' . TEXT_FILENAME . '</td>' . chr(10); $fieldset_content .= ' <td>' . $doc_details->fields['file_name'] . '</td>' . chr(10); $fieldset_content .= ' </tr><tr>' . chr(10); $fieldset_content .= ' <td>' . TEXT_OWNER . '</td>' . chr(10); $fieldset_content .= ' <td>' . get_owner_name($doc_details->fields['doc_owner']) . '</td>' . chr(10);
<tr class="ui-widget-header"> <th colspan="2"><?php echo PHREEFORM_DEFIMP; ?> </th> </tr> <tr> <td><?php echo ReadDefReports('RptFileName', $import_path); ?> </td> </tr> <tr> <td> <?php echo PHREEFORM_RPTBROWSE . ' ' . html_file_field('reportfile'); ?> </td> </tr> <tr> <td> <?php echo PHREEFORM_RPTENTER . '<br />' . PHREEFORM_RPTNOENTER; ?> <?php echo html_input_field('reportname', $reportname, 'size="32" maxlength="30"'); ?> </td> <td align="right"> <?php echo html_button_field('import_one', TEXT_IMPORT_ONE, 'onclick="submitToDo(\'import_one\')"') . chr(10);
<td class="main"><?php echo ASSETS_ENTRY_SELECT_IMAGE . ' (' . TEXT_REMOVE . ' ' . html_checkbox_field('remove_image', '1', $cInfo->remove_image) . ')'; ?> </td> </tr> <tr> <td class="main"><?php echo ASSETS_ENTRY_ASSETS_DESC_SHORT; ?> </td> <td class="main"><?php echo html_input_field('description_short', $cInfo->description_short, 'size="33" maxlength="32"', false); ?> </td> <td class="main"><?php echo html_file_field('asset_image'); ?> </td> </tr> <tr> <td class="main"><?php echo ASSETS_ENTRY_ASSETS_TYPE; ?> </td> <td class="main"><?php echo html_hidden_field('asset_type', $cInfo->asset_type); echo html_input_field('inv_type_desc', $assets_types[$cInfo->asset_type], 'readonly', false); ?> </td> <td class="main"><?php echo ASSETS_ENTRY_IMAGE_PATH;
<td class="main"><?php echo INV_ENTRY_INVENTORY_DESC_SHORT; ?> </td> <td class="main"> <?php echo html_input_field('description_short', $cInfo->description_short, 'size="33" maxlength="32"', false); ?> <?php if ($cInfo->id) { echo ' ' . html_icon('categories/preferences-system.png', TEXT_WHERE_USED, 'small', 'onclick="ajaxWhereUsed()"') . chr(10); } ?> </td> <td class="main"><?php echo html_file_field('inventory_image'); ?> </td> </tr> <tr> <td class="main"><?php echo INV_ENTRY_INVENTORY_TYPE; ?> </td> <td class="main"><?php echo html_hidden_field('inventory_type', $cInfo->inventory_type); echo html_input_field('inv_type_desc', $inventory_types_plus[$cInfo->inventory_type], 'readonly="readonly"', false); ?> </td> <td class="main"><?php echo INV_ENTRY_IMAGE_PATH;
<tr> <td><?php echo html_button_field('ship_' . $method_id, SHIPPING_SHIP_PACKAGE, 'onclick="window.open(\'index.php?module=shipping&page=popup_label_mgr&method=' . $method_id . '\',\'popup_label_mgr\',\'width=800,height=700,resizable=1,scrollbars=1,top=50,left=50\')"'); ?> </td> <td><?php echo html_button_field('ship_log_' . $method_id, SHIPPING_CREATE_ENTRY, 'onclick="window.open(\'index.php?module=shipping&page=popup_tracking&method=' . $method_id . '&action=new\',\'popup_tracking\',\'width=550,height=350,resizable=1,scrollbars=1,top=150,left=200\')"'); ?> </td> <td><?php echo html_button_field('close_' . $method_id, SRV_TRACK_FEDEX_V7, 'onclick="submitAction(\'' . $method_id . '\', \'track\')"'); ?> </td> <td> <?php echo html_file_field('file_name') . ' '; ?> <?php echo html_button_field('recon_' . $method_id, SHIPPING_RECON_BILL, 'onclick="submitAction(\'' . $method_id . '\', \'reconcile\')"'); ?> </td> </tr> </table> <table class="ui-widget" style="border-collapse:collapse;width:100%"> <thead class="ui-widget-header"> <tr> <th colspan="8"><?php echo SHIPPING_FEDEX_V7_SHIPMENTS_ON . gen_locale_date($date); ?> </th> </tr>
$toolbar->icon_list['cancel']['params'] = 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, '', 'SSL') . '\'"'; $toolbar->icon_list['open']['show'] = false; if ($security_level > 1) { $toolbar->icon_list['save']['params'] = 'onclick="submitToDo(\'import\')"'; } else { $toolbar->icon_list['save']['show'] = false; } $toolbar->icon_list['delete']['show'] = false; $toolbar->icon_list['print']['show'] = false; echo $toolbar->build_toolbar(); // Build the page ?> <h1><?php echo PAGE_TITLE; ?> </h1> <table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"> <thead class="ui-widget-header"> <tr><td><?php echo AMAZON_IMPORT_PAYMENT; ?> </td></tr> </thead> <tbody class="ui-widget-content"> <tr><td align="center"><?php echo html_file_field($upload_name) . '<br /><br />'; ?> </td></tr> </tbody> </table> </form>
if ($search_text) { $toolbar->search_text = $search_text; } $toolbar->search_period = $acct_period; echo $toolbar->build_toolbar($add_search = true, $add_periods = true); // Build the page ?> <h1><?php echo 'Amazon Import Tool'; ?> </h1> <table class="ui-widget" style="border-stylenone;width:100%"> <tbody class="ui-widget-content"> <tr> <td align="center"><?php echo 'Select order file to import from Amazon: ' . html_file_field('file_name'); ?> </td> <td align="right"><?php echo 'Maximum results per page ' . html_pull_down_menu('pull_down_max', $display_length, $max_list, 'onchange="changePageResults();"'); ?> </td> </tr> <tr> <td align="center"> <?php echo 'Select the date to build the Amazon ship confirmation on: ' . html_calendar_field($cal_pps) . ' '; ?> <?php echo html_button_field('confirm', 'Build Confirmation File', 'onclick="submitToDo(\'ship_confirm\', true)"'); ?>
echo GL_BB_IMPORT_HELP_MSG; ?> </td> <td align="right"><?php echo html_button_field('import_so', GL_BB_IMPORT_SALES_ORDERS, 'onclick="submitToDo(\'import_so\')"'); ?> </td> </tr> <tr><td colspan="2"><hr /></td></tr> <tr> <td><h3><?php echo GL_BB_IMPORT_RECEIVABLES; ?> </h3></td> <td align="right"><?php echo html_file_field('file_name_ar'); ?> </td> </tr> <tr> <td><?php echo GL_BB_IMPORT_HELP_MSG; ?> </td> <td align="right"><?php echo html_button_field('import_ar', GL_BB_IMPORT_RECEIVABLES, 'onclick="submitToDo(\'import_ar\')"'); ?> </td> </tr> </tbody> </table>
?> </td> </tr> <tr class="dataTableHeadingRow"> <td colspan="2" class="dataTableHeadingContent"><?php echo IE_OPTIONS_IMPORT_SETTINGS; ?> </td> </tr> <tr> <td><?php echo IE_OPTIONS_IMPORT_PATH; ?> </td> <td><?php echo html_file_field('import_file_name'); ?> </td> </tr> <tr> <td><?php echo IE_OPTIONS_INCLUDE_NAMES; ?> </td> <td><?php echo html_checkbox_field('imp_headings', '1', $options['imp_headings'], '', $parameters = ''); ?> </td> </tr> <tr class="dataTableHeadingRow"> <td colspan="2" class="dataTableHeadingContent"><?php
function box_build($properties, $i) { global $kFonts, $kFontSizes, $kFontAlign, $kFontColors, $cFields; global $kFields, $kTblFields, $pFields, $tProcessing, $BarCodeTypes; $output = NULL; switch ($properties->type) { case 'BarCode': $output = '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . nl; $output .= ' <thead class="ui-widget-header">' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . TEXT_FIELDNAME . '</th>' . nl; $output .= ' <th>' . TEXT_TYPE . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . html_combo_box('box_fld_' . $i . '[]', $kFields, $properties->boxfield[0]->fieldname, 'onclick="updateFieldList(this)"') . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_proc_' . $i . '[]', gen_build_pull_down($BarCodeTypes), $properties->boxfield[0]->processing) . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' </tbody></table>' . nl; $output .= box_build_attributes($properties, $i, false, false); break; case 'CBlk': $output .= '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><tr><td>' . nl; $output .= ' <table id="box_Cblk' . $i . '" class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><thead class="ui-widget-header">' . nl; $output .= ' <tr><th colspan="4">' . TEXT_FIELD_LIST . '</th></tr>' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . TEXT_FIELDNAME . '</th>' . nl; $output .= ' <th>' . TEXT_SEPARATOR . '</th>' . nl; $output .= ' <th>' . TEXT_PROCESSING . '</th>' . nl; $output .= ' <th>' . TEXT_ACTION . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; for ($j = 0; $j < sizeof($properties->boxfield); $j++) { $output .= ' <tr>' . nl; $output .= ' <td>' . html_pull_down_menu('box_fld_' . $i . '[]', $cFields, $properties->boxfield[$j]->fieldname) . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_proc_' . $i . '[]', $tProcessing, $properties->boxfield[$j]->processing) . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_fmt_' . $i . '[]', $pFields, $properties->boxfield[$j]->formatting) . '</td>' . nl; $output .= ' <td nowrap="nowrap" align="right">'; $output .= html_icon('actions/view-fullscreen.png', TEXT_MOVE, 'small', 'style="cursor:move"', '', '', 'move_cblk_' . $i . '_' . $j) . chr(10); $output .= html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . TEXT_DELETE_ENTRY . '\')) $(this).parent().parent().remove();"'); $output .= ' </td>' . nl; $output .= ' </tr>' . nl; } $output .= ' </tbody></table>' . nl; $output .= ' </td>' . nl; $output .= ' <td valign="bottom">' . html_icon('actions/list-add.png', TEXT_ADD, 'small', 'onclick="rowAction(\'box_Cblk\', \'add\', ' . $i . ')"') . '</td>' . nl; $output .= '</tr></table>' . nl; $output .= box_build_attributes($properties, $i); $output .= '<script type="text/javascript">tableInit[tableCount] = \'box_Cblk' . $i . '\'; tableCount++;</script>' . nl; break; case 'CDta': $output = '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . nl; $output .= ' <thead class="ui-widget-header">' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . TEXT_FIELDNAME . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; $output .= ' <tr>' . nl; $output .= ' <td align="center">' . html_pull_down_menu('box_fld_' . $i . '[]', $cFields, $properties->boxfield[0]->fieldname) . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' </tbody></table>' . nl; $output .= box_build_attributes($properties, $i); break; case 'Data': $output = '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . nl; $output .= ' <thead class="ui-widget-header">' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . PHREEFORM_TBLFNAME . '</th>' . nl; $output .= ' <th>' . TEXT_PROCESSING . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . html_combo_box('box_fld_' . $i . '[]', $kFields, $properties->boxfield[0]->fieldname, 'onclick="updateFieldList(this)"') . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_proc_' . $i . '[]', $pFields, $properties->boxfield[0]->processing) . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' </tbody></table>' . nl; $output .= box_build_attributes($properties, $i); break; case 'Img': $output = '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . nl; $output .= ' <thead class="ui-widget-header">' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . TEXT_CURRENT_IMAGE . '</td>' . nl; $output .= ' <td align="center">' . nl; $output .= !$properties->filename ? TEXT_NO_IMAGE_SELECTED : html_image(PF_WEB_MY_REPORTS . 'images/' . $properties->filename, '', '', '32'); $output .= ' </td>' . nl; $output .= ' </tr>' . nl; $output .= ' <tr>' . nl; $output .= ' <th colspan="2">' . PHREEFORM_IMAGESEL . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . html_radio_field('img_sel_' . $i, 'U', false) . TEXT_UPLOAD_MAGE . '</td>' . nl; $output .= ' <td>' . html_file_field('img_upload_' . $i) . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . html_radio_field('img_sel_' . $i, 'S', true) . TEXT_STORED_IMAGES . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('img_file_' . $i, ReadImages(), $properties->filename, 'size="6"') . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' </tbody></table>' . nl; break; case 'ImgLink': $output .= '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . nl; $output .= ' <thead class="ui-widget-header">' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . PHREEFORM_TBLFNAME . '</th>' . nl; $output .= ' <th>' . TEXT_PROCESSING . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . html_combo_box('box_fld_' . $i . '[]', $kFields, $properties->boxfield[0]->fieldname, 'onclick="updateFieldList(this)"') . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_proc_' . $i . '[]', $pFields, $properties->boxfield[0]->processing) . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' <tr class="ui-widget-header"><th colspan="2">' . TEXT_IMAGE_LINK . '</th></tr>' . nl; $output .= ' <tr>' . nl; $output .= ' <td align="center" colspan="2">' . html_input_field('box_txt_' . $i, $properties->text ? $properties->text : DIR_WS_MY_FILES, 'size="40"') . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' </tbody></table>' . nl; // $output .= box_build_attributes($properties, $i, false, false, false, false); break; case 'Line': $output = '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . nl; $output .= ' <thead class="ui-widget-header">' . nl; $output .= ' <tr>' . nl; $output .= ' <th colspan="3">' . PHREEFORM_LINE_TYPE . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . html_radio_field('box_ltype_' . $i, 'H', !$properties->linetype || $properties->linetype == 'H' ? true : false) . TEXT_HORIZONTAL . '</td>' . nl; $output .= ' <td>' . html_radio_field('box_ltype_' . $i, 'V', $properties->linetype == 'V' ? true : false) . TEXT_VERTICAL . '</td>' . nl; $output .= ' <td>' . TEXT_LENGTH . ' ' . html_input_field('box_len_' . $i, $properties->length, 'size="4" maxlength="3"') . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' <tr class="ui-widget-header">' . nl; $output .= ' <th colspan="3">' . PHREEFORM_ENDPOS . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . html_radio_field('box_ltype_' . $i, 'C', $properties->linetype == 'C' ? true : false) . TEXT_CUSTOM . '</td>' . nl; $output .= ' <td>' . TEXT_ABSCISSA . html_input_field('box_eabs_' . $i, $properties->endabscissa, 'size="4" maxlength="3"') . '</td>' . nl; $output .= ' <td>' . TEXT_ORDINATE . html_input_field('box_eord_' . $i, $properties->endordinate, 'size="4" maxlength="3"') . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' </tbody></table>' . nl; $output .= box_build_attributes($properties, $i, false, false, true, false); break; case 'PgNum': $output .= box_build_attributes($properties, $i, false); break; case 'Rect': $output .= box_build_attributes($properties, $i, false, false, true, true); break; case 'Tbl': $output .= '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><tr><td>' . nl; $output .= ' <table id="box_Tbl' . $i . '" class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><thead class="ui-widget-header">' . nl; $output .= ' <tr><th colspan="9">' . TEXT_FIELD_LIST . '</th></tr>' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . TEXT_FIELDNAME . '</th>' . nl; $output .= ' <th>' . TEXT_DESCRIPTION . '</th>' . nl; $output .= ' <th>' . TEXT_PROCESSING . '</th>' . nl; $output .= ' <th>' . TEXT_FONT . '</th>' . nl; $output .= ' <th>' . TEXT_SIZE . '</th>' . nl; $output .= ' <th>' . TEXT_ALIGN . '</th>' . nl; $output .= ' <th>' . TEXT_COLOR . '</th>' . nl; $output .= ' <th>' . TEXT_WIDTH . '</th>' . nl; $output .= ' <th>' . ' ' . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; for ($j = 0; $j < sizeof($properties->boxfield); $j++) { $output .= ' <tr>' . nl; $output .= ' <td nowrap="nowrap">' . html_combo_box('box_fld_' . $i . '[]', $kTblFields, $properties->boxfield[$j]->fieldname, 'onclick="updateFieldList(this)"', '220px', '', 'box_fld_' . $i . $j) . '</td>' . nl; $output .= ' <td>' . html_input_field('box_desc_' . $i . '[]', $properties->boxfield[$j]->description, 'size="15"') . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_proc_' . $i . '[]', $pFields, $properties->boxfield[$j]->processing) . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_fnt_' . $i . '[]', $kFonts, $properties->boxfield[$j]->font) . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_size_' . $i . '[]', $kFontSizes, $properties->boxfield[$j]->size) . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_aln_' . $i . '[]', $kFontAlign, $properties->boxfield[$j]->align) . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_clr_' . $i . '[]', $kFontColors, $properties->boxfield[$j]->color) . '</td>' . nl; $output .= ' <td>' . html_input_field('box_wid_' . $i . '[]', $properties->boxfield[$j]->width, 'size="4" maxlength="4"') . '</td>' . nl; $output .= ' <td nowrap="nowrap" align="right">' . nl; $output .= html_icon('actions/view-fullscreen.png', TEXT_MOVE, 'small', 'style="cursor:move"', '', '', 'move_tbl_' . $i . '_' . $j); $output .= html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . TEXT_DELETE_ENTRY . '\')) $(this).parent().parent().remove();"'); $output .= '</td>' . nl; $output .= ' </tr>' . nl; } $output .= ' </tbody></table>' . nl; $output .= '</td>' . nl; $output .= '<td valign="bottom">' . html_icon('actions/list-add.png', TEXT_ADD, 'small', 'onclick="rowAction(\'box_Tbl\', \'add\', ' . $i . ')"') . '</td>' . nl; $output .= '</tr></table>' . nl; $output .= box_build_attributes($properties, $i, false, true, true, true, 'h', PHREEFORM_TABLE_HEADING_PROP); $output .= box_build_attributes($properties, $i, false, false, true, true, '', TEXT_TABLE_BODY_PROPERTIES); $output .= PHREEFORM_FORM_TABLE_NOTES; $output .= '<script type="text/javascript">tableInit[tableCount] = \'box_Tbl' . $i . '\'; tableCount++;</script>' . nl; break; case 'TBlk': $output .= '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><tr><td>' . nl; $output .= ' <table id="box_Tblk' . $i . '" class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><thead class="ui-widget-header">' . nl; $output .= ' <tr><th colspan="4">' . TEXT_FIELD_LIST . '</th></tr>' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . PHREEFORM_TBLFNAME . '</th>' . nl; $output .= ' <th>' . TEXT_SEPARATOR . '</th>' . nl; $output .= ' <th>' . TEXT_PROCESSING . '</th>' . nl; $output .= ' <th>' . TEXT_ACTION . '</th>' . nl; $output .= ' </tr>' . nl; $output .= '</thead><tbody class="ui-widget-content">' . nl; for ($j = 0; $j < sizeof($properties->boxfield); $j++) { $output .= ' <tr>' . nl; $output .= ' <td>' . html_combo_box('box_fld_' . $i . '[]', $kFields, $properties->boxfield[$j]->fieldname, 'onclick="updateFieldList(this)"', '220px', '', 'box_fld_' . $i . '_' . $j) . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_proc_' . $i . '[]', $tProcessing, $properties->boxfield[$j]->processing) . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_fmt_' . $i . '[]', $pFields, $properties->boxfield[$j]->formatting) . '</td>' . nl; $output .= ' <td nowrap="nowrap" align="right">' . nl; $output .= html_icon('actions/view-fullscreen.png', TEXT_MOVE, 'small', 'style="cursor:move"', '', '', 'move_tblk_' . $i . '_' . $j) . chr(10); $output .= html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . TEXT_DELETE_ENTRY . '\')) $(this).parent().parent().remove();"'); $output .= ' </td>' . nl; $output .= ' </tr>' . nl; } $output .= '</tbody></table>' . nl; $output .= '</td>' . nl; $output .= '<td valign="bottom">' . html_icon('actions/list-add.png', TEXT_ADD, 'small', 'onclick="rowAction(\'box_Tblk\', \'add\', ' . $i . ')"'); $output .= '</td></tr></table>' . nl; $output .= box_build_attributes($properties, $i); $output .= '<script type="text/javascript">tableInit[tableCount] = \'box_Tblk' . $i . '\'; tableCount++;</script>' . nl; break; case 'TDup': $output .= '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . nl; $output .= ' <tbody class="ui-widget-content">' . nl; $output .= ' <tr>' . nl; $output .= ' <td align="center">' . TEXT_NO_PROPERTIES . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' </tbody></table>' . nl; break; case 'LtrTpl': $output .= '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . nl; $output .= ' <thead class="ui-widget-header">' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . PHREEFORM_TEXTDISP . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . html_textarea_field('box_txt_' . $i, '50', '20', $properties->text) . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' </tbody></table>' . nl; $output .= box_build_attributes($properties, $i); break; case 'LtrData': $output .= '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><tr><td>' . nl; $output .= ' <table id="box_LtrData' . $i . '" class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><thead class="ui-widget-header">' . nl; $output .= ' <tr><th colspan="9">' . TEXT_FIELD_LIST . '</th></tr>' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . TEXT_FIELDNAME . '</th>' . nl; $output .= ' <th>' . TEXT_DESCRIPTION . '</th>' . nl; $output .= ' <th>' . TEXT_PROCESSING . '</th>' . nl; $output .= ' <th>' . ' ' . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; for ($j = 0; $j < sizeof($properties->boxfield); $j++) { $output .= ' <tr>' . nl; $output .= ' <td nowrap="nowrap">' . html_combo_box('box_fld_' . $i . '[]', $kTblFields, $properties->boxfield[$j]->fieldname, 'onclick="updateFieldList(this)"', '220px', '', 'box_fld_' . $i . $j) . '</td>' . nl; $output .= ' <td>' . html_input_field('box_desc_' . $i . '[]', $properties->boxfield[$j]->description, 'size="15"') . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_proc_' . $i . '[]', $pFields, $properties->boxfield[$j]->processing) . '</td>' . nl; $output .= ' <td nowrap="nowrap" align="right">' . nl; $output .= html_icon('actions/view-fullscreen.png', TEXT_MOVE, 'small', 'style="cursor:move"', '', '', 'move_tbl_' . $i . '_' . $j); $output .= html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . TEXT_DELETE_ENTRY . '\')) $(this).parent().parent().remove();"'); $output .= '</td>' . nl; $output .= ' </tr>' . nl; } $output .= ' </tbody></table>' . nl; $output .= '</td>' . nl; $output .= '<td valign="bottom">' . html_icon('actions/list-add.png', TEXT_ADD, 'small', 'onclick="rowAction(\'box_LtrData\', \'add\', ' . $i . ')"') . '</td>' . nl; $output .= '</tr></table>' . nl; $output .= '<script type="text/javascript">tableInit[tableCount] = \'box_LtrData' . $i . '\'; tableCount++;</script>' . nl; break; case 'Text': $output .= '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . nl; $output .= ' <thead class="ui-widget-header">' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . PHREEFORM_TEXTDISP . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; $output .= ' <tr>' . nl; $output .= ' <td>' . html_textarea_field('box_txt_' . $i, '50', '3', $properties->text) . '</td>' . nl; $output .= ' </tr>' . nl; $output .= ' </tbody></table>' . nl; $output .= box_build_attributes($properties, $i); break; case 'Ttl': $output .= '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><tr><td>' . nl; $output .= ' <table id="box_Ttl' . $i . '" class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"><thead class="ui-widget-header">' . nl; $output .= ' <tr><th colspan="3">' . TEXT_FIELD_LIST . '</th></tr>' . nl; $output .= ' <tr>' . nl; $output .= ' <th>' . PHREEFORM_TBLFNAME . '</th>' . nl; $output .= ' <th>' . TEXT_PROCESSING . '</th>' . nl; $output .= ' <th>' . TEXT_ACTION . '</th>' . nl; $output .= ' </tr>' . nl; $output .= ' </thead><tbody class="ui-widget-content">' . nl; for ($j = 0; $j < sizeof($properties->boxfield); $j++) { $output .= ' <tr>' . nl; $output .= ' <td>' . html_combo_box('box_fld_' . $i . '[]', $kFields, $properties->boxfield[$j]->fieldname, 'onclick="updateFieldList(this)"', '220px', '', 'box_fld_' . $i . $j) . '</td>' . nl; $output .= ' <td>' . html_pull_down_menu('box_proc_' . $i . '[]', $pFields, $properties->boxfield[$j]->processing) . '</td>' . nl; $output .= ' <td nowrap="nowrap" align="right">' . nl; $output .= html_icon('actions/view-fullscreen.png', TEXT_MOVE, 'small', 'style="cursor:move"', '', '', 'move_ttl_' . $i . '_' . $j) . chr(10); $output .= html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . TEXT_DELETE_ENTRY . '\')) $(this).parent().parent().remove();"'); $output .= ' </td>' . nl; $output .= ' </tr>' . nl; } $output .= '</tbody></table>' . nl; $output .= '</td>' . nl; $output .= '<td valign="bottom">' . html_icon('actions/list-add.png', TEXT_ADD, 'small', 'onclick="rowAction(\'box_Ttl\', \'add\', ' . $i . ')"'); $output .= '</td></tr></table>' . nl; $output .= box_build_attributes($properties, $i); $output .= '<script type="text/javascript">tableInit[tableCount] = \'box_Ttl' . $i . '\'; tableCount++;</script>' . nl; break; } return $output; }
?> </td> </tr> <tr> <td colspan="2" align="center"><?php echo ReadDefReports('RptFileName'); ?> </td> </tr> <tr> <td><?php echo RW_RPT_RPTBROWSE; ?> </td> <td><?php echo html_file_field('reportfile'); ?> </td> </tr> <tr> <td><?php echo RW_RPT_RPTENTER . '<br />' . RW_RPT_RPTNOENTER; ?> </td> <td><?php echo html_input_field('reportname', $ReportName, 'size="32" maxlength="30"'); ?> </td> </tr> </table> </form>
<td><?php echo TRANSLATOR_MODULE_CREATE . ' '; ?> </td> <td><?php echo html_pull_down_menu('mod', $sel_modules); ?> </td> </tr> <tr> <td><?php echo TRANSLATOR_UPLOAD_ZIPFILE . ' '; ?> </td> <td><?php echo html_file_field('zipfile'); ?> </td> </tr> <tr> <td colspan="2"><?php echo ' '; ?> </td> </tr> <tr> <td colspan="2" align="right"><?php echo html_button_field('upload', TEXT_UPLOAD, 'onclick="submitToDo(\'upload_go\')"'); ?> </td> </tr>
echo TEXT_MODULE . ' - ' . $mod; ?> </td> <td><?php echo TEXT_TABLE . ' - ' . $table->Name; ?> </td> <td> <?php echo html_radio_field('import_format_' . $table->Name, 'xml', true, '', '') . ' ' . TEXT_XML . ' '; ?> <?php echo html_radio_field('import_format_' . $table->Name, 'csv', false, '', '') . ' ' . TEXT_CSV . ' '; ?> <?php echo html_file_field('file_name_' . $table->Name) . ' '; ?> <?php echo html_button_field('import_table_' . $table->Name, TEXT_IMPORT . ' ' . $table->Name, 'onclick="submitToDo(\'import_table_' . $table->Name . '\')"'); ?> </td> </tr> <?php } } } ?> </tbody> </table> </td></tr> </table>