]> git.mxchange.org Git - simple-upload.git/commitdiff
Added language support and some meta tags.
authorRoland Häder <roland@mxchange.org>
Tue, 29 Mar 2016 12:04:12 +0000 (14:04 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 29 Mar 2016 12:04:12 +0000 (14:04 +0200)
index.php

index 4f33d3e7cbef5948f7b3ea2edfedc058d010c87f..a5f62f569c4b994ef5f0a1e65dde5c2162cb7292 100644 (file)
--- a/index.php
+++ b/index.php
 
                // Files that will be ignored
                'ignores' => array('.', '..', 'LICENSE', 'README.md'),
+
+               // Language code
+               'lang' => 'en_GB',
+
+               // Language direction
+               'lang_dir' => 'ltr',
        );
        // =============={ Configuration End }==============
 
        $file_array = ListFiles($settings['uploaddir'], $data['ignores']);
 
 ?>
-<html lang="en-GB">
+<!DOCTYPE html>
+<html lang="<?=$settings['lang']?>" dir="<?=$settings['lang_dir']?>">
        <head>
-               <meta charset="utf-8">
+               <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+               <meta http-equiv="Content-Script-Type" content="text/javascript">
+               <meta name="robots" content="noindex">
+               <meta name="referrer" content="origin-when-crossorigin">
                <title><?=$settings['title']?></title>
                <style media="screen">
+               <!--
                        body {
                                background: #111;
                                margin: 0;
                                        opacity: 0.8;
                                }
                        }
+               //-->
                </style>
        </head>
        <body>