Changeset 581 for trunk/includes/system.php
- Timestamp:
- Sep 12, 2013, 9:14:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/system.php
r579 r581 11 11 var $PathItems; 12 12 var $Menu; 13 var $RSSChannels;14 13 var $DoNotShowPage; 15 14 … … 188 187 } 189 188 190 function RegisterRSS($Channel, $Pos = NULL)191 {192 if(is_null($Pos)) $this->RSSChannels[] = $Channel;193 else {194 array_splice($this->RSSChannels, $Pos, 0, array($Channel));195 }196 }197 198 189 function SearchPage($PathItems, $Pages) 199 190 { … … 361 352 '<script type="text/javascript" src="'.$this->System->Link('/style/global.js').'"></script>'. 362 353 '<link rel="shortcut icon" href="'.$this->System->Link('/images/favicon.ico').'" />'; 363 foreach($this->System->RSSChannels as $Channel) 364 { 365 $Output .= ' <link rel="alternate" title="'.$Channel['Title'].'" href="'. 366 $this->System->Link('/rss.php?channel='.$Channel['Channel']).'" type="application/rss+xml" />'; 367 } 354 $Output .= $this->System->ModuleManager->Modules['News']->ShowRSSHeader(); 368 355 $Output .= '<title>'.$this->System->Config['Web']['Title'].'</title>'. 369 356 '</head><body>';
Note:
See TracChangeset
for help on using the changeset viewer.