[interchange-cvs] interchange - heins modified 2 files

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Mon Aug 12 13:40:00 2002


User:      heins
Date:      2002-08-12 17:39:39 GMT
Modified:  code/UI_Tag table_editor.coretag
Modified:  dist/lib/UI/pages/admin preferences.html
Log:
* Add search box for preferences

* Only test for whether to show meta links once in [table-editor ...].

Revision  Changes    Path
1.11      +8 -1      interchange/code/UI_Tag/table_editor.coretag


rev 1.11, prev_rev 1.10
Index: table_editor.coretag
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/interchange/code/UI_Tag/table_editor.coretag,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- table_editor.coretag	15 Jul 2002 03:27:13 -0000	1.10
+++ table_editor.coretag	12 Aug 2002 17:39:39 -0000	1.11
@@ -1264,6 +1264,13 @@
 		}
 	}
=20
+	my $show_meta;
+	if($super and ! $opt->{no_meta}) {
+		$show_meta =3D defined $def->{ui_meta_force}
+					?  $def->{ui_meta_force}
+					: $::Variable->{UI_META_LINK};
+	}
+
 	foreach my $col (@cols) {
 		my $t;
 		my $c;
@@ -1443,7 +1450,7 @@
 			next;
 		}
=20
-		if($super and ! $opt->{no_meta} and ($Variable->{UI_META_LINK} || $def->=
{ui_meta_force}) ) {
+		if($show_meta) {
 			$meta .=3D '<BR><FONT SIZE=3D1>';
 			# Get global variables
 			my $base =3D $Tag->var('UI_BASE', 1);



2.5       +21 -3     interchange/dist/lib/UI/pages/admin/preferences.html


rev 2.5, prev_rev 2.4
Index: preferences.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/preferences.html,v
retrieving revision 2.4
retrieving revision 2.5
diff -u -r2.4 -r2.5
--- preferences.html	12 Aug 2002 16:16:18 -0000	2.4
+++ preferences.html	12 Aug 2002 17:39:39 -0000	2.5
@@ -94,8 +94,28 @@
 <td bgcolor=3D__UI_C_INTBLOCKBAR__><img src=3D"bg.gif" width=3D__UI_MAIN_W=
IDTH__ height=3D1></td>
 </tr>
=20
-<tr><td bgcolor=3D__UI_C_INTBLOCK__>
+<tr>
+	<td bgcolor=3D__UI_C_INTBLOCK__>
+	<table width=3D"100%">
+		<tr>
+			<td width=3D"30%">
+[if !variable UI_REGISTERED]
 <a href=3D"http://interchange.redhat.com/cgi-bin/ic/register.html">[L]Regi=
ster[/L]</a>
+[/if]
+
+			</td>
+			<td>
+<FORM ACTION=3D"[process href=3D"__UI_BASE__/flex_select"]" METHOD=3DGET>
+<INPUT TYPE=3Dhidden NAME=3Dmv_session_id VALUE=3D"[data session id]">
+<INPUT TYPE=3Dhidden NAME=3Dmv_data_table    VALUE=3D"variable">
+<INPUT TYPE=3Dhidden NAME=3Dui_meta_specific VALUE=3D"1">
+<INPUT TYPE=3Dhidden NAME=3Dmv_action        VALUE=3Dback>
+Search for a preference: <input NAME=3Dui_text_qualification size=3D16><IN=
PUT TYPE=3Dsubmit VALUE=3D"[L]Search[/L]">
+</FORM>
+			</td>
+		</tr>
+	</table>
+
 </td></tr>
=20
 <tr>
@@ -104,8 +124,6 @@
=20
 </table>
 </center>
-
-
 <!-- ----- END REAL STUFF ----- -->
=20
 @_UI_STD_FOOTER_@