mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
adding some strings
This commit is contained in:
parent
6872debcc8
commit
16677200a3
3 changed files with 14 additions and 11 deletions
|
@ -105,7 +105,7 @@ print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, ''
|
|||
|
||||
/// interface to add/edit/delete course specific outcomes
|
||||
echo '<p/>';
|
||||
print_string('coursespecoutcome', 'grades'); // course sepcific outcomes
|
||||
print_heading(get_string('coursespecoutcome', 'gradereport_outcomes')); // course sepcific outcomes
|
||||
|
||||
$totalcount = count_records('grade_outcomes_courses', 'courseid', $courseid);
|
||||
$baseurl = "course.php";
|
||||
|
@ -114,10 +114,10 @@ print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, ''
|
|||
if ($outcomes = get_recordset('grade_outcomes', 'courseid', $courseid, '', '*', $page * $perpage, $perpage)) {
|
||||
|
||||
$tablecolumns = array('outcome', 'scale', 'edit', 'usedgradeitems');
|
||||
$tableheaders = array(get_string('outcomes'),
|
||||
$tableheaders = array(get_string('outcomes', 'grades'),
|
||||
get_string('scale'),
|
||||
get_string('operations'),
|
||||
get_string('usedgradeitem'));
|
||||
'',
|
||||
get_string('activities'));
|
||||
|
||||
$table = new flexible_table('outcomes');
|
||||
$table->define_columns($tablecolumns);
|
||||
|
@ -157,7 +157,7 @@ print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, ''
|
|||
$table->print_html();
|
||||
}
|
||||
if (has_capability('gradereport/outcomes:manage', get_context_instance(CONTEXT_COURSE, $courseid))) {
|
||||
echo '<a href="editoutcomes.php?courseid='.$courseid.'">Add a new outcome</a>';
|
||||
echo '<a href="editoutcomes.php?courseid='.$courseid.'">'.get_string('addoutcome', 'gradereport_outcomes').'</a>';
|
||||
}
|
||||
print_footer();
|
||||
|
||||
|
|
|
@ -62,12 +62,12 @@ $perpage = 30;
|
|||
if ($outcomes = get_recordset('grade_outcomes', '', '', '', '*', $page * $perpage, $perpage)) {
|
||||
|
||||
$tablecolumns = array('outcome', 'scale', 'course', 'edit', 'usedgradeitems', 'usedcourses');
|
||||
$tableheaders = array(get_string('outcomes'),
|
||||
$tableheaders = array(get_string('outcomes', 'grades'),
|
||||
get_string('scale'),
|
||||
get_string('course'),
|
||||
get_string('operations'),
|
||||
get_string('usedgradeitem'),
|
||||
get_string('usedcourses'));
|
||||
'',
|
||||
get_string('activities'),
|
||||
get_string('courses'));
|
||||
|
||||
$table = new flexible_table('outcomes');
|
||||
$table->define_columns($tablecolumns);
|
||||
|
@ -120,7 +120,7 @@ $perpage = 30;
|
|||
$table->print_html();
|
||||
}
|
||||
if (has_capability('gradereport/outcomes:manage', get_context_instance(CONTEXT_SYSTEM))) {
|
||||
echo '<a href="editoutcomes.php">Add a new outcome</a>';
|
||||
echo '<a href="editoutcomes.php">'.get_string('addoutcome', 'gradereport_outcomes').'</a>';
|
||||
}
|
||||
// print the footer, end of page
|
||||
admin_externalpage_print_footer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue