Changeset 561 for trunk/includes/Page.php
- Timestamp:
- Aug 13, 2013, 11:31:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Page.php
r560 r561 156 156 '<script type="text/javascript" src="'.$System->Link('/style/global.js').'"></script>'. 157 157 '<link rel="shortcut icon" href="'.$System->Link('/images/favicon.ico').'" />'; 158 if(isset($RSSChannels)) 159 foreach($RSSChannels as $Channel) 158 foreach($System->RSSChannels as $Channel) 160 159 { 161 160 $Output .= ' <link rel="alternate" title="'.$Channel['Title'].'" href="'. … … 180 179 global $System, $ScriptStartTime, $User, $Revision, $ReleaseTime; 181 180 182 183 184 185 186 187 188 189 190 191 192 193 194 195 if($System->Config['Web']['ShowRuntimeInfo'] == true)196 197 198 199 200 201 return($Output);181 $ScriptGenerateDuration = round(GetMicrotime() - $ScriptStartTime, 2); 182 183 $Output = '</td>'. 184 '<td class="menu2">'; 185 $Output .= ShowTranslatedMenu(); 186 $Output .= '</td>'. 187 '</tr><tr>'. 188 '<td colspan="4" class="page-bottom">Verze: '.$Revision.' ('.HumanDate($ReleaseTime).')'. 189 ' <a href="http://svn.zdechov.net/trac/wowpreklad/browser/trunk">Zdrojové soubory</a> '. 190 '<a href="http://svn.zdechov.net/trac/wowpreklad/log/trunk?verbose=on">Novinky</a> '. 191 $System->Config['Web']['WebCounter']; 192 193 $Output .= '</td></tr>'; 194 if($System->Config['Web']['ShowRuntimeInfo'] == true) 195 $Output .= '<tr><td colspan="3" style="text-align: center;">Doba generování: '.$ScriptGenerateDuration.' s / '.ini_get('max_execution_time').' s Použitá paměť: '.HumanSize(memory_get_peak_usage(FALSE)).' / '.ini_get('memory_limit').'B <a href="http://validator.w3.org/check?uri='.htmlentities('http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].'?'.$_SERVER['QUERY_STRING']).'">HTML validator</a></td></tr>'; 196 $Output .= '</table>'. 197 '</body>'. 198 '</html>'; 199 $User->Store(); 200 return($Output); 202 201 } 203 202
Note:
See TracChangeset
for help on using the changeset viewer.