Skip to content

Commit

Permalink
Merge branch 'wip-mdl-45719-master' of https://github.com/deraadt/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jun 16, 2014
2 parents 8888451 + d7f8734 commit cf7ac0a
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions mod/lti/settings.php
Expand Up @@ -69,10 +69,17 @@
$active = get_string('active', 'lti');
$pending = get_string('pending', 'lti');
$rejected = get_string('rejected', 'lti');
$typename = get_string('typename', 'lti');
$baseurl = get_string('baseurl', 'lti');
$action = get_string('action', 'lti');
$createdon = get_string('createdon', 'lti');

// Gather strings used for labels in the inline JS.
$PAGE->requires->strings_for_js(
array(
'typename',
'baseurl',
'action',
'createdon'
),
'mod_lti'
);

$types = lti_filter_get_types(get_site()->id);

Expand Down Expand Up @@ -152,10 +159,10 @@
var dataSource = new Y.YUI2.util.DataSource(lti_tools);
var configuredColumns = [
{key:'name', label:'$typename', sortable:true},
{key:'baseURL', label:'$baseurl', sortable:true},
{key:'timecreated', label:'$createdon', sortable:true},
{key:'action', label:'$action'}
{key:'name', label: M.util.get_string('typename', 'mod_lti'), sortable: true},
{key:'baseURL', label: M.util.get_string('baseurl', 'mod_lti'), sortable: true},
{key:'timecreated', label: M.util.get_string('createdon', 'mod_lti'), sortable: true},
{key:'action', label: M.util.get_string('action', 'mod_lti')}
];
dataSource.responseType = Y.YUI2.util.DataSource.TYPE_HTMLTABLE;
Expand Down

0 comments on commit cf7ac0a

Please sign in to comment.