[interchange] Show test order link on standard's front page only if MV_DEMO_MODE is set.

Stefan Hornburg interchange-cvs at icdevgroup.org
Fri May 4 07:22:16 UTC 2012


commit 3cad62d3800682dd00f3793c08f471e805b03429
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Fri May 4 09:21:55 2012 +0200

    Show test order link on standard's front page only if MV_DEMO_MODE is set.

 dist/standard/pages/index.html |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/dist/standard/pages/index.html b/dist/standard/pages/index.html
index ecf6c47..7a45e67 100644
--- a/dist/standard/pages/index.html
+++ b/dist/standard/pages/index.html
@@ -99,12 +99,14 @@ ui_template_name: leftright
 </tr>
 [/if]
 
+[if var MV_DEMO_MODE]
 <tr> 
   <td>    
     <p>[L]Generate test order to fill the sample order database[/L]:
 		<a href="[area href="test_order"]">[L]Do test order[/L]</a>.<br><br></p>
   </td>
 </tr>
+[/if]
 </table>
 <!-- END CONTENT -->
 @_LEFTRIGHT_BOTTOM_@



More information about the interchange-cvs mailing list