Subversion Repositories oidplus

Rev

Rev 635 | Rev 1050 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 635 Rev 865
Line 29... Line 29...
29
                return new OIDplusDatabaseConnectionSQLite3();
29
                return new OIDplusDatabaseConnectionSQLite3();
30
        }
30
        }
31
 
31
 
32
        public static function setupHTML(): string {
32
        public static function setupHTML(): string {
33
                return '<div id="DBPLUGIN_PARAMS_SQLite3">'.
33
                return '<div id="DBPLUGIN_PARAMS_SQLite3">'.
34
                       '        <p>'._L('SQLite3 database file').':<br><input id="sqlite3_file" type="text" value="includes/oidplus.db" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="sqlite3_file_warn"></span></p>'.
34
                       '        <p>'._L('SQLite3 database file').':<br><input id="sqlite3_file" type="text" value="userdata/database/oidplus.db" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="sqlite3_file_warn"></span><br>'.
-
 
35
                           '    <i>Please note that the database file and the folder must have write-permissions (<a href="https://stackoverflow.com/questions/3319112/sqlite-error-attempt-to-write-a-readonly-database-during-insert" target="_blank">more information</a>)</i></p>'.
35
                       '        <p>'._L('SQLite3 encryption passphrase (optional)').':<br><input id="sqlite3_encryption" type="password" autocomplete="new-password" onkeypress="rebuild()" onkeyup="rebuild()"></p>'.
36
                       '        <p>'._L('SQLite3 encryption passphrase (optional)').':<br><input id="sqlite3_encryption" type="password" autocomplete="new-password" onkeypress="rebuild()" onkeyup="rebuild()"></p>'.
36
                       '</div>';
37
                       '</div>';
37
        }
38
        }
38
 
39
 
39
}
40
}