[interchange-cvs] interchange - pajamian modified 2 files

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Thu Nov 8 20:46:05 EST 2007


User:      pajamian
Date:      2007-11-09 01:46:04 GMT
Modified:  .        WHATSNEW-5.5
Modified:  dist/lib/UI/pages/include/Options Matrix
Log:
Matrix options editor can now display more than 50 variants via the use of a
more list, thanks to Kevin for helping with this.

Revision  Changes    Path
1.68      +6 -0      interchange/WHATSNEW-5.5


rev 1.68, prev_rev 1.67
Index: WHATSNEW-5.5
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW-5.5,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- WHATSNEW-5.5	6 Nov 2007 10:58:26 -0000	1.67
+++ WHATSNEW-5.5	9 Nov 2007 01:46:04 -0000	1.68
@@ -53,6 +53,12 @@
   the "include_depth" Limit etc.) but I felt that that was an unnecessary
   overhead.
 
+UI
+--
+
+* Matrix options editor can now display more than 50 variants via the use of a
+  more-list.
+
 
 Interchange 5.5.1 released on 2007-08-21.
 



1.4       +11 -3     interchange/dist/lib/UI/pages/include/Options/Matrix


rev 1.4, prev_rev 1.3
Index: Matrix
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/include/Options/Matrix,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Matrix	29 Apr 2004 02:47:01 -0000	1.3
+++ Matrix	9 Nov 2007 01:46:04 -0000	1.4
@@ -228,8 +228,15 @@
 <TH ALIGN=RIGHT>[L]Price[/L]</TH>
 <TH ALIGN=CENTER>&nbsp;</TH>
 </tr>
-[loop prefix=variant
-		search="
+[loop 
+	more=1
+	form=|
+		item_id=[cgi item_id]
+		ui_sequence_edit=[cgi ui_sequence_edit]
+		item_id_left=[cgi item_id_left]
+	|
+	prefix=variant
+	search="
 				fi=[cgi mv_variant_table]
 				st=db
 				co=yes
@@ -239,7 +246,7 @@
 				op=eq
 
 				rf=code,sku,description,price
-				"]
+	"]
 [list]
 <TR [variant-alternate 2]BGCOLOR="__UI_T_ROW_EVEN__"[else]BGCOLOR="__UI_T_ROW_ODD__"[/else][/variant-alternate]>
 
@@ -288,6 +295,7 @@
 </td>
 </tr>
 [/no-match]
+<tr><td colspan="3">[more-list][more][/more-list]</td></tr>
 <tr>
 <td colspan=3>
 	<form action="[area @@MV_PAGE@@]">








More information about the interchange-cvs mailing list