[interchange-cvs] interchange - pajamian modified dist/lib/UI/pages/admin/test_code.html

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Tue Sep 19 09:18:23 EDT 2006


User:      pajamian
Date:      2006-09-19 13:18:23 GMT
Modified:  dist/lib/UI/pages/admin Tag: STABLE_5_4-branch
Modified:           test_code.html
Log:
* Use <pre> ... </pre> instead of the obsolete <xmp> ... </xmp> element in the
  test_code admin UI page when displaying in SOURCE mode.

* Don't filter entities when displaying in HTML mode.

Revision  Changes    Path
No                   revision



No                   revision



1.5.2.1   +5 -1      interchange/dist/lib/UI/pages/admin/test_code.html


rev 1.5.2.1, prev_rev 1.5
Index: test_code.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/test_code.html,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- test_code.html	23 Apr 2005 18:10:07 -0000	1.5
+++ test_code.html	19 Sep 2006 13:18:23 -0000	1.5.2.1
@@ -17,7 +17,11 @@
 	<tr>
 		<td style="font-size: larger">
 		<u style="font-size: larger; font-weight: bold">[L]Results[/L]</u><br>
-		[if cgi xmp]<xmp>[/if][filter op="entities" interpolate=1][calc] $Scratch->{itl_code} = $CGI->{itl_code}; [/calc][/filter][if cgi xmp]</xmp>[/if]
+		[if cgi xmp]
+			<pre>[filter op="entities" interpolate=1][calcn]$Scratch->{itl_code} = $CGI->{itl_code};[/calcn][/filter]</pre>
+		[else]
+			[calcn]$Scratch->{itl_code} = $CGI->{itl_code};[/calcn]
+		[/else][/if]
 		</td>
 	</tr>
 [/if]








More information about the interchange-cvs mailing list