[interchange-cvs] interchange - ton modified 3 files

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Fri Jul 16 09:16:24 EDT 2004


User:      ton
Date:      2004-07-16 13:16:20 GMT
Modified:  code/UI_Tag menu_load.coretag
Modified:  dist/lib/UI/pages/admin menu_editor.html menu_loader.html
Log:
	Add option to exclude individual products
	from a tree build.

Revision  Changes    Path
1.5       +1 -1      interchange/code/UI_Tag/menu_load.coretag


rev 1.5, prev_rev 1.4
Index: menu_load.coretag
===================================================================
RCS file: /var/cvs/interchange/code/UI_Tag/menu_load.coretag,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- menu_load.coretag	2 Apr 2003 18:57:38 -0000	1.4
+++ menu_load.coretag	16 Jul 2004 13:16:18 -0000	1.5
@@ -203,7 +203,7 @@
 					name => $desc,
 					inactive => 0,
 					page => $sku,
-				};
+				} unless $opt->{no_leafs};
 			}
 
 			for(@rows) {



2.29      +1 -0      interchange/dist/lib/UI/pages/admin/menu_editor.html


rev 2.29, prev_rev 2.28
Index: menu_editor.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/menu_editor.html,v
retrieving revision 2.28
retrieving revision 2.29
diff -u -r2.28 -r2.29
--- menu_editor.html	3 May 2004 17:38:13 -0000	2.28
+++ menu_editor.html	16 Jul 2004 13:16:19 -0000	2.29
@@ -113,6 +113,7 @@
 			even_large => $CGI->{qmenu_even_large},
 			sku_field => $CGI->{qmenu_sku_field},
 			type => $CGI->{qmenu_load_type} || 'tree',
+			no_leafs => $CGI->{qmenu_no_leafs},
 		);
 
 		$CGI->{qmenu_text} = $Tag->menu_load(\%opt);



2.8       +11 -0     interchange/dist/lib/UI/pages/admin/menu_loader.html


rev 2.8, prev_rev 2.7
Index: menu_loader.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/menu_loader.html,v
retrieving revision 2.7
retrieving revision 2.8
diff -u -r2.7 -r2.8
--- menu_loader.html	9 Feb 2004 19:10:04 -0000	2.7
+++ menu_loader.html	16 Jul 2004 13:16:19 -0000	2.8
@@ -180,6 +180,17 @@
 			 
 		</td>
 		<td class=cdata>
+		<input type=checkbox name="qmenu_no_leafs" value=1  [checked name=qmenu_no_leafs value=1 cgi=1]> [L]No Leafs[/L] &nbsp;
+		</td>
+		<td class=chelp>
+			[L]Use to EXCLUDE individual products[/L]
+		</td>
+	</tr>
+	<tr>
+		<td class=clabel>
+			&nbsp;
+		</td>
+		<td class=cdata>
 				<input type=submit value="[L]Load Menu[/L]"><br>
 		</td>
 		<td class=chelp>








More information about the interchange-cvs mailing list