mirror of
https://github.com/moodle/moodle.git
synced 2025-04-26 19:03:38 +02:00
XHTML Strict
This commit is contained in:
parent
6e37fa50cb
commit
70013fdcf9
@ -113,7 +113,7 @@ if (moodle_coverage_recorder::can_run_codecoverage()) {
|
|||||||
} else {
|
} else {
|
||||||
echo '<p>'; print_string('codecoveragedisabled', 'simpletest'); echo '<input type="hidden" name="codecoverage" value="0" /></p>';
|
echo '<p>'; print_string('codecoveragedisabled', 'simpletest'); echo '<input type="hidden" name="codecoverage" value="0" /></p>';
|
||||||
}
|
}
|
||||||
echo '<p><strong>'."Databases:".'</strong>';
|
echo '<p><strong>'."Databases:".'</strong></p>';
|
||||||
echo '<ul>';
|
echo '<ul>';
|
||||||
foreach ($dbinfos as $i=>$dbinfo) {
|
foreach ($dbinfos as $i=>$dbinfo) {
|
||||||
$name = $dbinfo['name'];
|
$name = $dbinfo['name'];
|
||||||
@ -123,17 +123,16 @@ foreach ($dbinfos as $i=>$dbinfo) {
|
|||||||
}
|
}
|
||||||
echo '<li>'; print_checkbox('selected['.$i.']', 1, intval(!empty($selected[$i])), $name); echo '</li>';
|
echo '<li>'; print_checkbox('selected['.$i.']', 1, intval(!empty($selected[$i])), $name); echo '</li>';
|
||||||
} else {
|
} else {
|
||||||
echo '<li>'."$name: driver not installed".'</li'; // TODO: localise
|
echo '<li>'."$name: driver not installed".'</li>'; // TODO: localise
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo '</ul></p>';
|
echo '</ul>';
|
||||||
echo '<p>External databases are configured in config.php, add lines:
|
echo '<p>External databases are configured in config.php, add lines:</p>
|
||||||
<pre>
|
<pre>
|
||||||
$CFG->func_test_db_1 = array("adodb", "postgres7", "localhost", "moodleuser", "password", "moodle", "test", null);
|
$CFG->func_test_db_1 = array("adodb", "postgres7", "localhost", "moodleuser", "password", "moodle", "test", null);
|
||||||
$CFG->func_test_db_2 = array("adodb", "mssql", "localhost", "moodleuser", "password", "moodle", "test", null);
|
$CFG->func_test_db_2 = array("adodb", "mssql", "localhost", "moodleuser", "password", "moodle", "test", null);
|
||||||
</pre>
|
</pre>
|
||||||
where order of parameters is: dblibrary, dbtype, dbhost, dbuser, dbpass, dbname, prefix, dboptions
|
<p>where order of parameters is: dblibrary, dbtype, dbhost, dbuser, dbpass, dbname, prefix, dboptions</p>';
|
||||||
</p>';
|
|
||||||
echo '<p><input type="submit" value="' . get_string('runtests', 'simpletest') . '" /></p>';
|
echo '<p><input type="submit" value="' . get_string('runtests', 'simpletest') . '" /></p>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user