Changeset 765 for trunk/Modules/ShoutBox/ShoutBox.php
- Timestamp:
- Jan 27, 2014, 10:01:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/ShoutBox/ShoutBox.php
r637 r765 18 18 $this->System->RegisterPage('shoutbox', 'PageShoutBox'); 19 19 $this->System->ModuleManager->Modules['News']->RegisterRSS(array( 20 'Title' => 'Kecátko', 'Channel' => 'shoutbox', 'Callback' => array('PageShoutBox', 'ShowRSS'),20 'Title' => T('Shoutbox'), 'Channel' => 'shoutbox', 'Callback' => array('PageShoutBox', 'ShowRSS'), 21 21 'Permission' => LICENCE_ANONYMOUS)); 22 22 if(array_key_exists('Search', $this->System->ModuleManager->Modules)) … … 138 138 function ShowRSS() 139 139 { 140 $Items = array(); 140 141 $TitleLength = 50; 141 142 mb_internal_encoding('utf-8'); … … 148 149 ( 149 150 'Title' => $DbRow['UserName'].': '.$Title, 150 'Link' => 'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/ '),151 'Link' => 'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/shoutbox/'), 151 152 'Description' => $DbRow['Text'], 152 153 'Time' => $DbRow['UnixDate'], … … 154 155 } 155 156 $Output = GenerateRSS(array 156 157 'Title' => 'WoW překlad - Shoutbox',158 'Link' => 'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/'),159 'Description' => 'Překlad textů WoW',160 161 162 163 157 ( 158 'Title' => $this->System->Config['Web']['Title'].' - '.T('Shoutbox'), 159 'Link' => 'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/shoutbox/'), 160 'Description' => $this->System->Config['Web']['Description'], 161 'WebmasterEmail' => $this->System->Config['Web']['AdminEmail'], 162 'Items' => $Items, 163 )); 164 return($Output); 164 165 } 165 166 }
Note:
See TracChangeset
for help on using the changeset viewer.