Show
Ignore:
Timestamp:
12/14/05 01:19:37 (6 years ago)
Author:
john
Message:

changed to the new sessions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/templates/scaffolds/layout.phtml

    r72 r95  
    6262<body> 
    6363 
    64 <? if($_SESSION['flash']['notice']): ?> 
    65     <p style="color: green"><?= $_SESSION['flash']['notice'] ?></p> 
    66 <? elseif($_SESSION['flash']['error']): ?> 
    67     <p style="color: red"><?= $_SESSION['flash']['error'] ?></p> 
     64<? if(Session::isset_flash("notice")): ?> 
     65    <p style="color: green"><?= Session::flash("notice") ?></p> 
     66<? elseif(Session::isset_flash("error")): ?> 
     67    <p style="color: red"><?= Session::flash("error") ?></p> 
    6868<? endif; ?> 
    6969