Changeset 251
- Timestamp:
- 11/23/07 19:49:37 (15 years ago)
- Location:
- branch/rev3
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
branch/rev3/common/includes/class.page.php
r250 r251 13 13 $this->title_ = $title; 14 14 $this->admin_ = false; 15 $this->headlines = array();15 $this->headlines = $this->bodylines = array(); 16 16 17 17 $this->igb_ = IS_IGB; … … 53 53 } 54 54 55 function addBody($line) 56 { 57 $this->bodylines[] = $line; 58 } 59 55 60 function generate() 56 61 { … … 68 73 } 69 74 75 // header 70 76 event::call('page_assembleheader', $this); 71 // header72 77 $smarty->assign('page_headerlines', join("\n", $this->headlines)); 78 79 event::call('page_assemblebody', $this); 80 $smarty->assign('page_bodylines', join("\n", $this->bodylines)); 73 81 74 82 if (!$this->igb_) 75 83 { 76 if (strpos(config::get('mods_active'), 'rss_feed') !== false)77 {78 $smarty->assign('rss_feed', 1);79 }80 84 if (MAIN_SITE) 81 85 { -
branch/rev3/templates/index.tpl
r250 r251 15 15 </head> 16 16 <body bgcolor="#222222" {$on_load} style="height: 100%"> 17 {$page_bodylines} 17 18 <div align="center" id="popup" style="display:none; 18 19 position:absolute;