webservice MDL-21351 manage token page: remove additional title, manage service page: move left link at the left

This commit is contained in:
jerome mouneyrac 2010-01-19 10:07:26 +00:00
parent b24b55eb24
commit 115ea17e46

View File

@ -6257,10 +6257,11 @@ class admin_setting_manageexternalservices extends admin_setting {
$table->data[] = array($displayname, $delete, $functions, $users, $edit);
}
// add new custom service option
$table->data[] = array('', '', '', '', "<a href=\"$esurl?id=0\">$stradd</a>");
$return .= $OUTPUT->table($table);
$return .= '<br />'.get_string('tablesnosave', 'admin');
$return .= '<br />';
// add a token to the table
$return .= "<a href=\"$esurl?id=0\">$stradd</a>";
return highlight($query, $return);
}
@ -6476,8 +6477,7 @@ class admin_setting_managewebservicetokens extends admin_setting {
$strcontext = get_string('context', 'webservice');
$strvaliduntil = get_string('validuntil', 'webservice');
$return = $OUTPUT->heading(get_string('webservicetokens', 'webservice'), 3, 'main', true);
$return .= $OUTPUT->box_start('generalbox webservicestokenui');
$return = $OUTPUT->box_start('generalbox webservicestokenui');
$table = new html_table();
$table->head = array($strtoken, $struser, $strservice, $strcontext, $strvaliduntil, $stroperation);