- Timestamp:
- Apr 1, 2006, 11:42:55 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nbm.php
r1116 r1118 56 56 else 57 57 { 58 echo l10n('nbm_unknown_identifier'); 59 exit(); 58 /* echo l10n('nbm_unknown_identifier'); 59 exit();*/ 60 array_push($page['errors'], l10n('nbm_unknown_identifier')); 60 61 } 61 62 62 63 // +-----------------------------------------------------------------------+ 63 // | infos & errors display|64 // | template initialization | 64 65 // +-----------------------------------------------------------------------+ 65 echo '<pre>'; 66 $title = $lang['nbm_item_notification']; 67 $page['body_id'] = 'theNBMPage'; 68 include(PHPWG_ROOT_PATH.'include/page_header.php'); 66 69 70 $template->set_filenames(array('nbm'=>'nbm.tpl')); 71 72 $template->assign_vars(array('U_HOME' => make_index_url())); 73 74 // +-----------------------------------------------------------------------+ 75 // | errors & infos | 76 // +-----------------------------------------------------------------------+ 67 77 if (count($page['errors']) != 0) 68 78 { 69 echo "\n\nErrors:\n";79 $template->assign_block_vars('errors',array()); 70 80 foreach ($page['errors'] as $error) 71 81 { 72 echo $error."\n";82 $template->assign_block_vars('errors.error',array('ERROR'=>$error)); 73 83 } 74 84 } … … 76 86 if (count($page['infos']) != 0) 77 87 { 78 echo "\n\nInformations:\n";88 $template->assign_block_vars('infos',array()); 79 89 foreach ($page['infos'] as $info) 80 90 { 81 echo $info."\n";91 $template->assign_block_vars('infos.info',array('INFO'=>$info)); 82 92 } 83 93 } 84 94 85 echo '</pre>'; 86 87 95 // +-----------------------------------------------------------------------+ 96 // | html code display | 97 // +-----------------------------------------------------------------------+ 98 $template->parse('nbm'); 99 include(PHPWG_ROOT_PATH.'include/page_tail.php'); 88 100 ?> -
trunk/template/yoga/content.css
r1097 r1118 13 13 BODY#thePopuphelpPage #content, 14 14 BODY#thePasswordPage #content, 15 BODY#theNotificationPage #content 15 BODY#theNotificationPage #content, 16 BODY#theNBMPage #content 16 17 { 17 18 margin: 1em;
Note: See TracChangeset
for help on using the changeset viewer.