// build the tab toolbar $docbar = new toolbar(); $docbar->icon_list['cancel']['show'] = false; $docbar->icon_list['open']['show'] = false; $docbar->icon_list['save']['show'] = false; $docbar->icon_list['print']['show'] = false; if ($id) { $docbar->icon_list['delete']['params'] = 'onclick="if (confirm(\'' . PHREEFORM_DELETE_DIRECTORY . '\')) dirAction(\'delete\')"'; } else { $docbar->icon_list['delete']['show'] = false; } if ($id) { $docbar->icon_list['go_up'] = array('show' => true, 'icon' => 'actions/go-up.png', 'params' => 'onclick="dirAction(\'go_up\')"', 'text' => 'Up', 'order' => 2); } if ($_REQUEST['action'] != 'search') { $fieldset_content .= $docbar->build_toolbar() . chr(10); } // build the table contents $doc_cnt = 0; $fieldset_content .= '<table class="ui-widget" style="border-collapse:collapse;width:100%"><tbody class="ui-widget-content">' . chr(10); $fieldset_content .= ' <tr>' . $list_header . '</tr>' . chr(10); $odd = true; while (!$query_result->EOF) { if (security_check($query_result->fields['security'])) { $folder = $query_result->fields['doc_type'] == '0' ? true : false; $fieldset_content .= ' <tr class="' . ($odd ? 'odd' : 'even') . '" style="cursor:pointer">' . chr(10); $fieldset_content .= ' <td onclick="fetch_doc(' . $query_result->fields['id'] . ')">' . html_icon(get_mime_image($query_result->fields['doc_ext'], $folder), '', 'small') . '</td>' . chr(10); $fieldset_content .= ' <td onclick="fetch_doc(' . $query_result->fields['id'] . ')">' . $query_result->fields['doc_title'] . '</td>' . chr(10); $fieldset_content .= ' <td align="right"> ' . ' ' . '</td>' . chr(10); // action space $fieldset_content .= ' </tr>' . chr(10);
<td> <?php // build a secondary toolbar for the contact form $ctoolbar = new toolbar('i'); $ctoolbar->icon_list['cancel']['show'] = false; $ctoolbar->icon_list['open']['show'] = false; $ctoolbar->icon_list['save']['show'] = false; $ctoolbar->icon_list['delete']['show'] = false; $ctoolbar->icon_list['print']['show'] = false; $ctoolbar->add_icon('new', 'onclick="clearAddress(\'im\')"', $order = 10); $ctoolbar->icon_list['new']['icon'] = 'actions/contact-new.png'; $ctoolbar->icon_list['new']['text'] = TEXT_NEW_CONTACT; $ctoolbar->add_icon('copy', 'onclick="copyContactAddress(\'' . $type . '\')"', 20); $ctoolbar->icon_list['copy']['text'] = TEXT_COPY_ADDRESS; echo $output; echo $ctoolbar->build_toolbar(); ?> </td></tr> </table> <table class="ui-widget" style="border-collapse:collapse;width:100%;"> <tr> <td align="right"><?php echo ACT_SHORT_NAME . html_hidden_field('i_id', ''); ?> </td> <td><?php echo html_input_field('i_short_name', $cInfo->i_short_name, 'size="21" maxlength="20"', true); ?> </td> <td align="right"><?php echo TEXT_TITLE;
<table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td> <?php // build a secondary toolbar for the contact form $passbar = new toolbar('i'); $passbar->icon_list['cancel']['show'] = false; $passbar->icon_list['open']['show'] = false; $passbar->icon_list['save']['show'] = false; $passbar->icon_list['delete']['show'] = false; $passbar->icon_list['print']['show'] = false; $passbar->add_icon('new', 'onclick="clearContactForm()"', $order = 10); $passbar->icon_list['new']['icon'] = 'actions/contact-new.png'; $passbar->icon_list['new']['text'] = TEXT_NEW_CONTACT; $passbar->add_icon('copy', 'onclick="copyContactAddress(\'' . $type . '\')"', 20); $passbar->icon_list['copy']['text'] = TEXT_COPY_ADDRESS; echo $output; echo $passbar->build_toolbar(); ?> </td></tr></table> <table width="100%" class="formArea" border="0" cellspacing="2" cellpadding="2"> <tr> <td align="right" class="main"><?php echo ACT_SHORT_NAME . html_hidden_field('i_id', ''); ?> </td> <td class="main"><?php echo html_input_field('i_short_name', $cInfo->i_short_name, 'size="21" maxlength="20"', true); ?> </td> <td align="right" class="main"><?php echo TEXT_TITLE; ?>
// | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // | GNU General Public License for more details. | // +-----------------------------------------------------------------+ // Path: /modules/assets/pages/admin/template_tab_fields.php // $field_toolbar = new toolbar(); $field_toolbar->icon_list['cancel']['show'] = false; $field_toolbar->icon_list['open']['show'] = false; $field_toolbar->icon_list['delete']['show'] = false; $field_toolbar->icon_list['save']['show'] = false; $field_toolbar->icon_list['print']['show'] = false; if ($security_level > 1) { $field_toolbar->add_icon('new', 'onclick="loadPopUp(\'fields_new\', 0)"', $order = 10); } ?> <div id="tab_fields"> <?php echo $field_toolbar->build_toolbar(); ?> <h1><?php echo $fields->title; ?> </h1> <div id="fields_content"><?php echo $fields->build_main_html(); ?> </div> </div>
// | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // | GNU General Public License for more details. | // +-----------------------------------------------------------------+ // Path: /modules/phreebooks/pages/admin/template_tab_tax_rates_vend.php // $tax_rates_vend_toolbar = new toolbar(); $tax_rates_vend_toolbar->icon_list['cancel']['show'] = false; $tax_rates_vend_toolbar->icon_list['open']['show'] = false; $tax_rates_vend_toolbar->icon_list['save']['show'] = false; $tax_rates_vend_toolbar->icon_list['delete']['show'] = false; $tax_rates_vend_toolbar->icon_list['print']['show'] = false; if ($security_level > 1) { $tax_rates_vend_toolbar->add_icon('new', 'onclick="loadPopUp(\'tax_rates_vend_new\', 0)"', $order = 10); } ?> <div id="tab_tax_rates_vend"> <?php echo $tax_rates_vend_toolbar->build_toolbar(); ?> <h1><?php echo $tax_rates_vend->title; ?> </h1> <div id="tax_rates_vend_content"><?php echo $tax_rates_vend->build_main_html(); ?> </div> </div>
// +-----------------------------------------------------------------+ // Path: /modules/phreebooks/pages/admin/template_tab_chart_of_accounts.php // $chart_of_accounts_toolbar = new toolbar(); $chart_of_accounts_toolbar->icon_list['cancel']['show'] = false; $chart_of_accounts_toolbar->icon_list['open']['show'] = false; $chart_of_accounts_toolbar->icon_list['save']['show'] = false; $chart_of_accounts_toolbar->icon_list['delete']['show'] = false; $chart_of_accounts_toolbar->icon_list['print']['show'] = false; if ($security_level > 1) { $chart_of_accounts_toolbar->add_icon('new', 'onclick="loadPopUp(\'chart_of_accounts_new\', 0)"', $order = 10); } ?> <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; ?>
// | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // | GNU General Public License for more details. | // +-----------------------------------------------------------------+ // Path: /modules/phreepos/pages/admin/template_tab_tills.php // $tills_toolbar = new toolbar(); $tills_toolbar->icon_list['cancel']['show'] = false; $tills_toolbar->icon_list['open']['show'] = false; $tills_toolbar->icon_list['delete']['show'] = false; $tills_toolbar->icon_list['save']['show'] = false; $tills_toolbar->icon_list['print']['show'] = false; if ($security_level > 1) { $tills_toolbar->add_icon('new', 'onclick="loadPopUp(\'tills_new\', 0)"', $order = 10); } ?> <div id="tab_tills"> <?php echo $tills_toolbar->build_toolbar(); ?> <h1><?php echo $tills->title; ?> </h1> <div id="tills_content"><?php echo $tills->build_main_html(); ?> </div> </div>
echo html_form('popupOtherTrans', FILENAME_DEFAULT) . chr(10); $thirdToolbar = new toolbar(); $thirdToolbar->icon_list['cancel']['params'] = 'onclick="disablePopup()"'; $thirdToolbar->icon_list['open']['show'] = false; $thirdToolbar->icon_list['save']['params'] = 'onclick="SaveOt()"'; $thirdToolbar->icon_list['save']['show'] = true; $thirdToolbar->icon_list['delete']['show'] = false; $thirdToolbar->icon_list['print']['show'] = false; // pull in extra toolbar overrides and additions if (count($extra_ThirdToolbar_buttons) > 0) { foreach ($extra_ThirdToolbar_buttons as $key => $value) { $thirdToolbar->icon_list[$key] = $value; } } // add the help file index and build the toolbar echo $thirdToolbar->build_toolbar(); // Build the page ?> <h2 align="center"><?php echo TEXT_OTHER_TRANS; ?> </h2> <table id="ot_table" class="ui-widget" style="border-collapse:collapse; position:relative;"> <caption><?php echo TEXT_TYPE_OF_TRANSACTION . ' ' . html_pull_down_menu('Other_trans_type', '', '', 'onchange="changeOfType();"'); ?> </caption> <thead class="ui-widget-header"> <tr> <th class="dataTableHeadingContent ot_desc"><?php echo TEXT_DESCRIPTION;
// | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // | GNU General Public License for more details. | // +-----------------------------------------------------------------+ // Path: /modules/import_bank/pages/admin/template_tab_kt.php // $kt_toolbar = new toolbar(); $kt_toolbar->icon_list['cancel']['show'] = false; $kt_toolbar->icon_list['open']['show'] = false; $kt_toolbar->icon_list['delete']['show'] = false; $kt_toolbar->icon_list['save']['show'] = false; $kt_toolbar->icon_list['print']['show'] = false; if ($security_level > 1) { $kt_toolbar->add_icon('new', 'onclick="loadPopUp(\'known_transactions_new\', 0)"', $order = 10); } ?> <div id="tab_kt"> <?php echo $kt_toolbar->build_toolbar(); ?> <h1><?php echo $kt->title; ?> </h1> <div id="kt_content"><?php echo $kt->build_main_html(); ?> </div> </div>
$SeccondToolbar = new toolbar(); $SeccondToolbar->icon_list['cancel']['params'] = 'onclick="disablePopup()"'; $SeccondToolbar->icon_list['open']['show'] = false; $SeccondToolbar->icon_list['save']['params'] = 'onclick="SavePayment(\'save\')"'; $SeccondToolbar->icon_list['save']['show'] = true; $SeccondToolbar->icon_list['delete']['show'] = false; $SeccondToolbar->icon_list['print']['params'] = 'onclick="SavePayment(\'print\')"'; $SeccondToolbar->icon_list['print']['show'] = true; // pull in extra toolbar overrides and additions if (count($extra_SeccondToolbar_buttons) > 0) { foreach ($extra_SeccondToolbar_buttons as $key => $value) { $SeccondToolbar->icon_list[$key] = $value; } } // add the help file index and build the toolbar echo $SeccondToolbar->build_toolbar(); // Build the page ?> <h2 align="center"><?php echo PAYMENT_TITLE; ?> </h2> <?php echo ' <fieldset>'; echo ' <legend>' . TEXT_PAYMENT_METHOD . '</legend>'; echo ' <div style="position: relative; height: 150px;">'; echo html_pull_down_menu('payment_method', $payment_modules, $order->shipper_code, 'onchange="activateFields()"') . chr(10); $count = 0; foreach ($payment_modules as $value) { echo ' <div id="pm_' . $count . '" style="visibility:hidden; position:absolute; top:22px; left:1px">' . chr(10);
// | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // | GNU General Public License for more details. | // +-----------------------------------------------------------------+ // Path: /modules/phreepos/pages/admin/template_other_trans.php // $trans_toolbar = new toolbar(); $trans_toolbar->icon_list['cancel']['show'] = false; $trans_toolbar->icon_list['open']['show'] = false; $trans_toolbar->icon_list['delete']['show'] = false; $trans_toolbar->icon_list['save']['show'] = false; $trans_toolbar->icon_list['print']['show'] = false; if ($security_level > 1) { $trans_toolbar->add_icon('new', 'onclick="loadPopUp(\'other_transactions_new\', 0)"', $order = 10); } ?> <div id="tab_other_trans"> <?php echo $trans_toolbar->build_toolbar(); ?> <h1><?php echo $trans->title; ?> </h1> <div id="other_trans_content"><?php echo $trans->build_main_html(); ?> </div> </div>
// +-----------------------------------------------------------------+ // Path: /modules/phreedom/pages/admin/template_currency_currency.php // $currency_toolbar = new toolbar('currency'); $currency_toolbar->icon_list['cancel']['show'] = false; $currency_toolbar->icon_list['open']['show'] = false; $currency_toolbar->icon_list['save']['show'] = false; $currency_toolbar->icon_list['delete']['show'] = false; $currency_toolbar->icon_list['print']['show'] = false; if ($security_level > 1) { $currency_toolbar->add_icon('new', 'onclick="loadPopUp(\'currency_new\', 0)"', $order = 10); } if (ENABLE_MULTI_CURRENCY) { $currency_toolbar->add_icon('update', 'onclick="tabPage(\'currency\', \'update\')"', $order = 10); $currency_toolbar->icon_list['update']['text'] = SETUP_UPDATE_EXC_RATE; } ?> <div id="tab_currency"> <?php echo $currency_toolbar->build_toolbar(); ?> <h1><?php echo $currency->title; ?> </h1> <div id="currency_content"><?php echo $currency->build_main_html(); ?> </div> </div>
// | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // | GNU General Public License for more details. | // +-----------------------------------------------------------------+ // Path: /modules/phreebooks/pages/admin/template_tab_tax_auths_vend.php // $tax_auths_vend_toolbar = new toolbar(); $tax_auths_vend_toolbar->icon_list['cancel']['show'] = false; $tax_auths_vend_toolbar->icon_list['open']['show'] = false; $tax_auths_vend_toolbar->icon_list['save']['show'] = false; $tax_auths_vend_toolbar->icon_list['delete']['show'] = false; $tax_auths_vend_toolbar->icon_list['print']['show'] = false; if ($security_level > 1) { $tax_auths_vend_toolbar->add_icon('new', 'onclick="loadPopUp(\'tax_auths_vend_new\', 0)"', $order = 10); } ?> <div id="tab_tax_auths_vend"> <?php echo $tax_auths_vend_toolbar->build_toolbar(); ?> <h1><?php echo $tax_auths_vend->title; ?> </h1> <div id="tax_auths_vend_content"><?php echo $tax_auths_vend->build_main_html(); ?> </div> </div>