Author: sevein
Date: Mon Oct 31 11:33:29 2011
New Revision: 10233

Log:
Dont show print-date during the installer, I18N helper is not available yet 
(settings.yml is created later)

Modified:
   trunk/apps/qubit/templates/layout.php

Modified: trunk/apps/qubit/templates/layout.php
==============================================================================
--- trunk/apps/qubit/templates/layout.php       Sat Oct 29 20:36:41 2011        
(r10232)
+++ trunk/apps/qubit/templates/layout.php       Mon Oct 31 11:33:29 2011        
(r10233)
@@ -31,9 +31,11 @@
           <div class="clearfix" id="main">
 
             <div class="column" id="content">
-              <div id="print-date">
-                <?php echo __('Printed: %d%', array('%d%' => date('Y-m-d'))) ?>
-              </div>
+              <?php if ($sf_context->getModuleName() != 'sfInstallPlugin'): ?>
+                <div id="print-date">
+                  <?php echo __('Printed: %d%', array('%d%' => date('Y-m-d'))) 
?>
+                </div>
+              <?php endif; ?>
 
               <div class="section">
                 <?php echo $sf_content ?>

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to