Rev 236 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 236 | Rev 237 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | document.getElementById('pdo_username_warn').innerHTML = ''; |
40 | document.getElementById('pdo_username_warn').innerHTML = ''; |
41 | } |
41 | } |
42 | 42 | ||
43 | document.getElementById('struct_1').href = setupdir+'struct_empty.sql.php?plugin=pdo&prefix='+encodeURI(document.getElementById('tablename_prefix').value); |
43 | document.getElementById('struct_1').href = setupdir+'struct_empty.sql.php?plugin=pdo&prefix='+encodeURI(document.getElementById('tablename_prefix').value); |
44 | document.getElementById('struct_2').href = setupdir+'struct_with_examples.sql.php?plugin=pdo&prefix='+encodeURI(document.getElementById('tablename_prefix').value); |
44 | document.getElementById('struct_2').href = setupdir+'struct_with_examples.sql.php?plugin=pdo&prefix='+encodeURI(document.getElementById('tablename_prefix').value); |
- | 45 | document.getElementById('struct_cli_1').innerHTML = '<br>or via command line:<br><code>curl -s "'+document.getElementById('struct_1').href+'" | mysql -u '+document.getElementById('mysql_username').value+' -p</code>'; |
|
- | 46 | document.getElementById('struct_cli_2').innerHTML = '<br>or via command line:<br><code>curl -s "'+document.getElementById('struct_2').href+'" | mysql -u '+document.getElementById('mysql_username').value+' -p</code>'; |
|
45 | 47 | ||
46 | return !error; |
48 | return !error; |
47 | }); |
49 | }); |
48 | rebuild_config_callbacks.push(function() { |
50 | rebuild_config_callbacks.push(function() { |
49 | var e = document.getElementById("db_plugin"); |
51 | var e = document.getElementById("db_plugin"); |