Changeset 265
- Timestamp:
- 09/10/06 10:00:02 (6 years ago)
- Location:
- trunk/trax
- Files:
-
- 2 modified
-
app/views/layouts/application.phtml (modified) (1 diff)
-
data/app/views/layouts/application.phtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/app/views/layouts/application.phtml
r174 r265 5 5 <body> 6 6 7 <? if( array_key_exists('flash',$_SESSION) 8 && array_key_exists('notice',$_SESSION) ): ?> 9 <font color="green"><?=$_SESSION['flash']['notice']?></font><br><br> 10 <? endif; ?> 11 <? if( array_key_exists('flash',$_SESSION) 12 && array_key_exists('error',$_SESSION) ): ?> 13 <font color="red"><?=$_SESSION['flash']['error']?></font><br><br> 14 <? endif; ?> 7 <?php if(Session::isset_flash('error')): ?> 8 <font color="red"><?php echo Session::flash('error') ?></font> 9 <?php elseif(Session::isset_flash('notice')): ?> 10 <font color="green"><?php echo Session::flash('notice') ?></font> 11 <?php endif; ?> 15 12 16 <? =$content_for_layout?>13 <?php echo $content_for_layout ?> 17 14 18 15 </body> -
trunk/trax/data/app/views/layouts/application.phtml
r183 r265 5 5 <body> 6 6 7 <? if( array_key_exists('flash',$_SESSION) 8 && array_key_exists('notice',$_SESSION) ): ?> 9 <font color="green"><?=$_SESSION['flash']['notice']?></font><br><br> 10 <? endif; ?> 11 <? if( array_key_exists('flash',$_SESSION) 12 && array_key_exists('error',$_SESSION) ): ?> 13 <font color="red"><?=$_SESSION['flash']['error']?></font><br><br> 14 <? endif; ?> 7 <?php if(Session::isset_flash('error')): ?> 8 <font color="red"><?php echo Session::flash('error') ?></font> 9 <?php elseif(Session::isset_flash('notice')): ?> 10 <font color="green"><?php echo Session::flash('notice') ?></font> 11 <?php endif; ?> 15 12 16 <? =$content_for_layout?>13 <?php echo $content_for_layout ?> 17 14 18 15 </body>
