webservice MDL-20808 added a link to the AMF test client

This commit is contained in:
jerome mouneyrac 2010-07-16 02:39:25 +00:00
parent b723a4f88c
commit 47ee1c356c
2 changed files with 6 additions and 1 deletions

View file

@ -95,6 +95,10 @@ if (!$function or !$protocol) {
$atag =html_writer::start_tag('a', array('href' => $url)).get_string('debug', 'admin').html_writer::end_tag('a');
$descparams->atag = $atag;
$descparams->mode = get_string('debugnormal', 'admin');
$amfclienturl = new moodle_url('/webservice/amf/testclient/index.php');
$amfclientatag =html_writer::tag('a', get_string('amftestclient', 'webservice'),
array('href' => $amfclienturl));
$descparams->amfatag = $amfclientatag;
echo get_string('testclientdescription', 'webservice', $descparams);
echo $OUTPUT->box_end();