[interchange-cvs] interchange - jon modified 2 files

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Thu Dec 6 23:19:01 2001


User:      jon
Date:      2001-12-07 04:18:44 GMT
Modified:  dist/lib/UI/pages/admin flex_select.html
Modified:  dist/lib/UI/vars UI_STD_HEAD
Log:
Fix flex_select bug that caused column headers not to be passed on to
subsequent 'more' pages, because CGI params weren't getting copied into
Values.

Disable showing 'Delete checked records' button if user doesn't have
permission. (Delete attempts were being blocked anyway, but this avoids
making it look like it's allowed.)

Revision  Changes    Path
2.5       +5 -1      interchange/dist/lib/UI/pages/admin/flex_select.html


rev 2.5, prev_rev 2.4
Index: flex_select.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/flex_select.html,v
retrieving revision 2.4
retrieving revision 2.5
diff -u -u -r2.4 -r2.5
--- flex_select.html	2001/10/09 22:32:52	2.4
+++ flex_select.html	2001/12/07 04:18:44	2.5
@@ -574,18 +574,22 @@
 [/button]
 [/if]
 
+[comment][if-mm function="tables" table="[cgi mv_data_table]=d"][/comment]
     
-
 [button text="[L]Delete checked records[/L]"
 		confirm="[L]Are you sure you want to delete the checked records?[/L]"]
 [flag type=write table="[cgi mv_data_table]"]
 deleterecords=1
 mv_click=db_maintenance
 [/button]
+[comment][/if-mm][/comment]
+
 [/on-match]
 </FORM>
 [/search-region]
 <!-- ----- END REAL STUFF ----- -->
+
+[update values]
 
 @_UI_STD_FOOTER_@
 <!-- page: @@MV_PAGE@@ -->



2.10      +1 -1      interchange/dist/lib/UI/vars/UI_STD_HEAD


rev 2.10, prev_rev 2.9
Index: UI_STD_HEAD
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/vars/UI_STD_HEAD,v
retrieving revision 2.9
retrieving revision 2.10
diff -u -u -r2.9 -r2.10
--- UI_STD_HEAD	2001/12/06 21:18:44	2.9
+++ UI_STD_HEAD	2001/12/07 04:18:44	2.10
@@ -60,7 +60,7 @@
 EOF
 	$Scratch->{"ui_class_$ui_tag"} = 1;
 	$Scratch->{ui_menu_sparams} = $sparams;
-	return $out;
+	return;
 [/calc]
 [if scratch table_perm]
 	[calc]