@@ -53,7 +53,6 @@ function load_txt_strings()
5353 $ txt ['db_char_set ' ] = 'Database Character Set ' ;
5454 $ txt ['db_table_info ' ] = 'Detailed Table Information ' ;
5555
56-
5756 // SMF Specific Info
5857 $ txt ['smf_relevant ' ] = 'Relevant SMF Settings ' ;
5958 $ txt ['sef_urls ' ] = 'SEF URLs ' ;
@@ -81,7 +80,6 @@ function load_txt_strings()
8180 $ txt ['support_versions_forum ' ] = 'Your SMF Info version ' ;
8281 $ txt ['previousCharacterSet ' ] = 'Previous character set ' ;
8382
84-
8583 // PHP Specific Info
8684 $ txt ['relevant_info ' ] = 'Relevant PHP Settings ' ;
8785 $ txt ['safe_mode ' ] = 'Safe Mode ' ;
@@ -215,6 +213,14 @@ function show_header()
215213{
216214 global $ txt , $ smfInfo , $ context , $ smfinfo_version ;
217215
216+ // Find logo image...
217+ if (file_exists ('./Themes/default/images/smflogo.svg ' ))
218+ $ smflogo = './Themes/default/images/smflogo.svg ' ;
219+ elseif (file_exists ('./Themes/default/images/smflogo.png ' ))
220+ $ smflogo = './Themes/default/images/smflogo.png ' ;
221+ else
222+ $ smflogo = './Themes/default/images/smflogo.gif ' ;
223+
218224echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
219225<html xmlns="http://www.w3.org/1999/xhtml">
220226 <head>
@@ -282,35 +288,6 @@ function show_header()
282288 position:relative;
283289 }
284290
285-
286-
287-
288-
289-
290-
291-
292-
293-
294-
295-
296-
297-
298-
299-
300-
301-
302-
303-
304-
305-
306-
307-
308-
309-
310-
311-
312-
313-
314291 .dynamic-tab-pane-control .tab-page{
315292 border:1px solid #919b9c;
316293 background:#f6f6f6;
@@ -324,11 +301,6 @@ function show_header()
324301 float:left;
325302 }
326303
327-
328-
329-
330-
331-
332304 /* This is for phpinfo */
333305 table.adminlist
334306 {
@@ -458,12 +430,11 @@ function addLoadEvent(func)
458430 </head>
459431 <body>
460432 <div id="header">
461- <a href="http://www.simplemachines.org/" target="_blank"><img src="./Themes/default/images/ smflogo.gif " style="width: 258px; float: right;" alt="Simple Machines" border="0" /></a>
433+ <a href="http://www.simplemachines.org/" target="_blank"><img src=" ' . $ smflogo . ' " style="width: 258px; float: right;" alt="Simple Machines" border="0" /></a>
462434 <div> ' , $ txt ['title ' ], '</div>
463435 </div>
464436 <div id="content"> ' ;
465437
466-
467438 if (allowedTo ('admin_forum ' ))
468439 echo '
469440 <div class="windowbg" style="margin: 1ex; padding: 1ex 2ex; border: 1px dashed green; color: green;">
@@ -560,10 +531,6 @@ function show_system_info()
560531 get_database_version ();
561532
562533 echo '
563-
564-
565-
566-
567534 <div class="tab-page" id="main"><h2 class="tab"> ' , $ txt ['maininfo ' ], '</h2>
568535 <script type="text/javascript">addSection("main", " ' , $ txt ['maininfo ' ], '" );</script>
569536 <table border="0" width="100%" cellpadding="2" cellspacing="2">
@@ -1329,7 +1296,6 @@ function smfDetermineVersions()
13291296 if (document.getElementById("Templates"))
13301297 document.getElementById("Templates").style.display = "none";
13311298
1332-
13331299 if (typeof(window.smfVersions) == "undefined")
13341300 window.smfVersions = {};
13351301
@@ -1368,7 +1334,6 @@ function smfDetermineVersions()
13681334 setInnerHTML(document.getElementById("your" + filename), yourVersion);
13691335 }
13701336
1371-
13721337 if (typeof(window.smfLanguageVersions) == "undefined")
13731338 window.smfLanguageVersions = {};
13741339
0 commit comments