[interchange-cvs] interchange - heins modified dist/lib/UI/pages/include/page_editor

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Sun Jan 19 11:58:00 2003


User:      heins
Date:      2003-01-19 16:57:49 GMT
Modified:  dist/lib/UI/pages/include page_editor
Log:
* Fix dependency on certain [if ...] conditions in page code.

Revision  Changes    Path
1.8       +16 -16    interchange/dist/lib/UI/pages/include/page_editor


rev 1.8, prev_rev 1.7
Index: page_editor
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/include/page_editor,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- page_editor	14 Jan 2003 02:25:53 -0000	1.7
+++ page_editor	19 Jan 2003 16:57:49 -0000	1.8
@@ -519,21 +519,7 @@
 	</div>
 [/components]
 
-[if !scratch CONTENT_shown]
-
-	<div
-		id="comp_dynformonly"
-		style="
-				border-style: inset;
-				border-width: thin;
-				Position:Absolute; 
-				Left:0; Top:0; Height:100%; Width:100%;
-				Visibility: Hidden;
-				z-index:0;
-				background: #EEEEEE;
-			">
-
-[calc]
+[calcn]
 	$page_content = <<'EoPA';
 [page-param CONTENT]
 EoPA
@@ -547,7 +533,21 @@
 		chop $$_;
 	}
 	return;
-[/calc]
+[/calcn]
+
+[if !scratch CONTENT_shown]
+
+	<div
+		id="comp_dynformonly"
+		style="
+				border-style: inset;
+				border-width: thin;
+				Position:Absolute; 
+				Left:0; Top:0; Height:100%; Width:100%;
+				Visibility: Hidden;
+				z-index:0;
+				background: #EEEEEE;
+			">
 
 		[table-editor
 			action=return