Subversion Repositories oidplus

Rev

Rev 1223 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1223 Rev 1232
Line 47... Line 47...
47
                       '        <p>'._L('ODBC DSN').' (<a href="https://www.connectionstrings.com/" target="_blank">'._L('examples').'</a>):<br><input id="odbc_dsn" type="text" value="DRIVER={SQL Server};SERVER=localhost\instancename;DATABASE=oidplus;CHARSET=UTF8" onkeypress="rebuild()" onkeyup="rebuild()" style="width:600px">  <span id="odbc_dsn_warn"></span>'.
47
                       '        <p>'._L('ODBC DSN').' (<a href="https://www.connectionstrings.com/" target="_blank">'._L('examples').'</a>):<br><input id="odbc_dsn" type="text" value="DRIVER={SQL Server};SERVER=localhost\instancename;DATABASE=oidplus;CHARSET=UTF8" onkeypress="rebuild()" onkeyup="rebuild()" style="width:600px">  <span id="odbc_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 SQL Server').': <i>DRIVER={SQL Server};SERVER=<abbr title="'._L('Alternatively').': localhost,1433">localhost\instancename</abbr>;DATABASE=oidplus;CHARSET=UTF8</i>'.
49
                       '        <br><font size="-1">'._L('Example for SQL Server').': <i>DRIVER={SQL Server};SERVER=<abbr title="'._L('Alternatively').': localhost,1433">localhost\instancename</abbr>;DATABASE=oidplus;CHARSET=UTF8</i>'.
50
                       '        <br>'._L('Example for Microsoft Access').': <i>DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\inetpub\wwwroot\oidplus\trunk\userdata\database\oidplus.accdb;</i></font></p>'.
50
                       '        <br>'._L('Example for Microsoft Access').': <i>DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\inetpub\wwwroot\oidplus\trunk\userdata\database\oidplus.accdb;</i></font></p>'.
51
                       '        <!-- '._L('Note: You should use the driver "ODBC Driver XX for SQL Server" instead, since it is the latest generation').' -->'.
51
                       '        <!-- '._L('Note: You should use the driver "ODBC Driver XX for SQL Server" instead, since it is the latest generation').' -->'.
52
                       '        <p>'._L('ODBC Username').':<br><input id="odbc_username" type="text" value="root" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="odbc_username_warn"></span></p>'.
52
                       '        <p>'._L('ODBC Username').':<br><input id="odbc_username" type="text" value="root" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="odbc_username_warn"></span>'.
-
 
53
                       '        <br><font size="-1">'._L('Leave username/password empty if no credentials are required for the DBMS.').'</font></p>'.
53
                       '        <p>'._L('ODBC Password').':<br><input id="odbc_password" type="password" value="" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="odbc_password_warn"></span></p>'.
54
                       '        <p>'._L('ODBC Password').':<br><input id="odbc_password" type="password" value="" onkeypress="rebuild()" onkeyup="rebuild()">  <span id="odbc_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
                       '        <select name="odbc_slang" id="odbc_slang" onChange="dbplugin_changed()">'.
56
                       '        <select name="ado_slang" id="odbc_slang" onChange="dbplugin_changed()">'.
57
                       '        <!-- %SQL_SLANG_SELECTION% -->'.
57
                       '        <!-- %SQL_SLANG_SELECTION% -->'.
58
                       '        </select></p>'.
58
                       '        </select><br>'.
-
 
59
                       '        <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></p>'.
59
                       '</div>';
60
                       '</div>';
60
        }
61
        }
61
 
62
 
62
}
63
}