[interchange-cvs] interchange - heins modified dist/foundation/products/mv_metadata.asc
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Thu Nov 21 11:16:02 2002
User: heins
Date: 2002-11-21 16:14:34 GMT
Modified: dist/foundation/products mv_metadata.asc
Log:
* Add graphing metadata.
Revision Changes Path
2.24 +10 -3 interchange/dist/foundation/products/mv_metadata.asc
rev 2.24, prev_rev 2.23
Index: mv_metadata.asc
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/products/mv_metadata.asc,v
retrieving revision 2.23
retrieving revision 2.24
diff -u -r2.23 -r2.24
--- mv_metadata.asc 21 Nov 2002 03:25:13 -0000 2.23
+++ mv_metadata.asc 21 Nov 2002 16:14:34 -0000 2.24
@@ -198,15 +198,22 @@
shipping text description
state code
country
state
name
tax
tax_name State/Province Settings (tax, etc)
state::state text 4 word
-survey {'bottom_buttons' => "",'spread_textarea' => "",'tab_vert_offset' => "",'include_form_expand' => "",'restrict_allow' => "",'widget_cell_class' => "",'ui_sort_field' => "",'link_table' => "",'ui_show_fields' => "code
label
type",'link_extra' => "",'break_row_class' => "",'label_cell_class' => "",'tab_horiz_offset' => "",'link_before' => "",'ui_special_add' => "",'left_width' => "200",'top_buttons' => "",'spread_fields' => "",'combo_row_class' => "",'include_before' => "",'ui_meta_specific' => "",'tab_height' => "",'link_view' => "",'link_fields' => "",'spread_meta' => "",'tab_width' => "200",'data_row_class' => "",'ui_sort_option' => "",'panel_height' => "600",'include_form' => "",'help_cell_class' => "",'spacer_row_class' => "",'ui_sort_combined' => "code,label",'ui_data_fields' => "=Question
code
label
type
options
extended.check
width
height
filter
=Explanation/Formatting
help",'file_upload' => "",'spread_width' => "",'spread_height' => "",'tabbed' => "1",'include_form_interpolate' => "",'table_width' => "900",'spread_textarea_rows' => "",'link_sort' => "",'panel_width' => "900",'link_key' => "",'data_cell_class' => "",'view_from' => "",'link_label' => "",}
+survey {'bottom_buttons' => "",'include_form_expand' => "",'tab_vert_offset' => "",'spread_textarea' => "",'widget_cell_class' => "",'restrict_allow' => "",'ui_sort_field' => "",'link_table' => "",'ui_show_fields' => "code
label
type",'link_extra' => "",'break_row_class' => "",'label_cell_class' => "",'tab_horiz_offset' => "",'link_before' => "",'ui_special_add' => "",'top_buttons' => "",'left_width' => "200",'include_before' => "",'combo_row_class' => "",'spread_fields' => "",'tab_height' => "",'ui_meta_specific' => "",'link_view' => "",'link_fields' => "",'spread_meta' => "",'data_row_class' => "",'tab_width' => "200",'ui_sort_option' => "",'panel_height' => "600",'include_form' => "",'help_cell_class' => "",'spacer_row_class' => "",'ui_data_fields' => "=Question
code
label
type
options
extended.check
width
height
filter
=Explanation/Formatting
help
=Graphing
extended.graph_enable
extended.graph_type
extended.graph_label
extended.graph_low_water
extended.graph_width
extended.graph_height
extended.graph_title
",'ui_sort_combined' => "code,label",'spread_width' => "",'file_upload' => "",'tabbed' => "1",'spread_height' => "",'include_form_interpolate' => "",'spread_textarea_rows' => "",'table_width' => "900",'link_sort' => "",'panel_width' => "900",'link_key' => "",'data_cell_class' => "",'link_label' => "",'view_from' => "",}
survey::code hidden_text 70 2 Survey::Field
survey::extended.check select =none,required=Required answer,state=US state,province=Canadian province,state_province=US state or Canada province,postcode=US or Canada postal code,phone=Like a phone number,us_phone_with_area=US phone (with area code),email=An email address,luhn=Pass LUHN-10 check Consistency check
+survey::extended.graph_enable yesno Enable Graph Requires GD::Graph module installed.
+survey::extended.graph_height text 6 Height of chart image Default 300.
+survey::extended.graph_label textarea 30 8 Graph Labels Entered in option format, i.e.
<blockquote>
data_value=Label for Graph
</blockquote>
One per line. Any values not listed will be placed under "Other" label. line2options options2line
+survey::extended.graph_low_water text 6 Low water for "other" The number of responses which should trigger placement in "Other" category. digits
+survey::extended.graph_title text 50 Graph Title Default is question text.
+survey::extended.graph_type select pie=Pie Chart,area=Area Chart Graph Type
+survey::extended.graph_width text 6 Width of chart image Default 400.
survey::filter hidden_text my $wid = $CGI->{type};
if($wid =~ /fillin/) {
return 'nullselect';
}
elsif ($wid =~ /checkbox/) {
return 'checkbox null_to_comma';
}
return ''; calculated.mv_metadata.options.survey::filter
survey::height text 3 Height For option selects and text boxes
survey::help textarea 80 5 Explanation Text Explanation text to be shown above question
survey::label textarea 60 2 Question
-survey::options textarea 100 10 Choices Choices for option types { default => '=-- select one --' }
-survey::type select select=Simple select,fillin_combo=Options with "other" text input,radio_left=Select one (radio),checkbox_left=Select any (checkbox),textarea=Text Box,text=One-line text,yesno=Yes/No answer Answer type
+survey::options textarea 100 10 Choices Choices for option types line2options options2line { default => '=-- select one --' }
+survey::type select select=Simple select,
fillin_combo=Options with "other" text input,
radio_left=Select one (radio),
checkbox_left=Select any (checkbox),
textarea=Text Box,
text=One-line text Answer type
survey::width text 3 Width Applies to all
tracking::transactions {'bottom_buttons' => "",'spread_textarea' => "",'tab_vert_offset' => "",'widget_cell_class' => "",'ui_sort_field' => "tracking_number",'link_table' => "",'ui_show_fields' => "",'link_extra' => "",'break_row_class' => "",'label_cell_class' => "",'tab_horiz_offset' => "",'link_before' => "",'ui_special_add' => "",'top_buttons' => "",'left_width' => "",'spread_fields' => "code
lname
city
state
country
tracking_number",'combo_row_class' => "",'include_before' => "",'ui_meta_specific' => "",'tab_height' => "",'link_view' => "",'link_fields' => "",'spread_meta' => "tracking_number",'tab_width' => "",'data_row_class' => "",'ui_sort_option' => "",'panel_height' => "",'include_form' => "",'help_cell_class' => "",'spacer_row_class' => "",'ui_data_fields' => "",'ui_sort_combined' => "",'spread_width' => "",'file_upload' => "",'spread_height' => "50",'tabbed' => "",'table_width' => "",'spread_textarea_rows' => "",'link_sort' => "",'panel_width' => "",'link_key' => "",'data_cell_class' => "",'link_label' => "",}
transactions 100 1 {'bottom_buttons' => "",'tab_vert_offset' => "",'spread_textarea' => "",'widget_cell_class' => "",'ui_sort_field' => "order_number",'link_table' => "orderline",'ui_show_fields' => "code
username
nitems
total_cost",'link_extra' => "",'break_row_class' => "",'label_cell_class' => "",'tab_horiz_offset' => "",'link_before' => "nitems",'ui_special_add' => "",'left_width' => "120",'top_buttons' => "",'include_before' => "total_cost",'combo_row_class' => "",'spread_fields' => "",'tab_height' => "",'link_view' => "",'link_fields' => "code order_number sku quantity description price subtotal",'spread_meta' => "",'data_row_class' => "",'tab_width' => "",'panel_height' => "",'include_form' => "<td class=clabel>
Recompute?
</td>
<td class=cdata>
<input type=checkbox name=mv_cleanup value=recompute_transaction> Totals <input type=checkbox name=recompute_tax value=1> Tax <B>Warning: this will not work if your prices depend on options and you change them!
</td>
",'help_cell_class' => "",'spacer_row_class' => "",'ui_data_fields' => "=Transaction info
order_number
order_date
status
nitems
subtotal
salestax
shipping
handling
total_cost
update_date
=General
code
store_id
username
comments
order_ymd
order_wday
archived
deleted
complete
shipmode
payment_method
avs
po_number
order_id
=Shipping
fname
lname
company
address1
address2
city
state
zip
country
phone_day
phone_night
fax
email
=Billing
b_fname
b_lname
b_company
b_address1
b_address2
b_city
b_state
b_zip
b_country
b_phone
=Tracking info
affiliate
campaign
currency_locale
parent",'file_upload' => "",'spread_width' => "",'tabbed' => "1",'spread_height' => "",'table_width' => "800",'spread_textarea_rows' => "",'link_sort' => "code",'panel_width' => "",'link_key' => "order_number",'data_cell_class' => "",'link_label' => "Ordered Items",}