Skip to content

Commit ba100cb

Browse files
committed
More headers
1 parent 660ff90 commit ba100cb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

smfinfo.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,12 @@ function show_header()
236236
else
237237
$smflogo = './Themes/default/images/smflogo.gif';
238238

239-
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
240-
<html xmlns="http://www.w3.org/1999/xhtml"', !empty($txt['lang_rtl']) ? ' dir="rtl"' : '', '>
241-
<head>
242-
<meta http-equiv="Content-Type" content="text/html; charset=', isset($txt['lang_character_set']) ? $txt['lang_character_set'] : 'UTF-8', '" />
243-
<title>', $txt['title'], '</title>
239+
echo '<!DOCTYPE html>
240+
<html', $txt['lang_rtl'] == true ? ' dir="rtl"' : '', '>
241+
<head>
242+
<meta charset="', isset($txt['lang_character_set']) ? $txt['lang_character_set'] : 'UTF-8', '">
243+
<meta name="robots" content="noindex">
244+
<title>', $txt['title'], '</title>
244245
245246
<style type="text/css">
246247
body

0 commit comments

Comments
 (0)