Changeset 1012
- Timestamp:
- 07/11/08 01:35:34 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix/plugins/tpl/html/function.jmessage.php
r1011 r1012 28 28 if ($type == '') { 29 29 echo '<ul class="jelix-msg">'; 30 foreach ($messages as $type s) {31 foreach ($ types as $type =>$msg) {32 echo '<li class="jelix-msg-item-'.$type .'">'.htmlspecialchars($msg).'</li>';30 foreach ($messages as $type_msg => $all_msg) { 31 foreach ($all_msg as $msg) { 32 echo '<li class="jelix-msg-item-'.$type_msg.'">'.htmlspecialchars($msg).'</li>'; 33 33 } 34 34 } … … 42 42 43 43 if ($type == '') { 44 jMessage::clearAll(); ;44 jMessage::clearAll(); 45 45 } else { 46 46 jMessage::clear($type);
