logo       

4142 - trunk/Template/tests [eZComponents: Trunk]: msg#00315

web.ezcomponents.cvs

Subject: 4142 - trunk/Template/tests [eZComponents: Trunk]

Author: Raymond Bosman
Date: 2006-11-30 10:54:16 +0100 (Thu, 30 Nov 2006)
New Revision: 4142

Log:
- Changed the order of displaying all ('d' option) the values.

Modified:
trunk/Template/tests/regression_test.php

Modified: trunk/Template/tests/regression_test.php
===================================================================
--- trunk/Template/tests/regression_test.php 2006-11-30 09:29:35 UTC (rev
4141)
+++ trunk/Template/tests/regression_test.php 2006-11-30 09:54:16 UTC (rev
4142)
@@ -202,6 +202,15 @@
elseif ( $reply == "do" || $reply == "de" || $reply == "ds" ||
$reply == "dc" || $reply == "dta" || $reply == "dtt" || $reply == "dd" ||
$reply == "d" )
{
$displayText = false;
+
+ if ( $reply == "ds" || $reply == "d" )
+ {
+ if ( $reply == "d" )
+ {
+ $displayText .= "------Source template------\n";
+ }
+ $displayText .= file_get_contents( $tplSource );
+ }
if ( $reply == "do" || $reply == "d" )
{
if ( $reply == "d" )
@@ -245,14 +254,6 @@
{
}
}
- if ( $reply == "ds" || $reply == "d" )
- {
- if ( $reply == "d" )
- {
- $displayText .= "------Source template------\n";
- }
- $displayText .= file_get_contents( $tplSource );
- }
if ( $reply == "dc" || $reply == "d" )
{
if ( file_exists( $template->compiledTemplatePath ) )



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise