Пример #1
0
        $_GET['page']++;
        break;
    case 'go_last':
        $_GET['page'] = 99999;
        break;
    case 'search':
    case 'search_reset':
    case 'go_page':
        break;
    default:
        // check to see if the field list is sync'd with the field properties, on first entry
        inv_sync_inv_field_list(TABLE_ASSETS, TABLE_ASSETS_FIELDS);
}
/*****************   prepare to display templates  *************************/
// prepare category drop-down
$category_array = inv_get_field_categories(TABLE_ASSETS_TABS);
$include_header = true;
// include header flag
$include_footer = true;
// include footer flag
$include_tabs = false;
$include_calendar = false;
switch ($action) {
    case 'edit':
    case 'update':
    case 'new':
        $include_template = 'template_detail.php';
        // include display template (required)
        define('PAGE_TITLE', ASSETS_FIELD_HEADING_TITLE);
        break;
    default:
Пример #2
0
        $_GET['page']++;
        break;
    case 'go_last':
        $_GET['page'] = 99999;
        break;
    case 'search':
    case 'search_reset':
    case 'go_page':
        break;
    default:
        // check to see if the field list is sync'd with the field properties, on first entry
        inv_sync_inv_field_list();
}
/*****************   prepare to display templates  *************************/
// prepare category drop-down
$category_array = inv_get_field_categories();
$include_header = true;
$include_footer = true;
$include_tabs = false;
$include_calendar = false;
switch ($action) {
    case 'edit':
    case 'update':
    case 'new':
        $include_template = 'template_detail.php';
        // include display template (required)
        define('PAGE_TITLE', INV_FIELD_HEADING_TITLE);
        break;
    default:
        $heading_array = array('description' => TEXT_DESCRIPTION, 'field_name' => TEXT_FLDNAME, 'category_id' => TEXT_CATEGORY_NAME, 'entry_type' => TEXT_TYPE);
        $result = html_heading_bar($heading_array, $_GET['list_order']);