} else { $toolbar->icon_list['save']['show'] = false; } $toolbar->icon_list['delete']['show'] = false; $toolbar->icon_list['print']['show'] = false; echo $toolbar->build_toolbar(); ?> <h1><?php echo PAGE_TITLE; ?> </h1> <div id="admintabs"> <ul> <?php echo add_tab_list('tab_methods', TEXT_METHODS); if (file_exists(DIR_FS_MODULES . $module . '/custom/pages/admin/template_tab_custom.php')) { echo add_tab_list('tab_custom', TEXT_CUSTOM_TAB); } echo add_tab_list('tab_stats', TEXT_STATISTICS); ?> </ul> <?php require DIR_FS_MODULES . $module . '/pages/admin/template_tab_methods.php'; if (file_exists(DIR_FS_MODULES . $module . '/custom/pages/admin/template_tab_custom.php')) { require DIR_FS_MODULES . $module . '/custom/pages/admin/template_tab_custom.php'; } require DIR_FS_MODULES . $module . '/pages/admin/template_tab_stats.php'; ?> </div> </form>
<legend><?php echo TEXT_SECURITY_SETTINGS; ?> </legend> <div><?php echo TEXT_FILL_ALL_LEVELS . ' ' . html_pull_down_menu('fill_all', $fill_all_values, '-1', 'onchange="submitToDo(\'fill_all\')"'); ?> </div> <div id="accesstabs"> <ul> <?php foreach ($mainmenu as $key => $value) { if ($value['text'] == TEXT_HOME || $value['text'] == TEXT_LOGOUT) { continue; } echo add_tab_list('tab_' . $key, $value['text']) . chr(10); } ?> </ul> <?php $settings = gen_parse_permissions($uInfo->admin_security); $column_break = true; foreach ($mainmenu as $key => $menu_heading) { if ($menu_heading['text'] == TEXT_HOME || $menu_heading['text'] == TEXT_LOGOUT) { continue; } echo '<div id="tab_' . $key . '">' . chr(10); echo '<table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">' . chr(10); echo '<thead class="ui-widget-header">' . chr(10); echo '<tr>' . chr(10); echo '<th width="50%"> </th>' . chr(10);
<h2 align="center"><?php echo PAGE_TITLE . ' - ' . ($report->title ? $report->title : TEXT_NEW); ?> </h2> <div id="buildtabs"> <ul> <?php echo add_tab_list('tab_page', TEXT_PAGE_SETUP); echo add_tab_list('tab_db', TEXT_DATABASE_SETUP); echo add_tab_list('tab_field', TEXT_FIELD_SETUP); echo add_tab_list('tab_crit', TEXT_CRITERIA); echo add_tab_list('tab_prop', TEXT_PROPERTIES); // pull in additional custom tabs if (isset($extra_designer_tabs) && is_array($extra_designer_tabs)) { foreach ($extra_designer_tabs as $tabs) { echo add_tab_list('tab_' . $tabs['tab_id'], $tabs['tab_title']); } } ?> </ul> <?php require DIR_FS_WORKING . 'pages/popup_build/tab_page_setup.php'; require DIR_FS_WORKING . 'pages/popup_build/tab_db_setup.php'; if ($report->reporttype == 'frm') { require DIR_FS_WORKING . 'pages/popup_build/tab_frm_field_setup.php'; } else { require DIR_FS_WORKING . 'pages/popup_build/tab_rpt_field_setup.php'; } require DIR_FS_WORKING . 'pages/popup_build/tab_crit_setup.php'; require DIR_FS_WORKING . 'pages/popup_build/tab_prop_setup.php'; // pull in additional custom tabs
if (count($extra_toolbar_buttons) > 0) { foreach ($extra_toolbar_buttons as $key => $value) { $toolbar->icon_list[$key] = $value; } } $toolbar->add_help($assets->help_path); echo $toolbar->build_toolbar(); ?> <h1><?php echo PAGE_TITLE; ?> </h1> <div id="admintabs"> <ul> <?php echo add_tab_list('tab_general', TEXT_GENERAL, true); if (file_exists(DIR_FS_MODULES . $module . '/custom/pages/admin/template_tab_custom.php')) { echo add_tab_list('tab_custom', TEXT_CUSTOM_TAB, false); } ?> </ul> <?php require DIR_FS_MODULES . $module . '/pages/admin/template_tab_general.php'; if (file_exists(DIR_FS_MODULES . $module . '/custom/pages/admin/template_tab_custom.php')) { require DIR_FS_MODULES . $module . '/custom/pages/admin/template_tab_custom.php'; } ?> </div> </form>
echo ' ' . $value['text'] . '</div>' . chr(10); } ?> </div> <?php } elseif (!$rID) { echo PHREEFORM_NO_DOCUMENTS; } else { echo html_hidden_field('rID', $rID) . chr(10); ?> <div id="gentabs"> <ul> <?php foreach ($tab_list as $key => $value) { echo add_tab_list('tab_' . $key, $value); } ?> </ul> <div id="tab_crit"> <div id="rpt_body"> <table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;"> <thead class="ui-widget-header"> <tr><th colspan="4"><?php echo TEXT_CRITERIA_SETUP; ?> </th></tr> </thead> <tbody class="ui-widget-content"> <?php
echo $_REQUEST['action'] == 'new' ? MENU_HEADING_NEW_RMA : BOX_RMA_MODULE . ' - ' . TEXT_RMA_ID . '# ' . $cInfo->rma_num; ?> </h1> <div id="detailtabs"> <ul> <?php echo add_tab_list('tab_general', TEXT_GENERAL); echo add_tab_list('tab_receiving', TEXT_RECEIVING); // pull in additional custom tabs if (isset($extra_rma_tabs) && is_array($extra_rma_tabs)) { foreach ($extra_rma_tabs as $tabs) { echo add_tab_list($tabs['tab_id'], $tabs['tab_title']); } } echo add_tab_list('tab_disposition', TEXT_DISPOSITION); ?> </ul> <?php require DIR_FS_WORKING . 'pages/main/tab_general.php'; require DIR_FS_WORKING . 'pages/main/tab_receiving.php'; // pull in additional custom tabs if (isset($extra_rma_tabs) && is_array($extra_rma_tabs)) { foreach ($extra_rma_tabs as $tabs) { $file_path = DIR_FS_WORKING . 'custom/pages/main/' . $tabs['tab_filename'] . '.php'; if (file_exists($file_path)) { require $file_path; } } } require DIR_FS_WORKING . 'pages/main/tab_disposition.php';
} return $a['order'] > $b['order'] ? 1 : -1; } usort($cInfo->tab_list, 'tab_sort'); ?> <h1><?php echo PAGE_TITLE; ?> </h1> <div id="detailtabs"> <ul> <?php // build the tab list's $set_default = false; foreach ($cInfo->tab_list as $value) { echo add_tab_list('tab_' . $value['tag'], $value['text']); $set_default = true; } echo $fields->extra_tab_li . chr(10); // user added extra tabs ?> </ul> <?php foreach ($cInfo->tab_list as $value) { if (file_exists(DIR_FS_WORKING . 'custom/pages/main/' . $value['file'] . '.php')) { include DIR_FS_WORKING . 'custom/pages/main/' . $value['file'] . '.php'; } else { include DIR_FS_WORKING . 'pages/main/' . $value['file'] . '.php'; } } // pull in additional custom tabs
<td nowrap="nowrap"> </td> <td nowrap="nowrap"> </td> <td nowrap="nowrap"> </td> </tr> </tbody> </table> <?php if ($price_sheets->RecordCount() > 0) { if (ENABLE_MULTI_CURRENCY) { echo '<p class="fieldRequired"> ' . sprintf(GEN_PRICE_SHEET_CURRENCY_NOTE, $currencies->currencies[DEFAULT_CURRENCY]['title']) . '</p>'; } echo '<div id="pricetabs"><ul>' . chr(10); $j = 1; while (!$price_sheets->EOF) { echo add_tab_list('tab_' . $price_sheets->fields['id'], $price_sheets->fields['sheet_name'] . ' (Rev. ' . $price_sheets->fields['revision'] . ')'); $price_sheets->MoveNext(); $j++; } $price_sheets->Move(0); $price_sheets->MoveNext(); echo '</ul>' . chr(10); $m = 1; while (!$price_sheets->EOF) { ?> <!-- start the tabsets --> <div id="tab_<?php echo $price_sheets->fields['id']; ?> "> <?php
?> </h1> <div id="shippingtabs"> <ul> <?php $image_types = array('gif', 'png', 'jpg', 'jpeg'); $path = DIR_WS_MODULES . 'shipping/methods/'; foreach ($installed_modules as $value) { $image_file = DIR_WS_MODULES . 'shipping/images/no_logo.png'; foreach ($image_types as $ext) { if (file_exists($path . $value['id'] . '/images/logo.' . $ext)) { $image_file = $path . $value['id'] . '/images/logo.' . $ext; break; } } echo add_tab_list('tab_' . $value['id'], html_image($image_file, $value['text'], 0, 30)); } ?> </ul> <?php foreach ($installed_modules as $value) { $method_id = $value['id']; echo '<div id="tab_' . $method_id . '">' . chr(10); include_once DIR_FS_MODULES . 'shipping/methods/' . $method_id . '/ship_mgr.php'; echo '</div>' . chr(10); } ?> </div> <div id="shipping_dialog"> </div> </form>
</h1> <div id="admintabs"> <ul> <?php echo add_tab_list('tab_modules', MENU_HEADING_MODULES); echo add_tab_list('tab_company', MENU_HEADING_MY_COMPANY); echo add_tab_list('tab_config', MENU_HEADING_CONFIG); echo add_tab_list('tab_email', MENU_HEADING_EMAIL); echo add_tab_list('tab_currency', SETUP_TITLE_CURRENCIES); if (file_exists(DIR_FS_MODULES . $module . '/custom/pages/admin/template_tab_custom.php')) { echo add_tab_list('tab_custom', TEXT_CUSTOM_TAB); } echo add_tab_list('tab_manager', BOX_COMPANY_MANAGER); echo add_tab_list('tab_tools', TEXT_TOOLS); echo add_tab_list('tab_stats', TEXT_STATISTICS); echo add_tab_list('tab_php_info', "php info"); ?> </ul> <?php require DIR_FS_MODULES . $module . '/pages/admin/template_tab_modules.php'; require DIR_FS_MODULES . $module . '/pages/admin/template_tab_company.php'; require DIR_FS_MODULES . $module . '/pages/admin/template_tab_config.php'; require DIR_FS_MODULES . $module . '/pages/admin/template_tab_email.php'; require DIR_FS_MODULES . $module . '/pages/admin/template_tab_currency.php'; if (file_exists(DIR_FS_MODULES . $module . '/custom/pages/admin/template_tab_custom.php')) { require DIR_FS_MODULES . $module . '/custom/pages/admin/template_tab_custom.php'; } require DIR_FS_MODULES . $module . '/pages/admin/template_tab_manager.php'; require DIR_FS_MODULES . $module . '/pages/admin/template_tab_tools.php'; require DIR_FS_MODULES . $module . '/pages/admin/template_tab_stats.php'; require DIR_FS_MODULES . $module . '/pages/admin/template_tab_php_info.php';
require_once DIR_FS_ADMIN . DIR_WS_THEMES . '/config.php'; ?> <?php require_once DIR_FS_WORKING . 'pages/' . $page . '/js_include.php'; ?> <script type="text/javascript">$(function() { $('#helptabs').tabs(); });</script> </head> <body> <div id="helptabs"> <ul> <?php echo add_tab_list('tab_contents', HEADING_CONTENTS); echo add_tab_list('tab_index', HEADING_INDEX); echo add_tab_list('tab_search', TEXT_SEARCH); ?> </ul> <div id="tab_contents"> <fieldset><?php echo retrieve_toc(); ?> </fieldset> </div> <div id="tab_index"> <fieldset><?php echo retrieve_index(); ?> </fieldset> </div> <div id="tab_search">