]> git.wh0rd.org - tt-rss.git/blobdiff - install/index.php
Removing required attribute from database password field
[tt-rss.git] / install / index.php
index f71a779faa5ea186b13f0426cda02e458f23e1ff..a3f21cbb313f44633de30b35c55c43aa7f1257ce 100644 (file)
@@ -3,6 +3,7 @@
        <title>Tiny Tiny RSS - Installer</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <link rel="stylesheet" type="text/css" href="../css/utility.css">
+       <link rel="stylesheet" type="text/css" href="../css/dijit.css">
        <style type="text/css">
        textarea { font-size : 12px; }
        </style>
 <body>
 
 <?php
+
+       // could be needed because of existing config.php
+       function define_default($param, $value) {
+               //
+       }
+
        function make_password($length = 8) {
 
                $password = "";
        }
 
        function print_error($msg) {
-               print "<div class='error'><span><img src='../images/sign_excl.svg'></span>
+               print "<div class='error'><span><img src='../images/alert.png'></span>
                        <span>$msg</span></div>";
        }
 
        function print_notice($msg) {
                print "<div class=\"notice\">
-                       <span><img src=\"../images/sign_info.svg\"></span><span>$msg</span></div>";
+                       <span><img src=\"../images/information.png\"></span><span>$msg</span></div>";
        }
 
        function db_connect($host, $user, $pass, $db, $type, $port = false) {
 
 <fieldset>
        <label>Password</label>
-       <input required name="DB_PASS" size="20" type="password" value="<?php echo $DB_PASS ?>"/>
+       <input name="DB_PASS" size="20" type="password" value="<?php echo $DB_PASS ?>"/>
 </fieldset>
 
 <fieldset>