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
|
/// interface to add/edit/delete course specific outcomes
|
||||||
echo '<p/>';
|
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);
|
$totalcount = count_records('grade_outcomes_courses', 'courseid', $courseid);
|
||||||
$baseurl = "course.php";
|
$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)) {
|
if ($outcomes = get_recordset('grade_outcomes', 'courseid', $courseid, '', '*', $page * $perpage, $perpage)) {
|
||||||
|
|
||||||
$tablecolumns = array('outcome', 'scale', 'edit', 'usedgradeitems');
|
$tablecolumns = array('outcome', 'scale', 'edit', 'usedgradeitems');
|
||||||
$tableheaders = array(get_string('outcomes'),
|
$tableheaders = array(get_string('outcomes', 'grades'),
|
||||||
get_string('scale'),
|
get_string('scale'),
|
||||||
get_string('operations'),
|
'',
|
||||||
get_string('usedgradeitem'));
|
get_string('activities'));
|
||||||
|
|
||||||
$table = new flexible_table('outcomes');
|
$table = new flexible_table('outcomes');
|
||||||
$table->define_columns($tablecolumns);
|
$table->define_columns($tablecolumns);
|
||||||
|
@ -157,7 +157,7 @@ print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, ''
|
||||||
$table->print_html();
|
$table->print_html();
|
||||||
}
|
}
|
||||||
if (has_capability('gradereport/outcomes:manage', get_context_instance(CONTEXT_COURSE, $courseid))) {
|
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();
|
print_footer();
|
||||||
|
|
||||||
|
|
|
@ -62,12 +62,12 @@ $perpage = 30;
|
||||||
if ($outcomes = get_recordset('grade_outcomes', '', '', '', '*', $page * $perpage, $perpage)) {
|
if ($outcomes = get_recordset('grade_outcomes', '', '', '', '*', $page * $perpage, $perpage)) {
|
||||||
|
|
||||||
$tablecolumns = array('outcome', 'scale', 'course', 'edit', 'usedgradeitems', 'usedcourses');
|
$tablecolumns = array('outcome', 'scale', 'course', 'edit', 'usedgradeitems', 'usedcourses');
|
||||||
$tableheaders = array(get_string('outcomes'),
|
$tableheaders = array(get_string('outcomes', 'grades'),
|
||||||
get_string('scale'),
|
get_string('scale'),
|
||||||
get_string('course'),
|
get_string('course'),
|
||||||
get_string('operations'),
|
'',
|
||||||
get_string('usedgradeitem'),
|
get_string('activities'),
|
||||||
get_string('usedcourses'));
|
get_string('courses'));
|
||||||
|
|
||||||
$table = new flexible_table('outcomes');
|
$table = new flexible_table('outcomes');
|
||||||
$table->define_columns($tablecolumns);
|
$table->define_columns($tablecolumns);
|
||||||
|
@ -120,7 +120,7 @@ $perpage = 30;
|
||||||
$table->print_html();
|
$table->print_html();
|
||||||
}
|
}
|
||||||
if (has_capability('gradereport/outcomes:manage', get_context_instance(CONTEXT_SYSTEM))) {
|
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
|
// print the footer, end of page
|
||||||
admin_externalpage_print_footer();
|
admin_externalpage_print_footer();
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
<?PHP // $Id$
|
<?PHP // $Id$
|
||||||
|
|
||||||
|
$string['addoutcome'] = 'Add an outcome';
|
||||||
|
$string['courseoutcomes'] = 'Course outcomes';
|
||||||
|
$string['coursespecoutcome'] = 'Course outcomes';
|
||||||
$string['modulename'] = 'Outcomes';
|
$string['modulename'] = 'Outcomes';
|
||||||
|
$string['usedgradeitem'] = 'Number of grade items';
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue