[interchange-cvs] interchange - heins modified 3 files
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Sat Feb 8 00:01:02 2003
User: heins
Date: 2003-02-08 05:00:57 GMT
Modified: dist/lib/UI/pages/admin db_metaconfig.html flex_select.html
Modified: dist/lib/UI/pages/include/meta mv_metadata.asc
Log:
* Add mv_more_alpha and mv_more_decade options to flex_selector. Make
locale and country tables use them by default.
Revision Changes Path
2.12 +13 -2 interchange/dist/lib/UI/pages/admin/db_metaconfig.html
rev 2.12, prev_rev 2.11
Index: db_metaconfig.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/db_metaconfig.html,v
retrieving revision 2.11
retrieving revision 2.12
diff -u -r2.11 -r2.12
--- db_metaconfig.html 14 Jan 2003 02:25:50 -0000 2.11
+++ db_metaconfig.html 8 Feb 2003 05:00:56 -0000 2.12
@@ -79,6 +79,8 @@
extended.ui_sort_combined
extended.ui_show_fields
extended.ui_special_add
+ extended.ui_more_alpha
+ extended.ui_more_decade
fieldmeta
=Edit page
@@ -165,6 +167,9 @@
'extended.view_from' => 'Custom view from field',
'extended.ui_show_fields' => 'Show on select page',
'extended.ui_sort_field' => 'Sort by on select page',
+ 'extended.ui_more_alpha' => 'More with alpha links',
+ 'extended.ui_more_decade' => 'More decade',
+ 'extended.ui_more_alpha' => 'Display [more] with alpha links instead of page numbers',
'extended.ui_sort_option' => 'Sort modifier for select page',
'extended.ui_sort_combined' => 'Complex sort for select page',
'extended.ui_special_add' => 'Special Additions',
@@ -227,6 +232,8 @@
'extended.tabbed' => 'Use the tabbed display, broken into tabs as you label sections.',
'extended.ui_data_fields' => 'Breaks can be embedded in the fields by placing "=Title String" on a line by itself and surrounding with blank lines.',
'extended.ui_display_only' => 'Will not be set, only shown.',
+ 'extended.ui_more_decade' => 'Maximum number of pages for [more] before [next] links show up',
+ 'extended.ui_more_alpha' => 'Display [more] on oversize pages with alpha links instead of page numbers',
'extended.ui_special_add' => 'Only applies to certain pages (Items uses this)',
'extended.ui_sort_combined' => 'WARNING: overrides sort field and sort option. Should contain a comma-separated list of sort fields, with possible colon-separated modifiers. Example: <blockquote>price:r, description:f</blockquote>',
}`
@@ -264,6 +271,8 @@
'extended.view_from' => 'select',
'extended.ui_show_fields' => 'move_combo_8',
'extended.ui_sort_field' => 'select',
+ 'extended.ui_more_alpha' => 'yesno',
+ 'extended.ui_more_decade' => 'select',
'extended.ui_sort_option' => 'multiple',
'extended.ui_sort_combined' => 'text_50',
'extended.bottom_buttons' => 'yesno',
@@ -332,10 +341,12 @@
'extended.panel_shade' => 'f=white,e=Light gray,d=Medium gray,c=Dark gray',
'extended.link_table' => 'tables',
'extended.link_before' => '',
+ 'extended.ui_more_decade' => '0=No,5,10*,15,20,25,50,100',
'extended.ui_sort_option' => q{=none,n=numeric,r=reverse,f=case-insensitive},
'extended.ui_special_add' => q{NONE,
Qty price;pricing:q5:rn=Qty price,
-Options;options:o_enable:r=Options,
+Option;products:option_type=Options,
+Options;options:o_enable:r=Old Options,
Up-sell;merchandising:upsell_to:r=Up-sell,
Cross-sell;merchandising:cross_sell:r=Cross-sell,
Promo;merchandising:featured:r=Promo,
@@ -344,4 +355,4 @@
]
@_UI_STD_FOOTER_@
-<!-- page: @@MV_PAGE@@ version: $Revision: 2.11 $ -->
+<!-- page: @@MV_PAGE@@ version: $Revision: 2.12 $ -->
2.19 +6 -3 interchange/dist/lib/UI/pages/admin/flex_select.html
rev 2.19, prev_rev 2.18
Index: flex_select.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/flex_select.html,v
retrieving revision 2.18
retrieving revision 2.19
diff -u -r2.18 -r2.19
--- flex_select.html 14 Jan 2003 02:25:50 -0000 2.18
+++ flex_select.html 8 Feb 2003 05:00:56 -0000 2.19
@@ -215,7 +215,9 @@
$Scratch->{keyname} = $ref->config('KEY');
$CGI->{ui_show_fields} ||= $meta->{ui_show_fields} || $meta->{field};
- $CGI->{ui_meta_specific} ||= $meta->{ui_meta_specific};
+ for(qw/ui_more_alpha ui_more_decade ui_meta_specific/) {
+ $CGI->{$_} ||= $meta->{$_};
+ }
$Config->{NoSearch} = '';
$ui_text_qualification = $CGI->{ui_text_qualification};
if ($ui_text_qualification and $CGI->{ui_text_qualification} =~ /[<!=>\^]/ ) {
@@ -408,7 +410,8 @@
st=db
$CGI->{ui_text_qualification}
su=1
- md=1
+ ma=$CGI->{ui_more_alpha}
+ md=$CGI->{ui_more_decade}
ml=$CGI->{ui_list_size}
tf=$CGI->{ui_sort_field}
to=$CGI->{ui_sort_option}
@@ -638,4 +641,4 @@
[update values]
@_UI_STD_FOOTER_@
-<!-- page: @@MV_PAGE@@ Revision: $Id: flex_select.html,v 2.18 2003/01/14 02:25:50 mheins Exp $ -->
+<!-- page: @@MV_PAGE@@ Revision: $Id: flex_select.html,v 2.19 2003/02/08 05:00:56 mheins Exp $ -->
1.4 +2 -1 interchange/dist/lib/UI/pages/include/meta/mv_metadata.asc
rev 1.4, prev_rev 1.3
Index: mv_metadata.asc
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/include/meta/mv_metadata.asc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mv_metadata.asc 18 Jan 2003 15:42:39 -0000 1.3
+++ mv_metadata.asc 8 Feb 2003 05:00:57 -0000 1.4
@@ -24,7 +24,7 @@
cat::search textarea 50 4
cat::sel text Select code
cat::selector textarea 50 3
-country table 200 code
name(40)
shipmodes
tax Int'l Shipping/Taxing Settings country {'panel_shade' => "f",'spread_height' => "50",'ui_data_fields' => "=Identification
code
name
=Shipping/Taxing
shipmodes
tax
=Sort/Display
region
sorder
=Extended information
iso
isonum",}
+country table 25 code
name(40)
shipmodes
tax Int'l Shipping/Taxing Settings country {'panel_shade' => "f",'spread_height' => "50",'ui_sort_field' => "name",'ui_more_alpha' => "1",'ui_data_fields' => "=Identification
code
name
=Shipping/Taxing
shipmodes
tax
=Sort/Display
region
sorder
=Extended information
iso
isonum",'ui_more_decade' => "0",}
country::code text 5 Country Code Two-letter code
country::iso text 5 ISO Country code Not normally used by Interchange; some credit card companies require this. A three letter code.
country::isonum text 5 ISO Country Number Not normally used by Interchange.
@@ -78,6 +78,7 @@
inventory::sku text 16 SKU
inventory::stock_message select In stock,Ships in 3-5 days,Ships in 4-6 weeks,Special order Out of stock message Some absurd amount of help on the same line to make sure the colspan is good for use. stock_message
item_select::products table 50 Item Editor item_select products {'ui_show_fields' => "sku
description
prod_group
category
price(%.2f align=right)",'ui_sort_field' => "description",'ui_special_add' => "Qty price;pricing:q5:rn,Options;options:o_enable:r,Promo;merchandising:featured:r,Inventory;inventory:quantity:rn",}
+locale table 10 {'panel_shade' => "f",'ui_sort_field' => "code",'ui_more_alpha' => "1",'ui_more_decade' => "100",}
matrix::options::price text 12 Price digits_dot
matrix_options::options table 100 code
sku
=Option information
o_group
o_label
o_value
matrix_options options {'panel_shade' => "f",'ui_show_fields' => "code
sku
o_group
o_value
o_label",'ui_sort_field' => "sku",'ui_sort_combined' => "sku,o_group",}
merchandising::banner_image text Banner image if appropriate