[Alba-desarrollo] SVN Alba r6119 - prosistem/alba/trunk/alba/apps/principal/templates

commits en pressenter.com.ar commits en pressenter.com.ar
Vie Abr 24 21:44:03 CEST 2009


Author: ftoledo
Date: 2009-04-24 16:44:03 -0300 (Fri, 24 Apr 2009)
New Revision: 6119

Added:
   prosistem/alba/trunk/alba/apps/principal/templates/_flashes.php
Log:
flashes!


Added: prosistem/alba/trunk/alba/apps/principal/templates/_flashes.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/templates/_flashes.php	                        (rev 0)
+++ prosistem/alba/trunk/alba/apps/principal/templates/_flashes.php	2009-04-24 19:44:03 UTC (rev 6119)
@@ -0,0 +1,7 @@
+<?php if ($sf_user->hasFlash('notice')): ?>
+  <div class="notice"><?php echo __($sf_user->getFlash('notice'), array(), 'sf_admin') ?></div>
+<?php endif; ?>
+
+<?php if ($sf_user->hasFlash('error')): ?>
+  <div class="error"><?php echo __($sf_user->getFlash('error'), array(), 'sf_admin') ?></div>
+<?php endif; ?>




Más información sobre la lista de distribución Alba-desarrollo