Changeset 560 for trunk/Modules/FrontPage
- Timestamp:
- Aug 13, 2013, 10:47:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FrontPage/FrontPage.php
r549 r560 89 89 function ShowShoutbox() 90 90 { 91 global $Config;92 93 91 $Output = '<strong><a href="'.$this->System->Link('/action.php?action=ShoutBoxView').'">Kecátko:</a></strong>'; 94 92 … … 117 115 function ShowLastTranslated() 118 116 { 119 global $Config;120 121 117 $Count = 40; 122 118 $Output = '<strong>Poslední překlady:</strong>'; 123 //'<div class="NewsBox">';124 119 125 120 $GroupListQuery = 'SELECT `Group`.* FROM `Group`'; … … 135 130 $DbRow['Id'].' AS `Group`, "'.addslashes($DbRow['Name']).'" AS `GroupName`, `T`.`Take` FROM `'. 136 131 $DbRow['TablePrefix'].'` AS `T`'. 137 ' WHERE (`T`.`Complete` = 1) AND (`T`.`Language` != '.$ Config['OriginalLanguage'].') ORDER BY `T`.`ModifyTime` DESC LIMIT '.132 ' WHERE (`T`.`Complete` = 1) AND (`T`.`Language` != '.$this->System->Config['OriginalLanguage'].') ORDER BY `T`.`ModifyTime` DESC LIMIT '. 138 133 $Count.') AS `T`'; 139 134 } … … 159 154 function ShowWelcome() 160 155 { 161 global $Config;162 163 156 // Cookies have to be used before any text is sent to output 164 157 if(!array_key_exists('HideWelcome', $_COOKIE)) $_COOKIE['HideWelcome'] = 0; … … 182 175 // Echo text even if it is hidden because of caching by external searching engines 183 176 return('<div style="'.$HideWelcome.'">'. 184 '<div id="bannertitle">'.$ Config['Web']['Title'].'</div>'.177 '<div id="bannertitle">'.$this->System->Config['Web']['Title'].'</div>'. 185 178 'Otevřený webový systém pro překládání textů ze hry World of Warcraft (WoW).<br />'. 186 179 '<ul>'.
Note:
See TracChangeset
for help on using the changeset viewer.