$mform->setDefault('category', $category->id);
$mform->setType('category', PARAM_INT);
- $mform->addElement('text','fullname', get_string('fullname'),'maxlength="254" size="50"');
- $mform->setHelpButton('fullname', array('coursefullname', get_string('fullname')), true);
+ $mform->addElement('text','fullname', get_string('fullnamecourse'),'maxlength="254" size="50"');
+ $mform->setHelpButton('fullname', array('coursefullname', get_string('fullnamecourse')), true);
$mform->setDefault('fullname', get_string('defaultcoursefullname'));
$mform->addRule('fullname', get_string('missingfullname'), 'required', null, 'client');
$mform->setType('fullname', PARAM_MULTILANG);
- $mform->addElement('text','shortname', get_string('shortname'),'maxlength="100" size="20"');
- $mform->setHelpButton('shortname', array('courseshortname', get_string('shortname')), true);
+ $mform->addElement('text','shortname', get_string('shortnamecourse'),'maxlength="100" size="20"');
+ $mform->setHelpButton('shortname', array('courseshortname', get_string('shortnamecourse')), true);
$mform->setDefault('shortname', get_string('defaultcourseshortname'));
$mform->addRule('shortname', get_string('missingshortname'), 'required', null, 'client');
$mform->setType('shortname', PARAM_MULTILANG);
}
echo "<th class=\"c1 header\" scope=\"col\">".get_string('time')."</th>\n";
echo "<th class=\"c2 header\" scope=\"col\">".get_string('ip_address')."</th>\n";
- echo "<th class=\"c3 header\" scope=\"col\">".get_string('fullname')."</th>\n";
+ echo "<th class=\"c3 header\" scope=\"col\">".get_string('fullnamecourse')."</th>\n";
echo "<th class=\"c4 header\" scope=\"col\">".get_string('action')."</th>\n";
echo "<th class=\"c5 header\" scope=\"col\">".get_string('info')."</th>\n";
echo "</tr>\n";
}
echo "<th class=\"c1 header\">".get_string('time')."</th>\n";
echo "<th class=\"c2 header\">".get_string('ip_address')."</th>\n";
- echo "<th class=\"c3 header\">".get_string('fullname')."</th>\n";
+ echo "<th class=\"c3 header\">".get_string('fullnamecourse')."</th>\n";
echo "<th class=\"c4 header\">".get_string('action')."</th>\n";
echo "<th class=\"c5 header\">".get_string('info')."</th>\n";
echo "</tr>\n";
$modid, $modaction, $groupid) {
$text = get_string('course')."\t".get_string('time')."\t".get_string('ip_address')."\t".
- get_string('fullname')."\t".get_string('action')."\t".get_string('info');
+ get_string('fullnamecourse')."\t".get_string('action')."\t".get_string('info');
if (!$logs = build_logs_array($course, $user, $date, $order, '', '',
$modname, $modid, $modaction, $groupid)) {
$worksheet = array();
$headers = array(get_string('course'), get_string('time'), get_string('ip_address'),
- get_string('fullname'), get_string('action'), get_string('info'));
+ get_string('fullnamecourse'), get_string('action'), get_string('info'));
// Creating worksheets
for ($wsnumber = 1; $wsnumber <= $nroPages; $wsnumber++) {
$worksheet = array();
$headers = array(get_string('course'), get_string('time'), get_string('ip_address'),
- get_string('fullname'), get_string('action'), get_string('info'));
+ get_string('fullnamecourse'), get_string('action'), get_string('info'));
// Creating worksheets
for ($wsnumber = 1; $wsnumber <= $nroPages; $wsnumber++) {
$table->cellpadding = 4;
$table->cellspacing = 3;
$table->align = array('center','center','center','center','center','center','center');
- $table->head = array(' ',get_string('shortname'),get_string('fullname'),get_string('requestedby'),get_string('summary'),
+ $table->head = array(' ',get_string('shortnamecourse'),get_string('fullnamecourse'),get_string('requestedby'),get_string('summary'),
get_string('requestreason'),'');
$strrequireskey = get_string('requireskey');
foreach ($pending as $course) {
function definition() {
$mform =& $this->_form;
- $mform->addElement('text', 'fullname', get_string('fullname'), 'maxlength="254" size="50"');
+ $mform->addElement('text', 'fullname', get_string('fullnamecourse'), 'maxlength="254" size="50"');
$mform->addRule('fullname', get_string('missingfullname'), 'required', null, 'client');
$mform->setType('fullname', PARAM_TEXT);
- $mform->addElement('text', 'shortname', get_string('shortname'), 'maxlength="100" size="20"');
+ $mform->addElement('text', 'shortname', get_string('shortnamecourse'), 'maxlength="100" size="20"');
$mform->addRule('shortname', get_string('missingshortname'), 'required', null, 'client');
$mform->setType('shortname', PARAM_TEXT);
$string['frontpagetopiconly'] = 'Topic section';
$string['fulllistofcourses'] = 'All courses';
$string['fullname'] = 'Full name';
+$string['fullnamecourse'] = 'Course full name';
+$string['fullnameuser'] = 'User full name';
$string['fullnamedisplay'] = '$a->firstname $a->lastname';
$string['fullprofile'] = 'Full profile';
$string['fullsitename'] = 'Full site name';
$string['setcategorytheme'] = 'Set Category Theme';
$string['settings'] = 'Settings';
$string['shortname'] = 'Short name';
+$string['shortnamecourse'] = 'Course short name';
+$string['shortnameuser'] = 'User short name';
$string['shortnamecollisionwarning'] = '[*] = This shortname is already in use by a course and will need to be changed upon approval';
$string['shortnametaken'] = 'Short name is already used for another course ($a)';
$string['shortsitename'] = 'Short name for site (eg single word)';
$string['authenticationplugins'] = 'Authentication Plugins';
$string['chooseauthmethod'] = 'Choose authentication plugin';
-?>
\ No newline at end of file
+?>
}
$tableheaders = array('',
- get_string('fullname'),
+ get_string('fullnameuser'),
get_string('grade'),
get_string('comment', 'assignment'),
get_string('lastmodified').' ('.$course->student.')',
'courseid' => array('langstr' => 'id',
'value' => $this->course->id),
- 'coursefullname' => array('langstr' => get_string('fullname'),
+ 'coursefullname' => array('langstr' => get_string('fullnamecourse'),
'value' => $this->course->fullname),
- 'courseshortname' => array('langstr' => get_string('shortname'),
+ 'courseshortname' => array('langstr' => get_string('shortnamecourse'),
'value' => $this->course->shortname),
'courseidnumber' => array('langstr' => get_string('idnumbercourse'),
'value' => $this->course->idnumber),
'value' => $USER->firstname),
'userlastname' => array('langstr' => get_string('lastname'),
'value' => $USER->lastname),
- 'userfullname' => array('langstr' => get_string('fullname'),
+ 'userfullname' => array('langstr' => get_string('fullnameuser'),
'value' => fullname($USER)),
'useremail' => array('langstr' => get_string('email'),
'value' => $USER->email),
'courseid' => array('langstr' => 'id',
'value' => $this->course->id),
- 'coursefullname' => array('langstr' => get_string('fullname'),
+ 'coursefullname' => array('langstr' => get_string('fullnamecourse'),
'value' => $this->course->fullname),
- 'courseshortname' => array('langstr' => get_string('shortname'),
+ 'courseshortname' => array('langstr' => get_string('shortnamecourse'),
'value' => $this->course->shortname),
'courseidnumber' => array('langstr' => get_string('idnumbercourse'),
'value' => $this->course->idnumber),
'value' => $USER->firstname),
'userlastname' => array('langstr' => get_string('lastname'),
'value' => $USER->lastname),
- 'userfullname' => array('langstr' => get_string('fullname'),
+ 'userfullname' => array('langstr' => get_string('fullnameuser'),
'value' => fullname($USER)),
'useremail' => array('langstr' => get_string('email'),
'value' => $USER->email),
echo "<form method=\"post\" action=\"extendenrol.php\">\n";
echo '<input type="hidden" name="id" value="'.$course->id.'" />';
echo '<input type="hidden" name="sesskey" value="'.$USER->sesskey.'" />';
-$table->head = array (get_string('fullname'), get_string('enrolmentstart'), get_string('enrolmentend'), get_string('extendperiod'), get_string('startingfrom'));
+$table->head = array (get_string('fullnameuser'), get_string('enrolmentstart'), get_string('enrolmentend'), get_string('extendperiod'), get_string('startingfrom'));
$table->align = array ('left', 'center', 'center', 'center');
$table->width = "600";
$nochange = get_string('nochange');
switch ($fieldname) {
case 'username': return new user_filter_text('username', get_string('username'), $advanced, 'username');
- case 'realname': return new user_filter_text('realname', get_string('fullname'), $advanced, sql_fullname());
+ case 'realname': return new user_filter_text('realname', get_string('fullnameuser'), $advanced, sql_fullname());
case 'lastname': return new user_filter_text('lastname', get_string('lastname'), $advanced, 'lastname');
case 'firstname': return new user_filter_text('firstname', get_string('firstname'), $advanced, 'firstname');
case 'email': return new user_filter_text('email', get_string('email'), $advanced, 'email');
echo '<form method="post" action="groupextendenrol.php">';
echo '<input type="hidden" name="id" value="'.$course->id.'" />';
echo '<input type="hidden" name="sesskey" value="'.$USER->sesskey.'" />';
-$table->head = array (get_string('fullname'), get_string('enrolmentstart'), get_string('enrolmentend'));
+$table->head = array (get_string('fullnameuser'), get_string('enrolmentstart'), get_string('enrolmentend'));
$table->align = array ('left', 'center', 'center', 'center');
$table->width = "600";
$nochange = get_string('nochange');
/// Define a table showing a list of users in the current role selection
$tablecolumns = array('userpic', 'fullname');
- $tableheaders = array(get_string('userpic'), get_string('fullname'));
+ $tableheaders = array(get_string('userpic'), get_string('fullnameuser'));
if ($mode === MODE_BRIEF && !isset($hiddenfields['city'])) {
$tablecolumns[] = 'city';
$tableheaders[] = get_string('city');