Changeset 809 for trunk/includes/system.php
- Timestamp:
- May 25, 2014, 1:11:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/system.php
r807 r809 292 292 '<a href="'.$this->System->Link('/registrace.php').'">'.T('Registration').'</a>'; 293 293 } 294 $Output .= ' <form action="?setlocale" method="get">';295 $Output .= ' <select onchange="window.location=\'?locale=\'+this.value">';294 //$Output .= ' <form action="?setlocale" method="get">'; 295 $Output .= ' <select onchange="window.location=\'?locale=\'+this.value">'; 296 296 foreach($LocaleManager->Available as $Locale) 297 297 { … … 300 300 $Output .= '<option title="" value="'.$Locale['Code'].'"'.$Selected.' onchange="this.form.submit()">'.$Locale['Title'].'</option>'; 301 301 } 302 $Output .= '</select><noscript><input type="submit" value="Submit"/></noscript></form>'; 302 $Output .= '</select><noscript><span><input type="submit" value="Submit"/></span></noscript>'; 303 //$Output .= '</form>'; 303 304 $Output .= '</span></div>'; 304 305 return($Output); … … 392 393 function ShowHeader() 393 394 { 394 $Output = ' <?xml version="1.0" encoding="'.$this->System->Config['Web']['Charset'].'"?>'.395 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'.396 '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cz">'.395 $Output = ''. 396 '<!DOCTYPE html>'. 397 '<html>'. 397 398 '<head>'. 398 '<meta http-equiv="content-type" content=" application/xhtml+xml; charset='.$this->System->Config['Web']['Charset'].'" />'.399 '<meta http-equiv="content-type" content="text/html; charset='.$this->System->Config['Web']['Charset'].'" />'. 399 400 '<meta name="keywords" content="wow, quest, questy, questů, preklad, mangos, překlad, překládání, přeložený, přeložení, čeština, world of warcraft, open source, free, addon" />'. 400 401 '<meta name="description" content="'.$this->System->Config['Web']['Description'].'" />'.
Note:
See TracChangeset
for help on using the changeset viewer.