Subversion Repositories oidplus

Rev

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

Rev 1217 Rev 1231
Line 46... Line 46...
46
                return '<div id="DBPLUGIN_PARAMS_PDO">'.
46
                return '<div id="DBPLUGIN_PARAMS_PDO">'.
47
                       '        <p>PDO DSN (<a href="https://www.php.net/manual/de/pdo.drivers.php" target="_blank">'._L('more information').'</a>):<br><input id="pdo_dsn" type="text" value="mysql:dbname=oidplus;host=localhost" onkeypress="rebuild()" onkeyup="rebuild()" style="width:600px">  <span id="pdo_dsn_warn"></span>'.
47
                       '        <p>PDO DSN (<a href="https://www.php.net/manual/de/pdo.drivers.php" target="_blank">'._L('more information').'</a>):<br><input id="pdo_dsn" type="text" value="mysql:dbname=oidplus;host=localhost" onkeypress="rebuild()" onkeyup="rebuild()" style="width:600px">  <span id="pdo_dsn_warn"></span>'.
48
                       // TODO: Show these examples based on the slang the user chooses
48
                       // TODO: Show these examples based on the slang the user chooses
49
                       '        <br><font size="-1">'._L('Example for MySQL/MariaDB').': <i>mysql:dbname=oidplus;host=localhost;port=3306;charset=utf8mb4</i>'.
49
                       '        <br><font size="-1">'._L('Example for MySQL/MariaDB').': <i>mysql:dbname=oidplus;host=localhost;port=3306;charset=utf8mb4</i>'.
50
                       '        <br>'._L('Example for PostgreSQL').': <i>pgsql:dbname=oidplus;host=localhost;port=5432</i>'.
50
                       '        <br>'._L('Example for PostgreSQL').': <i>pgsql:dbname=oidplus;host=localhost;port=5432</i>'.
-
 
51
                       '        <br>'._L('Example for SQL Server').': <i>odbc:DRIVER={SQL Server};SERVER=localhost\oidplus;DATABASE=oidplus;CHARSET=UTF8</i>'.
51
                       '        <br>'._L('Example for Microsoft Access').': <i>odbc:DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\inetpub\wwwroot\oidplus\trunk\userdata\database\oidplus.accdb;</i></font></p>'.
52
                       '        <br>'._L('Example for Microsoft Access').': <i>odbc:DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\inetpub\wwwroot\oidplus\trunk\userdata\database\oidplus.accdb;</i></font></p>'.
52
                       '        <p>'._L('PDO Username').':<br><input id="pdo_username" type="text" value="root" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="pdo_username_warn"></span></p>'.
53
                       '        <p>'._L('PDO Username').':<br><input id="pdo_username" type="text" value="root" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="pdo_username_warn"></span></p>'.
53
                       '        <p>'._L('PDO Password').':<br><input id="pdo_password" type="password" value="" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="pdo_password_warn"></span></p>'.
54
                       '        <p>'._L('PDO Password').':<br><input id="pdo_password" type="password" value="" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="pdo_password_warn"></span></p>'.
54
                       '        <p>'._L('Which DBMS (SQL dialect) is used?').'<br>'.
55
                       '        <p>'._L('Which DBMS (SQL dialect) is used?').'<br>'.
55
                       '        <i>'._L('Attention: If your DBMS is not listed, OIDplus will most likely not work. If you know that your DBMS is compatible with one of these listed SQL dialects, you can choose that dialect.').'</i><br>'.
56
                       '        <i>'._L('Attention: If your DBMS is not listed, OIDplus will most likely not work. If you know that your DBMS is compatible with one of these listed SQL dialects, you can choose that dialect.').'</i><br>'.