aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2024-03-14 17:08:26 +0000
committerMoritz Strohm <strohm@data-quest.de>2024-03-14 17:08:26 +0000
commit0fb33e2e8ea3a40bd45f72dc16f65419e82a656c (patch)
treebb3eff329cd9719c20030ab9d09427f755b9f898 /app
parentf2f70529462f10f08d7a0ca57bfb50c80e645fa4 (diff)
replaced getFullname with getFullName, re #3499
Merge request studip/studip!2660
Diffstat (limited to 'app')
-rw-r--r--app/controllers/admin/configuration.php16
-rw-r--r--app/controllers/admin/user.php26
-rw-r--r--app/controllers/admission/userlist.php2
-rw-r--r--app/controllers/calendar/contentbox.php6
-rw-r--r--app/controllers/calendar/date.php4
-rw-r--r--app/controllers/consultation/admin.php2
-rw-r--r--app/controllers/course/admission.php2
-rw-r--r--app/controllers/course/archive.php2
-rw-r--r--app/controllers/course/basicdata.php6
-rw-r--r--app/controllers/course/block_appointments.php4
-rw-r--r--app/controllers/course/cancel_dates.php2
-rw-r--r--app/controllers/course/courseware.php2
-rw-r--r--app/controllers/course/dates.php14
-rw-r--r--app/controllers/course/details.php2
-rw-r--r--app/controllers/course/enrolment.php2
-rw-r--r--app/controllers/course/files.php2
-rw-r--r--app/controllers/course/grouping.php20
-rw-r--r--app/controllers/course/lvgselector.php2
-rw-r--r--app/controllers/course/members.php8
-rw-r--r--app/controllers/course/messenger.php2
-rw-r--r--app/controllers/course/room_requests.php2
-rw-r--r--app/controllers/course/statusgroups.php8
-rw-r--r--app/controllers/course/study_areas.php2
-rw-r--r--app/controllers/course/studygroup.php4
-rw-r--r--app/controllers/course/timesrooms.php24
-rw-r--r--app/controllers/course/topics.php2
-rw-r--r--app/controllers/course/wizard.php4
-rw-r--r--app/controllers/file.php2
-rw-r--r--app/controllers/institute/files.php2
-rw-r--r--app/controllers/messages.php4
-rw-r--r--app/controllers/my_courses.php4
-rw-r--r--app/controllers/news.php2
-rw-r--r--app/controllers/profile.php2
-rw-r--r--app/controllers/resources/resource.php4
-rw-r--r--app/controllers/resources/room_request.php4
-rw-r--r--app/controllers/tree.php2
-rw-r--r--app/views/admin/overlapping/admin_info.php4
-rw-r--r--app/views/admin/overlapping/conflicts.php4
-rw-r--r--app/views/admin/overlapping/courses.php2
-rw-r--r--app/views/admin/role/assign_role_institutes.php2
-rw-r--r--app/views/admin/statusgroups/delete.php2
-rw-r--r--app/views/admin/tree/batch_assign_semtree.php4
-rw-r--r--app/views/admin/user/_results.php2
-rw-r--r--app/views/admin/user/batch_export_members.php4
-rw-r--r--app/views/admin/user/migrate.php2
-rw-r--r--app/views/admin/user/show_user_courses.php6
-rw-r--r--app/views/admission/courseset/configure.php2
-rw-r--r--app/views/admission/userlist/configure.php4
-rw-r--r--app/views/consultation/admin/block-responsibilities.php2
-rw-r--r--app/views/course/dates/_date_row-exdate.php4
-rw-r--r--app/views/course/dates/_date_row.php4
-rw-r--r--app/views/course/dates/details-edit.php4
-rw-r--r--app/views/course/dates/details.php2
-rw-r--r--app/views/course/dates/new_topic.php2
-rw-r--r--app/views/course/details/index.php14
-rw-r--r--app/views/course/forum/index/_last_post.php2
-rw-r--r--app/views/course/forum/index/_threads.php2
-rw-r--r--app/views/course/grouping/_perm_level.php4
-rw-r--r--app/views/course/grouping/children.php2
-rw-r--r--app/views/course/grouping/members.php4
-rw-r--r--app/views/course/grouping/move_members_target.php2
-rw-r--r--app/views/course/grouping/parent.php4
-rw-r--r--app/views/course/statusgroups/edit.php4
-rw-r--r--app/views/course/statusgroups/groupinfo.php4
-rw-r--r--app/views/course/studygroup/_members_gallery.php2
-rw-r--r--app/views/course/studygroup/_members_list.php2
-rw-r--r--app/views/course/studygroup/members.php2
-rw-r--r--app/views/course/timesrooms/_cycleRow.php8
-rw-r--r--app/views/course/timesrooms/editDate.php2
-rw-r--r--app/views/course/wizard/steps/basicdata/_user.php2
-rw-r--r--app/views/course/wizard/summary.php2
-rw-r--r--app/views/file/choose_file_from_course.php2
-rw-r--r--app/views/file/choose_folder_from_course.php2
-rw-r--r--app/views/files_dashboard/_search_tr.php2
-rw-r--r--app/views/lti/content_item.php2
-rw-r--r--app/views/profile/seminare.php4
-rw-r--r--app/views/questionnaire/question_types/vote/vote_evaluation.php4
77 files changed, 166 insertions, 166 deletions
diff --git a/app/controllers/admin/configuration.php b/app/controllers/admin/configuration.php
index c61446a..9cc2e26 100644
--- a/app/controllers/admin/configuration.php
+++ b/app/controllers/admin/configuration.php
@@ -127,7 +127,7 @@ class Admin_ConfigurationController extends AuthenticatedController
$this->configs = ConfigurationModel::searchConfiguration($range);
$this->title = sprintf(
_('Vorhandene Konfigurationsparameter für "%s"'),
- $range->getFullname()
+ $range->getFullName()
);
$this->linkchunk = 'admin/configuration/edit_range_config/' . $range_id;
} else {
@@ -148,7 +148,7 @@ class Admin_ConfigurationController extends AuthenticatedController
$field = Request::get('field');
$range = RangeFactory::find($range_id);
- PageLayout::setTitle(_('Bearbeiten von Konfigurationsparametern für die Range: ') . $range->getFullname());
+ PageLayout::setTitle(_('Bearbeiten von Konfigurationsparametern für die Range: ') . $range->getFullName());
if (Request::isPost()) {
CSRFProtection::verifyUnsafeRequest();
@@ -186,7 +186,7 @@ class Admin_ConfigurationController extends AuthenticatedController
$this->configs = ConfigurationModel::searchConfiguration($user);
$this->title = sprintf(
_('Vorhandene Konfigurationsparameter für "%s"'),
- $user->getFullname()
+ $user->getFullName()
);
$this->linkchunk = 'admin/configuration/edit_user_config/' . $user_id;
} else {
@@ -205,7 +205,7 @@ class Admin_ConfigurationController extends AuthenticatedController
*/
public function edit_user_config_action(User $user)
{
- PageLayout::setTitle(_('Bearbeiten von Konfigurationsparametern für die Person: ') . $user->getFullname());
+ PageLayout::setTitle(_('Bearbeiten von Konfigurationsparametern für die Person: ') . $user->getFullName());
$field = Request::get('field');
@@ -246,7 +246,7 @@ class Admin_ConfigurationController extends AuthenticatedController
$this->configs = ConfigurationModel::searchConfiguration($course);
$this->title = sprintf(
_('Vorhandene Konfigurationsparameter für "%s"'),
- $course->getFullname()
+ $course->getFullName()
);
$this->linkchunk = 'admin/configuration/edit_course_config/' . $course_id;
} else {
@@ -265,7 +265,7 @@ class Admin_ConfigurationController extends AuthenticatedController
*/
public function edit_course_config_action(Course $course)
{
- PageLayout::setTitle(_('Bearbeiten von Konfigurationsparametern für die Veranstaltung: ') . $course->getFullname());
+ PageLayout::setTitle(_('Bearbeiten von Konfigurationsparametern für die Veranstaltung: ') . $course->getFullName());
$field = Request::get('field');
@@ -306,7 +306,7 @@ class Admin_ConfigurationController extends AuthenticatedController
$this->configs = ConfigurationModel::searchConfiguration($institute);
$this->title = sprintf(
_('Vorhandene Konfigurationsparameter für "%s"'),
- $institute->getFullname()
+ $institute->getFullName()
);
$this->linkchunk = 'admin/configuration/edit_institute_config/' . $institute_id;
} else {
@@ -325,7 +325,7 @@ class Admin_ConfigurationController extends AuthenticatedController
*/
public function edit_institute_config_action(Institute $institute)
{
- PageLayout::setTitle(_('Bearbeiten von Konfigurationsparametern für die Einrichtung: ') . $institute->getFullname());
+ PageLayout::setTitle(_('Bearbeiten von Konfigurationsparametern für die Einrichtung: ') . $institute->getFullName());
$field = Request::get('field');
diff --git a/app/controllers/admin/user.php b/app/controllers/admin/user.php
index 44a0a4d..7c6ea9a 100644
--- a/app/controllers/admin/user.php
+++ b/app/controllers/admin/user.php
@@ -534,12 +534,12 @@ class Admin_UserController extends AuthenticatedController
StudipLog::log('INST_USER_ADD', $institute_id, $user_id, $editPerms[0]);
NotificationCenter::postNotification('UserInstitutionDidUpdate', $institute_id, $user_id);
InstituteMember::ensureDefaultInstituteForUser($user_id);
- $details[] = sprintf(_('%s wurde hinzugefügt.'), htmlReady($membership->institute->getFullname()));
+ $details[] = sprintf(_('%s wurde hinzugefügt.'), htmlReady($membership->institute->getFullName()));
}
} elseif ($institute_id != '' && Request::option('new_student_inst') == $institute_id && $editPerms[0] != 'root') {
$details[] = sprintf(
_('<b>%s wurde nicht hinzugefügt.</b> Sie können keine Person gleichzeitig als Studierende/-r und als Mitarbeiter/-in einer Einrichtung hinzufügen.'),
- htmlReady(Institute::find($institute_id)->getFullname())
+ htmlReady(Institute::find($institute_id)->getFullName())
);
}
}
@@ -779,7 +779,7 @@ class Admin_UserController extends AuthenticatedController
. " und steht Ihnen als neuer Ansprechpartner bei Fragen oder Problemen "
. "in Stud.IP zur Verfügung. "),
$admin['Vorname'], $admin['Nachname'],
- $institute->getFullname(), $this->user['Vorname'], $this->user['Nachname']);
+ $institute->getFullName(), $this->user['Vorname'], $this->user['Nachname']);
StudipMail::sendMessage($admin['Email'], $subject, $mailbody);
$notin[] = $admin['user_id'];
@@ -812,7 +812,7 @@ class Admin_UserController extends AuthenticatedController
. " und steht Ihnen als neuer Ansprechpartner bei Fragen oder Problemen "
. "in Stud.IP zur Verfügung. "),
$admin['Vorname'], $admin['Nachname'],
- $institute->getFullname(), $this->user['Vorname'], $this->user['Nachname']);
+ $institute->getFullName(), $this->user['Vorname'], $this->user['Nachname']);
StudipMail::sendMessage($admin['Email'], $subject, $mailbody);
$i++;
@@ -824,20 +824,20 @@ class Admin_UserController extends AuthenticatedController
_('Es wurden ingesamt %s Mails an die %s der Einrichtung "%s" geschickt.'),
$i,
$wem,
- htmlReady($institute->getFullname())
+ htmlReady($institute->getFullName())
);
}
}
$details[] = sprintf(
_('Person wurde erfolgreich in die Einrichtung "%s" mit dem Status "%s" eingetragen.'),
- htmlReady($institute->getFullname()),
+ htmlReady($institute->getFullName()),
$UserManagement->user_data['auth_user_md5.perms']
);
} else {
$details[] = sprintf(
_('Person konnte nicht in die Einrichtung "%s" eingetragen werden.'),
- htmlReady($institute->getFullname())
+ htmlReady($institute->getFullName())
);
}
}
@@ -988,7 +988,7 @@ class Admin_UserController extends AuthenticatedController
public function lock_comment_action($user_id)
{
$this->user = User::find($user_id);
- PageLayout::setTitle(sprintf(_('%s sperren'), $this->user->getFullname()));
+ PageLayout::setTitle(sprintf(_('%s sperren'), $this->user->getFullName()));
$this->params = [];
if (Request::int('from_index')) {
@@ -1012,7 +1012,7 @@ class Admin_UserController extends AuthenticatedController
if ($user->store()) {
PageLayout::postSuccess(sprintf(
_('%s wurde gesperrt.'),
- htmlReady($user->getFullname())
+ htmlReady($user->getFullName())
));
}
@@ -1040,12 +1040,12 @@ class Admin_UserController extends AuthenticatedController
if ($user->store()) {
PageLayout::postSuccess(sprintf(
_('%s wurde entsperrt.'),
- htmlReady($user->getFullname())
+ htmlReady($user->getFullName())
));
} else {
PageLayout::postError(sprintf(
_('%s konnte nicht entsperrt werden.'),
- htmlReady($user->getFullname())
+ htmlReady($user->getFullName())
));
}
@@ -1242,7 +1242,7 @@ class Admin_UserController extends AuthenticatedController
public function activities_action($user_id)
{
$this->user = User::find($user_id);
- $this->fullname = $this->user->getFullname();
+ $this->fullname = $this->user->getFullName();
$this->params = [];
if (Request::int('from_index')) {
@@ -1380,7 +1380,7 @@ class Admin_UserController extends AuthenticatedController
if (is_null($this->range)) {
$this->range = Institute::find($range_id);
}
- PageLayout::setTitle(sprintf(_('Dateiübersicht für %s'), $this->range->getFullname()));
+ PageLayout::setTitle(sprintf(_('Dateiübersicht für %s'), $this->range->getFullName()));
}
/**
diff --git a/app/controllers/admission/userlist.php b/app/controllers/admission/userlist.php
index 683f1e2..3192a50 100644
--- a/app/controllers/admission/userlist.php
+++ b/app/controllers/admission/userlist.php
@@ -146,7 +146,7 @@ class Admission_UserlistController extends AuthenticatedController
PageLayout::postInfo(
sprintf(_('%s wurde von der Liste entfernt, die Liste ist aber noch nicht gespeichert.'),
- User::find($userId)->getFullname()));
+ User::find($userId)->getFullName()));
$this->redirect($this->url_for('admission/userlist/configure', $userlistId));
}
diff --git a/app/controllers/calendar/contentbox.php b/app/controllers/calendar/contentbox.php
index 5d77ed4..8ba5215 100644
--- a/app/controllers/calendar/contentbox.php
+++ b/app/controllers/calendar/contentbox.php
@@ -87,10 +87,10 @@ class Calendar_ContentboxController extends StudipController
foreach ($this->termine as $course_date) {
if ($this->course_range) {
//Display only date and time:
- $this->titles[$course_date->id] = $course_date->getFullname('include-room');
+ $this->titles[$course_date->id] = $course_date->getFullName('include-room');
} else {
//Include the course title:
- $this->titles[$course_date->id] = $course_date->getFullname('verbose');
+ $this->titles[$course_date->id] = $course_date->getFullName('verbose');
}
}
}
@@ -118,7 +118,7 @@ class Calendar_ContentboxController extends StudipController
$this->titles[$course_date->id] = sprintf(
'%1$s: %2$s',
$course_date->course->name,
- $course_date->getFullname()
+ $course_date->getFullName()
);
$this->termine[] = $course_date;
}
diff --git a/app/controllers/calendar/date.php b/app/controllers/calendar/date.php
index 32cf99c..3c16fa6 100644
--- a/app/controllers/calendar/date.php
+++ b/app/controllers/calendar/date.php
@@ -175,13 +175,13 @@ class Calendar_DateController extends AuthenticatedController
if ($compare_name) {
$a_name = '';
if ($a->course instanceof Course) {
- $a_name = $a->course->getFullname();
+ $a_name = $a->course->getFullName();
} elseif ($a->user instanceof User) {
$a_name = $a->user->getFullName();
}
$b_name = '';
if ($b->course instanceof Course) {
- $b_name = $b->course->getFullname();
+ $b_name = $b->course->getFullName();
} elseif ($b->user instanceof User) {
$b_name = $b->user->getFullName();
}
diff --git a/app/controllers/consultation/admin.php b/app/controllers/consultation/admin.php
index 7acb725..bc63a1a 100644
--- a/app/controllers/consultation/admin.php
+++ b/app/controllers/consultation/admin.php
@@ -27,7 +27,7 @@ class Consultation_AdminController extends ConsultationController
$this->activateNavigation('admin');
if (Context::isCourse() || Context::isInstitute()) {
- PageLayout::setTitle(Context::get()->getFullname() . ' - ' . _('Verwaltung der Termine'));
+ PageLayout::setTitle(Context::get()->getFullName() . ' - ' . _('Verwaltung der Termine'));
} else {
PageLayout::setTitle(_('Verwaltung der Termine'));
}
diff --git a/app/controllers/course/admission.php b/app/controllers/course/admission.php
index c2a3fb0..56342bb 100644
--- a/app/controllers/course/admission.php
+++ b/app/controllers/course/admission.php
@@ -37,7 +37,7 @@ class Course_AdmissionController extends AuthenticatedController
$this->course = Course::find($this->course_id);
$this->user_id = $GLOBALS['user']->id;
PageLayout::setHelpKeyword("Basis.VeranstaltungenVerwaltenZugangsberechtigungen");
- PageLayout::setTitle($this->course->getFullname()." - " ._("Verwaltung von Zugangsberechtigungen"));
+ PageLayout::setTitle($this->course->getFullName()." - " ._("Verwaltung von Zugangsberechtigungen"));
$lockrules = words('admission_turnout admission_type admission_endtime admission_binding passwort read_level write_level admission_prelim admission_prelim_txt admission_starttime admission_endtime_sem admission_disable_waitlist user_domain admission_binding admission_studiengang');
$this->is_locked = [];
diff --git a/app/controllers/course/archive.php b/app/controllers/course/archive.php
index 1177fd8..f181cca 100644
--- a/app/controllers/course/archive.php
+++ b/app/controllers/course/archive.php
@@ -166,7 +166,7 @@ class Course_ArchiveController extends AuthenticatedController
$course = Course::find($courseId);
if ($course) {
$seminar = new Seminar($course);
- $coursename = $course->getFullname();
+ $coursename = $course->getFullName();
if ($seminar->delete()) {
$this->deletedCourses[] = $courseId;
PageLayout::postSuccess(sprintf(
diff --git a/app/controllers/course/basicdata.php b/app/controllers/course/basicdata.php
index e0611ed..8cc7d94 100644
--- a/app/controllers/course/basicdata.php
+++ b/app/controllers/course/basicdata.php
@@ -286,7 +286,7 @@ class Course_BasicdataController extends AuthenticatedController
PageLayout::setHelpKeyword("Basis.VeranstaltungenVerwaltenGrunddaten");
PageLayout::setTitle(_("Verwaltung der Grunddaten"));
if ($this->course_id) {
- PageLayout::setTitle(Course::find($this->course_id)->getFullname()." - ".PageLayout::getTitle());
+ PageLayout::setTitle(Course::find($this->course_id)->getFullName()." - ".PageLayout::getTitle());
}
//Daten sammeln:
@@ -614,9 +614,9 @@ class Course_BasicdataController extends AuthenticatedController
foreach ($mp->getAddedUsers() as $a) {
$result = $this->$func($a, $course_id);
if ($result !== false) {
- $succeeded[] = User::find($a)->getFullname('no_title_rev');
+ $succeeded[] = User::find($a)->getFullName('no_title_rev');
} else {
- $failed[] = User::find($a)->getFullname('no_title_rev');
+ $failed[] = User::find($a)->getFullName('no_title_rev');
}
}
// Only show the success messagebox once
diff --git a/app/controllers/course/block_appointments.php b/app/controllers/course/block_appointments.php
index 31daa0d..fef0d31 100644
--- a/app/controllers/course/block_appointments.php
+++ b/app/controllers/course/block_appointments.php
@@ -36,7 +36,7 @@ class Course_BlockAppointmentsController extends AuthenticatedController
throw new Trails_Exception(400);
}
PageLayout::setHelpKeyword('Basis.VeranstaltungenVerwaltenAendernVonZeitenUndTerminen');
- PageLayout::setTitle(Course::findCurrent()->getFullname() . " - " . _('Blockveranstaltungstermine anlegen'));
+ PageLayout::setTitle(Course::findCurrent()->getFullName() . " - " . _('Blockveranstaltungstermine anlegen'));
}
@@ -245,7 +245,7 @@ class Course_BlockAppointmentsController extends AuthenticatedController
$singledate = new SingleDate($d);
$singledate->bookRoom(Request::option('room_id'));
}
- return $result ? $d->getFullname() : null;
+ return $result ? $d->getFullName() : null;
}, $dates));
if ($date_count > 1) {
$dates_created = array_count_values($dates_created);
diff --git a/app/controllers/course/cancel_dates.php b/app/controllers/course/cancel_dates.php
index f3420cb..0d5463c 100644
--- a/app/controllers/course/cancel_dates.php
+++ b/app/controllers/course/cancel_dates.php
@@ -42,7 +42,7 @@ class Course_CancelDatesController extends AuthenticatedController
throw new Trails_Exception(400);
}
PageLayout::setHelpKeyword('Basis.VeranstaltungenVerwaltenAendernVonZeitenUndTerminen');
- PageLayout::setTitle(Course::findCurrent()->getFullname() . " - " . _('Veranstaltungstermine absagen'));
+ PageLayout::setTitle(Course::findCurrent()->getFullName() . " - " . _('Veranstaltungstermine absagen'));
}
public function index_action()
diff --git a/app/controllers/course/courseware.php b/app/controllers/course/courseware.php
index 30ab5f1..22b124b 100644
--- a/app/controllers/course/courseware.php
+++ b/app/controllers/course/courseware.php
@@ -23,7 +23,7 @@ class Course_CoursewareController extends CoursewareController
if (!Context::get()) {
throw new CheckObjectException(_('Sie haben kein Objekt gewählt.'));
}
- PageLayout::setTitle(Context::get()->getFullname() . ' - ' . _('Courseware'));
+ PageLayout::setTitle(Context::get()->getFullName() . ' - ' . _('Courseware'));
PageLayout::setHelpKeyword('Basis.Courseware');
checkObject();
diff --git a/app/controllers/course/dates.php b/app/controllers/course/dates.php
index 18df893..a4e18e9 100644
--- a/app/controllers/course/dates.php
+++ b/app/controllers/course/dates.php
@@ -15,7 +15,7 @@ class Course_DatesController extends AuthenticatedController
$this->course = Context::get();
if ($this->course) {
- PageLayout::setTitle($this->course->getFullname() . ' ' . _('Termine'));
+ PageLayout::setTitle($this->course->getFullName() . ' ' . _('Termine'));
} else {
PageLayout::setTitle(_('Termine'));
}
@@ -143,7 +143,7 @@ class Course_DatesController extends AuthenticatedController
Navigation::activateItem('/course/schedule/dates');
PageLayout::setTitle(
$this->date->getTypeName() . ': ' .
- $this->date->getFullname(CourseDate::FORMAT_VERBOSE)
+ $this->date->getFullName(CourseDate::FORMAT_VERBOSE)
);
if ($this->hasAccess()) {
@@ -168,7 +168,7 @@ class Course_DatesController extends AuthenticatedController
Navigation::activateItem('/course/schedule/dates');
PageLayout::setTitle(
$this->date->getTypeName() . ': ' .
- $this->date->getFullname(CourseDate::FORMAT_VERBOSE)
+ $this->date->getFullName(CourseDate::FORMAT_VERBOSE)
);
$this->render_action('details');
}
@@ -224,7 +224,7 @@ class Course_DatesController extends AuthenticatedController
}
} elseif ($termin_id) {
$this->date = new CourseDate($termin_id);
- $xtitle = $this->date->getTypeName() . ': ' . $this->date->getFullname();
+ $xtitle = $this->date->getTypeName() . ': ' . $this->date->getFullName();
} else {
$this->date = new CourseDate();
@@ -484,7 +484,7 @@ class Course_DatesController extends AuthenticatedController
if ($date->related_persons) {
foreach ($date->related_persons as $user_id) {
- $related_persons .= User::find($user_id)->getFullname() . "\n";
+ $related_persons .= User::find($user_id)->getFullName() . "\n";
}
}
@@ -606,12 +606,12 @@ class Course_DatesController extends AuthenticatedController
if (count($dates_with_folders) === 1) {
PageLayout::postWarning(sprintf(
_('Für den Termin am %s existiert bereits ein Sitzungs-Ordner. Möchten Sie trotzdem einen weiteren Sitzungs-Ordner erstellen?'),
- htmlReady($dates_with_folders[0]->getFullname())
+ htmlReady($dates_with_folders[0]->getFullName())
));
} else {
$dates_string = [];
foreach ($dates_with_folders as $date) {
- $dates_string[] = $date->getFullname();
+ $dates_string[] = $date->getFullName();
}
PageLayout::postWarning(
_('Für die folgenden Termine gibt es bereits Sitzungs-Ordner. Möchten Sie trotzdem weitere Sitzungs-Ordner erstellen?'),
diff --git a/app/controllers/course/details.php b/app/controllers/course/details.php
index 1c9b034..2a330e3 100644
--- a/app/controllers/course/details.php
+++ b/app/controllers/course/details.php
@@ -68,7 +68,7 @@ class Course_DetailsController extends AuthenticatedController
public function index_action()
{
$this->prelim_discussion = vorbesprechung($this->course->id);
- $this->title = $this->course->getFullname();
+ $this->title = $this->course->getFullName();
$this->course_domains = UserDomain::getUserDomainsForSeminar($this->course->id);
$this->sem = new Seminar($this->course);
$this->links = [];
diff --git a/app/controllers/course/enrolment.php b/app/controllers/course/enrolment.php
index 275620d..eb4428e 100644
--- a/app/controllers/course/enrolment.php
+++ b/app/controllers/course/enrolment.php
@@ -59,7 +59,7 @@ class Course_EnrolmentController extends AuthenticatedController
if (!$enrolment_info['enrolment_allowed']) {
throw new AccessDeniedException($enrolment_info['description']);
}
- PageLayout::setTitle($course->getFullname() . " - " . _("Veranstaltungsanmeldung"));
+ PageLayout::setTitle($course->getFullName() . " - " . _("Veranstaltungsanmeldung"));
if (Request::submitted('cancel')) {
$this->redirect(URLHelper::getURL('dispatch.php/course/details/', ['sem_id' => $this->course_id]));
}
diff --git a/app/controllers/course/files.php b/app/controllers/course/files.php
index 7ce2962..19c3697 100644
--- a/app/controllers/course/files.php
+++ b/app/controllers/course/files.php
@@ -30,7 +30,7 @@ class Course_FilesController extends AuthenticatedController
$this->last_visitdate = object_get_visit($this->course->id, $this->studip_module->getPluginId());
PageLayout::setHelpKeyword('Basis.Dateien');
- PageLayout::setTitle(Context::get()->getFullname() . ' - ' . _('Dateien'));
+ PageLayout::setTitle(Context::get()->getFullName() . ' - ' . _('Dateien'));
Navigation::activateItem('/course/files');
diff --git a/app/controllers/course/grouping.php b/app/controllers/course/grouping.php
index 5202967..198932e 100644
--- a/app/controllers/course/grouping.php
+++ b/app/controllers/course/grouping.php
@@ -43,7 +43,7 @@ class Course_GroupingController extends AuthenticatedController
*/
public function parent_action()
{
- PageLayout::setTitle($this->course->getFullname() . ' - ' . _('Zuordnung zu Hauptveranstaltung'));
+ PageLayout::setTitle($this->course->getFullName() . ' - ' . _('Zuordnung zu Hauptveranstaltung'));
Navigation::activateItem('/course/admin/parent');
$this->parent = $this->course->parent;
@@ -84,7 +84,7 @@ class Course_GroupingController extends AuthenticatedController
*/
public function children_action()
{
- PageLayout::setTitle($this->course->getFullname() . ' - ' . _('Unterveranstaltungen'));
+ PageLayout::setTitle($this->course->getFullName() . ' - ' . _('Unterveranstaltungen'));
Navigation::activateItem('/course/admin/children');
$this->children = $this->course->children;
@@ -144,7 +144,7 @@ class Course_GroupingController extends AuthenticatedController
{
PageLayout::setTitle(sprintf(
'%s - %s',
- Course::findCurrent()->getFullname(),
+ Course::findCurrent()->getFullName(),
_('Teilnehmende in Unterveranstaltungen')
));
Navigation::activateItem('course/members/children');
@@ -181,7 +181,7 @@ class Course_GroupingController extends AuthenticatedController
$this->url_for('messages/write', [
'filter' => 'all',
'course_id' => $this->course->id,
- 'default_subject' => '[' . $this->course->getFullname() . ']',
+ 'default_subject' => '[' . $this->course->getFullName() . ']',
]),
Icon::create('mail', 'clickable')
)->asDialog('size=auto');
@@ -198,7 +198,7 @@ class Course_GroupingController extends AuthenticatedController
htmlReady(sprintf(
'%s %s',
get_title_for_status('autor', 2),
- $this->course->getFullname()
+ $this->course->getFullName()
)),
'csv',
'csv-teiln',
@@ -217,7 +217,7 @@ class Course_GroupingController extends AuthenticatedController
'person',
htmlReady(sprintf(
'%s %s',
- get_title_for_status('autor', 2), $this->course->getFullname()
+ get_title_for_status('autor', 2), $this->course->getFullName()
)),
'rtf',
'rtf-teiln',
@@ -279,7 +279,7 @@ class Course_GroupingController extends AuthenticatedController
case 'message':
$this->redirect($this->url_for('messages/write', [
'rec_uname' => $users->pluck('username'),
- 'default_subject' => '[' . Course::find($course_id)->getFullname() . ']',
+ 'default_subject' => '[' . Course::find($course_id)->getFullName() . ']',
]));
break;
case 'move':
@@ -550,20 +550,20 @@ class Course_GroupingController extends AuthenticatedController
$d->user_id = $user;
// Error on storing.
if (!$d->store()) {
- $fail[$sem->getFullname()][] = $user;
+ $fail[$sem->getFullName()][] = $user;
// Check if new deputy was regular member before, remove entry.
} else {
$m = CourseMember::find([$course, $user]);
// Could not delete old course membership, remove deputy entry.
if ($m && !$m->delete()) {
$d->delete();
- $fail[$sem->getFullname()][] = $user;
+ $fail[$sem->getFullName()][] = $user;
}
}
}
// Add member with given permission.
} elseif (!$sem->addMember($user, Request::option('permission'))) {
- $fail[$sem->getFullname()][] = $user;
+ $fail[$sem->getFullName()][] = $user;
}
}
}
diff --git a/app/controllers/course/lvgselector.php b/app/controllers/course/lvgselector.php
index 2ef55ea..3542a11 100644
--- a/app/controllers/course/lvgselector.php
+++ b/app/controllers/course/lvgselector.php
@@ -55,7 +55,7 @@ class Course_LvgselectorController extends AuthenticatedController
Navigation::activateItem('/course/admin/lvgruppen');
}
PageLayout::setTitle(sprintf('%s - %s',
- $this->course->getFullname(),
+ $this->course->getFullName(),
_('Lehrveranstaltungsgruppen')));
// is locked?
diff --git a/app/controllers/course/members.php b/app/controllers/course/members.php
index b6807c5..5ead0ea 100644
--- a/app/controllers/course/members.php
+++ b/app/controllers/course/members.php
@@ -55,7 +55,7 @@ class Course_MembersController extends AuthenticatedController
$this->is_locked = LockRules::Check($this->course_id, 'participants');
// Layoutsettings
- PageLayout::setTitle(sprintf('%s - %s', Course::findCurrent()->getFullname(), _("Teilnehmende")));
+ PageLayout::setTitle(sprintf('%s - %s', Course::findCurrent()->getFullName(), _("Teilnehmende")));
$this->studip_module = checkObjectModule('participants');
object_set_visit_module( $this->studip_module->getPluginId());
@@ -2186,13 +2186,13 @@ class Course_MembersController extends AuthenticatedController
messaging::sendSystemMessage($user_id, sprintf('%s %s', _('Systemnachricht:'),
_('Anmeldung aufgehoben, auf Warteliste gesetzt')), $message);
if ($course->addToWaitlist($user_id, $which_end)) {
- $msgs['success'][] = $temp_user->getFullname('no_title');
+ $msgs['success'][] = $temp_user->getFullName('no_title');
} else {
- $msgs['error'][] = $temp_user->getFullname('no_title');
+ $msgs['error'][] = $temp_user->getFullName('no_title');
}
// Something went wrong on inserting the user in waitlist.
} else {
- $msgs['error'][] = $temp_user->getFullname('no_title');
+ $msgs['error'][] = $temp_user->getFullName('no_title');
}
}
return $msgs;
diff --git a/app/controllers/course/messenger.php b/app/controllers/course/messenger.php
index ca0ec3c..3e692aa 100644
--- a/app/controllers/course/messenger.php
+++ b/app/controllers/course/messenger.php
@@ -13,7 +13,7 @@ class Course_MessengerController extends AuthenticatedController
public function course_action($thread_id = null)
{
if (Context::get()) {
- PageLayout::setTitle(Context::get()->getFullname() . ' - ' . _('Blubber'));
+ PageLayout::setTitle(Context::get()->getFullName() . ' - ' . _('Blubber'));
}
if (Navigation::hasItem('/course/blubber')) {
diff --git a/app/controllers/course/room_requests.php b/app/controllers/course/room_requests.php
index 42628c8..ae32594 100644
--- a/app/controllers/course/room_requests.php
+++ b/app/controllers/course/room_requests.php
@@ -50,7 +50,7 @@ class Course_RoomRequestsController extends AuthenticatedController
}
PageLayout::setHelpKeyword('Basis.VeranstaltungenVerwaltenAendernVonZeitenUndTerminen');
- $pagetitle .= Course::find($this->course_id)->getFullname() . ' - ';
+ $pagetitle .= Course::find($this->course_id)->getFullName() . ' - ';
$pagetitle .= _('Verwalten von Raumanfragen');
PageLayout::setTitle($pagetitle);
diff --git a/app/controllers/course/statusgroups.php b/app/controllers/course/statusgroups.php
index 02f4579..3edccb2 100644
--- a/app/controllers/course/statusgroups.php
+++ b/app/controllers/course/statusgroups.php
@@ -32,7 +32,7 @@ class Course_StatusgroupsController extends AuthenticatedController
$course = Course::findCurrent();
$this->course_id = $course->id;
- $this->course_title = $course->getFullname();
+ $this->course_title = $course->getFullName();
$this->config = CourseConfig::get($this->course_id);
// Check perms
@@ -49,7 +49,7 @@ class Course_StatusgroupsController extends AuthenticatedController
$this->is_locked = LockRules::Check($this->course_id, 'groups');
$this->is_participants_locked = LockRules::Check($this->course_id, 'participants');
- PageLayout::setTitle(sprintf('%s - %s', Course::findCurrent()->getFullname(), _('Gruppen')));
+ PageLayout::setTitle(sprintf('%s - %s', Course::findCurrent()->getFullName(), _('Gruppen')));
PageLayout::addStyleSheet('studip-statusgroups.css');
PageLayout::addScript('studip-statusgroups.js');
}
@@ -672,7 +672,7 @@ class Course_StatusgroupsController extends AuthenticatedController
}
$s = StatusgruppeUser::find([$group_id, $user_id]);
- $name = $s->user->getFullname();
+ $name = $s->user->getFullName();
if ($s->delete()) {
if ($user_id == $GLOBALS['user']->id) {
PageLayout::postSuccess(sprintf(
@@ -943,7 +943,7 @@ class Course_StatusgroupsController extends AuthenticatedController
$dates = CourseDate::findBySeminar_id($this->course_id);
$singledates = array_filter($dates, function ($d) { return !((bool) $d->metadate_id); });
foreach ($singledates as $d) {
- $name = $d->getFullname();
+ $name = $d->getFullName();
// Append description to group title if applicable.
if ($d->description) {
diff --git a/app/controllers/course/study_areas.php b/app/controllers/course/study_areas.php
index 4de29dc..df54bb4 100644
--- a/app/controllers/course/study_areas.php
+++ b/app/controllers/course/study_areas.php
@@ -47,7 +47,7 @@ class Course_StudyAreasController extends AuthenticatedController
$this->values[get_class($this->step)]['ajax_url'] = $this->url_for('course/study_areas/ajax');
$this->values[get_class($this->step)]['no_js_url'] = $this->url_for('course/study_areas/show');
- PageLayout::setTitle($this->course->getFullname() . ' - ' . _('Studienbereiche'));
+ PageLayout::setTitle($this->course->getFullName() . ' - ' . _('Studienbereiche'));
}
diff --git a/app/controllers/course/studygroup.php b/app/controllers/course/studygroup.php
index 4caad47..b75d91e 100644
--- a/app/controllers/course/studygroup.php
+++ b/app/controllers/course/studygroup.php
@@ -82,7 +82,7 @@ class Course_StudygroupController extends AuthenticatedController
if (Request::isXhr()) {
PageLayout::setTitle(_('Studiengruppendetails'));
} else {
- PageLayout::setTitle((Context::getHeaderLine() ?: Course::find($id)->getFullname()) . ' - ' . _('Studiengruppendetails'));
+ PageLayout::setTitle((Context::getHeaderLine() ?: Course::find($id)->getFullName()) . ' - ' . _('Studiengruppendetails'));
PageLayout::setHelpKeyword('Basis.StudiengruppenAbonnieren');
$stmt = DBManager::get()->prepare("SELECT * FROM admission_seminar_user"
@@ -507,7 +507,7 @@ class Course_StudygroupController extends AuthenticatedController
$this->last_visitdate = object_get_visit($id, $this->studip_module->getPluginId());
$this->anzahl = StudygroupModel::countMembers($id);
- $this->groupname = $sem->getFullname();
+ $this->groupname = $sem->getFullName();
$this->sem_id = $id;
$this->groupdescription = $sem->beschreibung;
$this->moderators = $sem->getMembersWithStatus('dozent');
diff --git a/app/controllers/course/timesrooms.php b/app/controllers/course/timesrooms.php
index f1c2f8e..672495f 100644
--- a/app/controllers/course/timesrooms.php
+++ b/app/controllers/course/timesrooms.php
@@ -56,7 +56,7 @@ class Course_TimesroomsController extends AuthenticatedController
PageLayout::setHelpKeyword('Basis.Veranstaltungen');
$title = _('Verwaltung von Zeiten und Räumen');
- $title = $this->course->getFullname() . ' - ' . $title;
+ $title = $this->course->getFullName() . ' - ' . $title;
PageLayout::setTitle($title);
@@ -411,7 +411,7 @@ class Course_TimesroomsController extends AuthenticatedController
//time changed for regular date. create normal singledate and cancel the regular date
if ($termin->metadate_id != '' && $time_changed) {
$termin_values = $termin->toArray();
- $termin_info = $termin->getFullname();
+ $termin_info = $termin->getFullName();
$termin->cancelDate();
PageLayout::postInfo(sprintf(
@@ -537,7 +537,7 @@ class Course_TimesroomsController extends AuthenticatedController
*/
public function createSingleDate_action()
{
- PageLayout::setTitle(Course::findCurrent()->getFullname() . " - " . _('Einzeltermin anlegen'));
+ PageLayout::setTitle(Course::findCurrent()->getFullName() . " - " . _('Einzeltermin anlegen'));
$this->restoreRequest(
words('date start_time end_time room related_teachers related_statusgruppen freeRoomText dateType fromDialog course_type')
);
@@ -624,7 +624,7 @@ class Course_TimesroomsController extends AuthenticatedController
$this->course->setFilter('all');
}
- $this->course->createMessage(sprintf(_('Der Termin %s wurde hinzugefügt!'), htmlReady($termin->getFullname())));
+ $this->course->createMessage(sprintf(_('Der Termin %s wurde hinzugefügt!'), htmlReady($termin->getFullName())));
$this->course->store();
$this->displayMessages();
@@ -643,7 +643,7 @@ class Course_TimesroomsController extends AuthenticatedController
if ($termin) {
$this->course->createMessage(sprintf(
_('Der Termin %s wurde wiederhergestellt!'),
- htmlReady($termin->getFullname())
+ htmlReady($termin->getFullName())
));
$this->displayMessages();
}
@@ -852,7 +852,7 @@ class Course_TimesroomsController extends AuthenticatedController
if ($termin !== null) {
$this->course->createMessage(sprintf(
_('Der Termin %s wurde wiederhergestellt!'),
- htmlReady($termin->getFullname())
+ htmlReady($termin->getFullName())
));
}
}
@@ -1174,7 +1174,7 @@ class Course_TimesroomsController extends AuthenticatedController
*/
public function createCycle_action($cycle_id = null)
{
- PageLayout::setTitle(Course::findCurrent()->getFullname() . " - " . _('Regelmäßige Termine anlegen'));
+ PageLayout::setTitle(Course::findCurrent()->getFullName() . " - " . _('Regelmäßige Termine anlegen'));
$this->restoreRequest(
words('day start_time end_time description cycle startWeek teacher_sws fromDialog course_type')
);
@@ -1440,18 +1440,18 @@ class Course_TimesroomsController extends AuthenticatedController
if ($termin->store()) {
$this->course->createMessage(sprintf(
_('Der Kommtentar des gelöschten Termins %s wurde geändert.'),
- htmlReady($termin->getFullname())
+ htmlReady($termin->getFullName())
));
} else {
$this->course->createInfo(sprintf(
_('Der gelöschte Termin %s wurde nicht verändert.'),
- htmlReady($termin->getFullname())
+ htmlReady($termin->getFullName())
));
}
} else {
$this->course->createInfo(sprintf(
_('Der gelöschte Termin %s wurde nicht verändert.'),
- htmlReady($termin->getFullname())
+ htmlReady($termin->getFullName())
));
}
if (Request::int('cancel_send_message')) {
@@ -1474,7 +1474,7 @@ class Course_TimesroomsController extends AuthenticatedController
$actions->addLink(
sprintf(
_('Semester ändern (%s)'),
- $this->course->getFullname('sem-duration-name')
+ $this->course->getFullName('sem-duration-name')
),
$this->url_for('course/timesrooms/editSemester'),
Icon::create('date')
@@ -1569,7 +1569,7 @@ class Course_TimesroomsController extends AuthenticatedController
{
$seminar_id = $termin->range_id;
$termin_room = $termin->getRoomName();
- $termin_date = $termin->getFullname();
+ $termin_date = $termin->getFullName();
$has_topics = $termin->topics->count();
if ($cancel_comment != '') {
diff --git a/app/controllers/course/topics.php b/app/controllers/course/topics.php
index dc75276..2d97490 100644
--- a/app/controllers/course/topics.php
+++ b/app/controllers/course/topics.php
@@ -15,7 +15,7 @@ class Course_TopicsController extends AuthenticatedController
checkObjectModule("schedule");
Navigation::activateItem('/course/schedule/topics');
- PageLayout::setTitle(sprintf('%s - %s', Course::findCurrent()->getFullname(), _("Themen")));
+ PageLayout::setTitle(sprintf('%s - %s', Course::findCurrent()->getFullName(), _("Themen")));
$seminar = new Seminar(Course::findCurrent());
$this->forum_activated = $seminar->getSlotModule('forum');
diff --git a/app/controllers/course/wizard.php b/app/controllers/course/wizard.php
index 636d6eb..b45f9e5 100644
--- a/app/controllers/course/wizard.php
+++ b/app/controllers/course/wizard.php
@@ -201,13 +201,13 @@ class Course_WizardController extends AuthenticatedController
$message = MessageBox::success(sprintf(
_('Die Veranstaltung <a class="link-intern" href="%s">"%s"</a> wurde angelegt.'),
$this->link_for($dest_url, ['cid' => $this->course->id]),
- htmlReady($this->course->getFullname())
+ htmlReady($this->course->getFullName())
));
$target = $this->url_for('admin/courses');
} else {
$message = MessageBox::success(sprintf(
_('Die Veranstaltung "%s" wurde angelegt. Sie können sie direkt hier weiter verwalten.'),
- htmlReady($this->course->getFullname())
+ htmlReady($this->course->getFullName())
));
$target = $this->url_for($dest_url, ['cid' => $this->course->id]);
}
diff --git a/app/controllers/file.php b/app/controllers/file.php
index 83152e3..65344ef 100644
--- a/app/controllers/file.php
+++ b/app/controllers/file.php
@@ -1926,7 +1926,7 @@ class FileController extends AuthenticatedController
) {
PageLayout::postWarning(sprintf(
_('Für den Termin am %s existiert bereits ein Sitzungs-Ordner. Möchten Sie trotzdem einen weiteren Sitzungs-Ordner erstellen?'),
- htmlReady($course_date->getFullname())
+ htmlReady($course_date->getFullName())
));
$this->show_confirmation_button = true;
$this->folder = $new_folder ?: new StandardFolder();
diff --git a/app/controllers/institute/files.php b/app/controllers/institute/files.php
index 6f622ae..afcd0fd 100644
--- a/app/controllers/institute/files.php
+++ b/app/controllers/institute/files.php
@@ -31,7 +31,7 @@ class Institute_FilesController extends AuthenticatedController
object_set_visit_module($this->studip_module->getPluginId());
PageLayout::setHelpKeyword("Basis.Dateien");
- PageLayout::setTitle($this->institute->getFullname() . " - " . _("Dateien"));
+ PageLayout::setTitle($this->institute->getFullName() . " - " . _("Dateien"));
$this->last_visitdate = object_get_visit($this->institute->id, $this->studip_module->getPluginId());
Navigation::activateItem('/course/files');
diff --git a/app/controllers/messages.php b/app/controllers/messages.php
index 96a3aac..17ad4ce 100644
--- a/app/controllers/messages.php
+++ b/app/controllers/messages.php
@@ -641,11 +641,11 @@ class MessagesController extends AuthenticatedController {
$this->msg['from'] = $message['autor_id'] === '____%system%____'
? _('Stud.IP')
: ($message->getSender()
- ? $message->getSender()->getFullname()
+ ? $message->getSender()->getFullName()
: _('unbekannt'));
$this->msg['to'] = $GLOBALS['user']->id == $message->autor_id ?
join(', ', $message->getRecipients()->pluck('fullname')) :
- $GLOBALS['user']->getFullname() . ' ' . sprintf(_('(und %d weitere)'), $message->getNumRecipients()-1);
+ $GLOBALS['user']->getFullName() . ' ' . sprintf(_('(und %d weitere)'), $message->getNumRecipients()-1);
if ($attachment_folder = Folder::findOneByRange_id($message->id)) {
$this->msg['attachments'] = $attachment_folder->file_refs->toArray('name size');
diff --git a/app/controllers/my_courses.php b/app/controllers/my_courses.php
index f2ddb37..8b4d037 100644
--- a/app/controllers/my_courses.php
+++ b/app/controllers/my_courses.php
@@ -680,12 +680,12 @@ class MyCoursesController extends AuthenticatedController
if ($deputy && $deputy->delete()) {
PageLayout::postSuccess(sprintf(
_('Sie wurden als Standardvertretung von %s entfernt.'),
- htmlReady($boss->getFullname())
+ htmlReady($boss->getFullName())
));
} else {
PageLayout::postError(sprintf(
_('Sie konnten nicht als Standardvertretung von %s entfernt werden.'),
- htmlReady($boss->getFullname())
+ htmlReady($boss->getFullName())
));
}
$this->redirect($this->url_for('my_courses'));
diff --git a/app/controllers/news.php b/app/controllers/news.php
index 96ecd92..f935017 100644
--- a/app/controllers/news.php
+++ b/app/controllers/news.php
@@ -375,7 +375,7 @@ class NewsController extends StudipController
'type' => 'no',
'mapper' => function () use ($news) {
$author = $news->user_id ? User::find($news->user_id): User::findCurrent();
- return $author ? $author->getFullname() : '';
+ return $author ? $author->getFullName() : '';
}
]
]
diff --git a/app/controllers/profile.php b/app/controllers/profile.php
index 31494ae..a4e7c56a 100644
--- a/app/controllers/profile.php
+++ b/app/controllers/profile.php
@@ -61,7 +61,7 @@ class ProfileController extends AuthenticatedController
)
)
) {
- PageLayout::setTitle(_('Profil von') . ' ' . $this->current_user->getFullname());
+ PageLayout::setTitle(_('Profil von') . ' ' . $this->current_user->getFullName());
object_add_view($this->current_user->id);
} else {
PageLayout::setTitle(_('Profil'));
diff --git a/app/controllers/resources/resource.php b/app/controllers/resources/resource.php
index 47d6b99..202e763 100644
--- a/app/controllers/resources/resource.php
+++ b/app/controllers/resources/resource.php
@@ -423,7 +423,7 @@ class Resources_ResourceController extends AuthenticatedController
PageLayout::setTitle(
sprintf(
_('%s: bearbeiten'),
- $this->resource->getFullname()
+ $this->resource->getFullName()
)
);
}
@@ -436,7 +436,7 @@ class Resources_ResourceController extends AuthenticatedController
PageLayout::setTitle(
sprintf(
_('%s: löschen'),
- $this->resource->getFullname()
+ $this->resource->getFullName()
)
);
}
diff --git a/app/controllers/resources/room_request.php b/app/controllers/resources/room_request.php
index 2344b6d..515d4d3 100644
--- a/app/controllers/resources/room_request.php
+++ b/app/controllers/resources/room_request.php
@@ -2193,7 +2193,7 @@ class Resources_RoomRequestController extends AuthenticatedController
);
return;
}
- $range_name = $course_date->course->getFullname();
+ $range_name = $course_date->course->getFullName();
try {
$booking = $room->createBooking(
$this->current_user,
@@ -2228,7 +2228,7 @@ class Resources_RoomRequestController extends AuthenticatedController
);
return;
}
- $range_name = $metadate->course->getFullname();
+ $range_name = $metadate->course->getFullName();
if ($metadate->dates) {
foreach ($metadate->dates as $date) {
try {
diff --git a/app/controllers/tree.php b/app/controllers/tree.php
index 7665b60..655e717 100644
--- a/app/controllers/tree.php
+++ b/app/controllers/tree.php
@@ -35,7 +35,7 @@ class TreeController extends AuthenticatedController
$data[] = [
$course->veranstaltungsnummer,
- $course->getFullname('type-number-name'),
+ $course->getFullName('type-number-name'),
$course->getTextualSemester(),
$sem->getDatesExport(),
implode(', ', $lecturersSorted)
diff --git a/app/views/admin/overlapping/admin_info.php b/app/views/admin/overlapping/admin_info.php
index f340e75..1eeac77 100644
--- a/app/views/admin/overlapping/admin_info.php
+++ b/app/views/admin/overlapping/admin_info.php
@@ -17,7 +17,7 @@
<?= _('Heimateinrichtung') ?>
</dt>
<dd>
- <?= htmlReady($course->home_institut->getFullname()) ?>
+ <?= htmlReady($course->home_institut->getFullName()) ?>
</dd>
<dt>
<?= _('Zuständige Administratoren') ?>
@@ -25,7 +25,7 @@
<? foreach ($admins as $admin) : ?>
<dd>
<a href="<?= $controller->url_for('profile', ['username' => $admin->username]) ?>">
- <?= htmlReady($admin->user->getFullname()) ?>
+ <?= htmlReady($admin->user->getFullName()) ?>
</a>
</dd>
<? endforeach; ?>
diff --git a/app/views/admin/overlapping/conflicts.php b/app/views/admin/overlapping/conflicts.php
index 3bf39b7..6d22c1d 100644
--- a/app/views/admin/overlapping/conflicts.php
+++ b/app/views/admin/overlapping/conflicts.php
@@ -73,7 +73,7 @@
<a href="<?= $controller->url_for('admin/overlapping/course_info', $comp_cycle->comp_course_id) ?>" data-dialog="">
<?= Icon::create('info-circle', Icon::ROLE_INFO, ['style' => 'vertical-align: text-bottom;', 'title' => _('Veranstaltungsdetails')]) ?>
</a>
- <?= htmlReady($comp_cycle->comp_course->getFullname('type-name')) ?>
+ <?= htmlReady($comp_cycle->comp_course->getFullName('type-name')) ?>
<? if ($comp_cycle->comp_course->admission_turnout) : ?>
<?= sprintf(_('(erw. TN %s)'), htmlReady($comp_cycle->comp_course->admission_turnout)) ?>
<? endif; ?>
@@ -82,7 +82,7 @@
}); ?>
<?= Icon::create('date-cycle', Icon::ROLE_INFO, ['style' => 'vertical-align: text-bottom;']) ?>
<?= sprintf('%s (%sx)', $comp_cycle->comp_cycle->toString('short'), count($dates)); ?>
- <a href="<?= $controller->url_for('admin/overlapping/admin_info', $comp_cycle->comp_course->id) ?>" data-dialog="size=auto;title='<?= htmlReady($comp_cycle->comp_course->getFullname()) ?>';">
+ <a href="<?= $controller->url_for('admin/overlapping/admin_info', $comp_cycle->comp_course->id) ?>" data-dialog="size=auto;title='<?= htmlReady($comp_cycle->comp_course->getFullName()) ?>';">
<?= Icon::create('person-online', Icon::ROLE_INFO, ['style' => 'vertical-align: text-bottom;', 'title' => _('Zuständige Administratoren')]) ?>
</a>
<span title="<?= $comp_cycle->isExcluded() ? _('Veranstaltung nicht berücksichtigen') : _('Veranstaltung berücksichtigen') ?>"
diff --git a/app/views/admin/overlapping/courses.php b/app/views/admin/overlapping/courses.php
index ef6b9d7..aa2e83f 100644
--- a/app/views/admin/overlapping/courses.php
+++ b/app/views/admin/overlapping/courses.php
@@ -26,7 +26,7 @@
'title' => _('Veranstaltungsdetails')
]) ?>
</a>
- <?= htmlReady($course_obj->getFullname('type-name')) ?>
+ <?= htmlReady($course_obj->getFullName('type-name')) ?>
<? if ($course_obj->admission_turnout) : ?>
<?= sprintf(_('(erw. TN %s)'), htmlReady($course_obj->admission_turnout)) ?>
<? endif; ?>
diff --git a/app/views/admin/role/assign_role_institutes.php b/app/views/admin/role/assign_role_institutes.php
index 4afc617..fef6279 100644
--- a/app/views/admin/role/assign_role_institutes.php
+++ b/app/views/admin/role/assign_role_institutes.php
@@ -14,7 +14,7 @@
</legend>
<label>
- <?= sprintf(_("Einrichtungszuordnung für %s in der Rolle %s"), htmlReady($user->getFullname()), htmlready($role->getRoleName()))?>
+ <?= sprintf(_("Einrichtungszuordnung für %s in der Rolle %s"), htmlReady($user->getFullName()), htmlready($role->getRoleName()))?>
<div class="hgroup">
<?= $qsearch->render() ?>
diff --git a/app/views/admin/statusgroups/delete.php b/app/views/admin/statusgroups/delete.php
index d31e1eb..20dc80a 100644
--- a/app/views/admin/statusgroups/delete.php
+++ b/app/views/admin/statusgroups/delete.php
@@ -13,7 +13,7 @@
</legend>
<section>
- <?= sprintf(_('%s wirklich aus %s austragen?'), htmlReady($user->getFullname()), htmlReady($group->name)) ?>
+ <?= sprintf(_('%s wirklich aus %s austragen?'), htmlReady($user->getFullName()), htmlReady($group->name)) ?>
</section>
</fieldset>
diff --git a/app/views/admin/tree/batch_assign_semtree.php b/app/views/admin/tree/batch_assign_semtree.php
index 9993781..4b1a4ff 100644
--- a/app/views/admin/tree/batch_assign_semtree.php
+++ b/app/views/admin/tree/batch_assign_semtree.php
@@ -23,9 +23,9 @@
<tr>
<td>
<a href="<?= URLHelper::getLink('dispatch.php/course/overview', ['cid' => $course->id])?>"
- title="<?= sprintf(_('Zur Veranstaltung %s'), htmlReady($course->getFullname())) ?>"
+ title="<?= sprintf(_('Zur Veranstaltung %s'), htmlReady($course->getFullName())) ?>"
target="_blank">
- <?= htmlReady($course->getFullname('number-name-semester')) ?>
+ <?= htmlReady($course->getFullName('number-name-semester')) ?>
</a>
<input type="hidden" name="courses[]" value="<?= htmlReady($course->id) ?>">
</td>
diff --git a/app/views/admin/user/_results.php b/app/views/admin/user/_results.php
index dc996fb..1541907 100644
--- a/app/views/admin/user/_results.php
+++ b/app/views/admin/user/_results.php
@@ -82,7 +82,7 @@
<?= htmlReady($user->username) ?>
</a>
<? if ($user->locked) : ?>
- <?= Icon::create('lock-locked', Icon::ROLE_INFO)->asImg(tooltip2(sprintf(_('%s ist gesperrt'), htmlReady($user->getFullname())))) ?>
+ <?= Icon::create('lock-locked', Icon::ROLE_INFO)->asImg(tooltip2(sprintf(_('%s ist gesperrt'), htmlReady($user->getFullName())))) ?>
<? endif ?>
</td>
<td>
diff --git a/app/views/admin/user/batch_export_members.php b/app/views/admin/user/batch_export_members.php
index 258df5b..71b6358 100644
--- a/app/views/admin/user/batch_export_members.php
+++ b/app/views/admin/user/batch_export_members.php
@@ -16,9 +16,9 @@
<tr>
<td>
<a href="<?= URLHelper::getLink('dispatch.php/course/overview', ['cid' => $course->id])?>"
- title="<?= sprintf(_('Zur Veranstaltung %s'), htmlReady($course->getFullname())) ?>"
+ title="<?= sprintf(_('Zur Veranstaltung %s'), htmlReady($course->getFullName())) ?>"
target="_blank">
- <?= htmlReady($course->getFullname('number-name-semester')) ?>
+ <?= htmlReady($course->getFullName('number-name-semester')) ?>
</a>
<input type="hidden" name="courses[]" value="<?= htmlReady($course->id) ?>">
</td>
diff --git a/app/views/admin/user/migrate.php b/app/views/admin/user/migrate.php
index dbfd1ef..be7a731 100644
--- a/app/views/admin/user/migrate.php
+++ b/app/views/admin/user/migrate.php
@@ -19,7 +19,7 @@ use Studip\Button, Studip\LinkButton;
<? if ($user !== null): ?>
<?= QuickSearch::get('old_id', new StandardSearch('user_id'))
- ->defaultValue($user->id, $user->getFullname() . ' (' . $user->username . ')')
+ ->defaultValue($user->id, $user->getFullName() . ' (' . $user->username . ')')
->render() ?>
<? else: ?>
<?= QuickSearch::get('old_id', new StandardSearch('user_id'))->render() ?>
diff --git a/app/views/admin/user/show_user_courses.php b/app/views/admin/user/show_user_courses.php
index ef07aba..9d1d3f0 100644
--- a/app/views/admin/user/show_user_courses.php
+++ b/app/views/admin/user/show_user_courses.php
@@ -34,9 +34,9 @@
<tr>
<td>
<input type="checkbox" name="courses[]" value="<?= htmlReady($course->id) ?>"
- title="<?= sprintf(_('%s auswählen'), htmlReady($course->getFullname())) ?>">
+ title="<?= sprintf(_('%s auswählen'), htmlReady($course->getFullName())) ?>">
</td>
- <td><?= htmlReady($course->getFullname()) ?></td>
+ <td><?= htmlReady($course->getFullName()) ?></td>
<td class="actions">
<?= Icon::create('trash')->asInput([
'formaction' => $controller->delete_course_assignment(
@@ -49,7 +49,7 @@
),
'title' => sprintf(
_('Aus %s austragen'),
- htmlReady($course->getFullname())
+ htmlReady($course->getFullName())
),
'data-dialog' => 'size=auto'
]) ?>
diff --git a/app/views/admission/courseset/configure.php b/app/views/admission/courseset/configure.php
index b3f3030..773624e 100644
--- a/app/views/admission/courseset/configure.php
+++ b/app/views/admission/courseset/configure.php
@@ -159,7 +159,7 @@ if (isset($flash['error'])) {
<? else : ?>
<?
Course::findEachMany(function($c) {
- echo htmlReady($c->getFullname('number-name-semester'));
+ echo htmlReady($c->getFullName('number-name-semester'));
echo '<br>';
},
$courseIds,
diff --git a/app/views/admission/userlist/configure.php b/app/views/admission/userlist/configure.php
index 4e5df25..3736758 100644
--- a/app/views/admission/userlist/configure.php
+++ b/app/views/admission/userlist/configure.php
@@ -83,7 +83,7 @@ Helpbar::get()->addPlainText(_('Info'), "Stellen Sie hier ein, wie die Chancen b
</td>
<td>
<a href="<?= URLHelper::getLink('dispatch.php/profile?username=' . $u->username) ?>">
- <?= $u->getFullname('full_rev') . ' (' . $u->username . ')' ?>
+ <?= $u->getFullName('full_rev') . ' (' . $u->username . ')' ?>
</a>
<input type="hidden" name="users[]" value="<?= $u->id ?>"/>
</td>
@@ -91,7 +91,7 @@ Helpbar::get()->addPlainText(_('Info'), "Stellen Sie hier ein, wie die Chancen b
<a href="<?= $controller->url_for('admission/userlist/delete_member',
$userlist_id, $u->id) ?>" class="userlist-delete-user"
data-confirm="<?= sprintf(_('Soll %s wirklich von der Liste entfernt werden?'),
- htmlReady($u->getFullname())) ?>">
+ htmlReady($u->getFullName())) ?>">
<?= Icon::create('trash', 'clickable') ?>
</a>
</td>
diff --git a/app/views/consultation/admin/block-responsibilities.php b/app/views/consultation/admin/block-responsibilities.php
index 82f4586..ebdb37b 100644
--- a/app/views/consultation/admin/block-responsibilities.php
+++ b/app/views/consultation/admin/block-responsibilities.php
@@ -46,7 +46,7 @@ $selected = function ($type, $id) use ($block) {
<select name="responsibilities[institute][]" multiple class="nested-select">
<? foreach ($responsible['institutes'] as $institute): ?>
<option value="<?= htmlReady($institute->id) ?>" <?= $selected('institute', $institute->id) ?>>
- <?= htmlReady($institute->getFullname()) ?>
+ <?= htmlReady($institute->getFullName()) ?>
</option>
<? endforeach; ?>
</select>
diff --git a/app/views/course/dates/_date_row-exdate.php b/app/views/course/dates/_date_row-exdate.php
index 0b86f6e..bc9beab 100644
--- a/app/views/course/dates/_date_row-exdate.php
+++ b/app/views/course/dates/_date_row-exdate.php
@@ -1,11 +1,11 @@
<tr id="date_<?= $date->id ?>" class="ausfall" data-termin-id="<?= htmlReady($date->id) ?>">
<td data-sort-value="<?= htmlReady($date->date) ?>" class="date_name">
<?= Icon::create('date', Icon::ROLE_INFO)->asImg(['class' => 'text-bottom']) ?>
- <?= htmlReady($date->getFullname()) ?>
+ <?= htmlReady($date->getFullName()) ?>
<?= tooltipIcon($date->content) ?>
<? if (count($date->dozenten) > 0): ?>
<br>
- (<?= htmlReady(implode(', ', $date->dozenten->getFullname())) ?>)
+ (<?= htmlReady(implode(', ', $date->dozenten->getFullName())) ?>)
<? endif; ?>
</td>
<td class="hidden-small-down"></td>
diff --git a/app/views/course/dates/_date_row.php b/app/views/course/dates/_date_row.php
index 32433ae..0246455 100644
--- a/app/views/course/dates/_date_row.php
+++ b/app/views/course/dates/_date_row.php
@@ -8,11 +8,11 @@ $dialog_url = $show_raumzeit
<td data-sort-value="<?= htmlReady($date->date) ?>" class="date_name">
<a href="<?= $dialog_url ?>" data-dialog>
<?= Icon::create($icon)->asImg(['class' => 'text-bottom']) ?>
- <?= htmlReady($date->getFullname(CourseDate::FORMAT_VERBOSE)) ?>
+ <?= htmlReady($date->getFullName(CourseDate::FORMAT_VERBOSE)) ?>
</a>
<? if (count($date->dozenten) > 0): ?>
<br>
- (<?= htmlReady(implode(', ', $date->dozenten->getFullname())) ?>)
+ (<?= htmlReady(implode(', ', $date->dozenten->getFullName())) ?>)
<? endif; ?>
</td>
<td class="hidden-small-down">
diff --git a/app/views/course/dates/details-edit.php b/app/views/course/dates/details-edit.php
index 0f91d72..7fb409e 100644
--- a/app/views/course/dates/details-edit.php
+++ b/app/views/course/dates/details-edit.php
@@ -57,7 +57,7 @@
<?= Avatar::getAvatar($teacher->user_id)->getImageTag(Avatar::SMALL) ?>
</span>
<span class="studip-selection-label">
- <?= htmlReady($teacher->getFullname()) ?>
+ <?= htmlReady($teacher->getFullName()) ?>
</span>
</li>
<? endforeach; ?>
@@ -78,7 +78,7 @@
<?= Avatar::getAvatar($teacher->id)->getImageTag(Avatar::SMALL) ?>
</span>
<span class="studip-selection-label">
- <?= htmlReady($teacher->getFullname()) ?>
+ <?= htmlReady($teacher->getFullName()) ?>
</span>
</li>
<? endif; ?>
diff --git a/app/views/course/dates/details.php b/app/views/course/dates/details.php
index 96f7e2e..b63662a 100644
--- a/app/views/course/dates/details.php
+++ b/app/views/course/dates/details.php
@@ -31,7 +31,7 @@
<li>
<a href="<?= $controller->link_for('profile?username=' . $teacher->username) ?>">
<?= Avatar::getAvatar($teacher->user_id)->getImageTag(Avatar::SMALL) ?>
- <?= htmlReady($teacher->getFullname()) ?>
+ <?= htmlReady($teacher->getFullName()) ?>
</a>
</li>
<? endforeach ?>
diff --git a/app/views/course/dates/new_topic.php b/app/views/course/dates/new_topic.php
index 7ec97f3..1cc303d 100644
--- a/app/views/course/dates/new_topic.php
+++ b/app/views/course/dates/new_topic.php
@@ -12,7 +12,7 @@
<tbody>
<tr>
<td><?= _("Termin") ?></td>
- <td class="date_name"><?= htmlReady($date->getFullname()) ?></td>
+ <td class="date_name"><?= htmlReady($date->getFullName()) ?></td>
</tr>
<tr>
<td><label for="topic_title"><?= _("Thema") ?></label></td>
diff --git a/app/views/course/details/index.php b/app/views/course/details/index.php
index 583f715..eb7da10 100644
--- a/app/views/course/details/index.php
+++ b/app/views/course/details/index.php
@@ -58,7 +58,7 @@
<strong><?= _('Semester') ?></strong>
</td>
<td>
- <?= htmlReady($course->getFullname('sem-duration-name')) ?>
+ <?= htmlReady($course->getFullName('sem-duration-name')) ?>
</td>
</tr>
<? endif ?>
@@ -128,8 +128,8 @@
<?= _('Diese Veranstaltung gehört zu einer Hauptveranstaltung') ?>:
<br><br>
<a href="<?= $controller->link_for('course/details/', ['sem_id' => $course->parent->id]) ?>"
- title="<?= htmlReady($course->parent->getFullname()) ?>">
- <?= htmlReady($course->parent->getFullname()) ?>
+ title="<?= htmlReady($course->parent->getFullName()) ?>">
+ <?= htmlReady($course->parent->getFullName()) ?>
</a>
<? if (count($siblings) > 0) : ?>
<br><br>
@@ -139,8 +139,8 @@
<? foreach ($siblings as $sibling): ?>
<li>
<a href="<?= $controller->link_for('course/details/', ['sem_id' => $sibling->id]) ?>"
- title="<?= htmlReady($sibling->getFullname()) ?>">
- <?= htmlReady($sibling->getFullname()) ?>
+ title="<?= htmlReady($sibling->getFullName()) ?>">
+ <?= htmlReady($sibling->getFullName()) ?>
</a>
</li>
<? endforeach ?>
@@ -158,8 +158,8 @@
<? foreach ($children as $child): ?>
<li>
<a href="<?= $controller->link_for('course/details/', ['sem_id' => $child->id]) ?>"
- title="<?= htmlReady($child->getFullname()) ?>">
- <?= htmlReady($child->getFullname()) ?>
+ title="<?= htmlReady($child->getFullName()) ?>">
+ <?= htmlReady($child->getFullName()) ?>
</a>
</li>
<? endforeach ?>
diff --git a/app/views/course/forum/index/_last_post.php b/app/views/course/forum/index/_last_post.php
index 2f3a38b..3532d40 100644
--- a/app/views/course/forum/index/_last_post.php
+++ b/app/views/course/forum/index/_last_post.php
@@ -5,7 +5,7 @@
<? endif; ?>
<? if (empty($entry['last_posting']['anonymous']) || $entry['last_posting']['user_id'] == $GLOBALS['user']->id || $GLOBALS['perm']->have_perm('root')): ?>
<a href="<?= URLHelper::getLink('dispatch.php/profile', ['username' => $entry['last_posting']['username'] ?? '']) ?>">
- <?= htmlReady(($temp_user = User::find($entry['last_posting']['user_id'])) ? $temp_user->getFullname() : $entry['last_posting']['user_fullname'] ?? '') ?>
+ <?= htmlReady(($temp_user = User::find($entry['last_posting']['user_id'])) ? $temp_user->getFullName() : $entry['last_posting']['user_fullname'] ?? '') ?>
</a>
<? endif; ?>
<br>
diff --git a/app/views/course/forum/index/_threads.php b/app/views/course/forum/index/_threads.php
index daf8a29..85ed72c 100644
--- a/app/views/course/forum/index/_threads.php
+++ b/app/views/course/forum/index/_threads.php
@@ -78,7 +78,7 @@
<? endif; ?>
<? if (!$entry['anonymous'] || $entry['user_id'] == $GLOBALS['user']->id || $GLOBALS['perm']->have_perm('root')): ?>
<a href="<?= URLHelper::getLink('dispatch.php/profile', ['username' => get_username($entry['user_id'])]) ?>">
- <?= htmlReady(($temp_user = User::find($entry['user_id'])) ? $temp_user->getFullname() : $entry['author']) ?>
+ <?= htmlReady(($temp_user = User::find($entry['user_id'])) ? $temp_user->getFullName() : $entry['author']) ?>
</a>
<? endif; ?>
<?= _("am") ?> <?= strftime($time_format_string_short, (int)$entry['mkdate']) ?>
diff --git a/app/views/course/grouping/_perm_level.php b/app/views/course/grouping/_perm_level.php
index 37f1080..2f1e0e7 100644
--- a/app/views/course/grouping/_perm_level.php
+++ b/app/views/course/grouping/_perm_level.php
@@ -7,7 +7,7 @@
<? $actionMenu->addLink(
URLHelper::getURL('dispatch.php/messages/write', [
'rec_uname' => $members->pluck('username'),
- 'default_subject' => '[' . $current->getFullname() . ']',
+ 'default_subject' => '[' . $current->getFullName() . ']',
]),
_('Nachricht schicken'),
Icon::create('mail', Icon::ROLE_CLICKABLE, ['title' => _('Nachricht schicken')]),
@@ -65,7 +65,7 @@
<? $actionMenu->addLink(
URLHelper::getURL('dispatch.php/messages/write', [
'rec_uname' => $m->user_id,
- 'default_subject' => '[' . $current->getFullname() . ']'
+ 'default_subject' => '[' . $current->getFullName() . ']'
]),
_('Nachricht schicken'),
Icon::create('mail', Icon::ROLE_CLICKABLE, ['title' => _('Nachricht schicken')]),
diff --git a/app/views/course/grouping/children.php b/app/views/course/grouping/children.php
index 9e7a239..31accc6 100644
--- a/app/views/course/grouping/children.php
+++ b/app/views/course/grouping/children.php
@@ -10,7 +10,7 @@
<? foreach ($children as $child) : ?>
<li>
<a href="<?= $controller->url_for('course/management', ['cid' => $child->id]) ?>">
- <?= htmlReady($child->getFullname()) ?>
+ <?= htmlReady($child->getFullName()) ?>
</a>
<a href="<?= $controller->url_for('course/grouping/unassign_child', $child->id) ?>"
data-confirm="<?= _('Wollen Sie die Zuordnung dieser Unterveranstaltung wirklich entfernen?') ?>">
diff --git a/app/views/course/grouping/members.php b/app/views/course/grouping/members.php
index 3c3b022..48f852b 100644
--- a/app/views/course/grouping/members.php
+++ b/app/views/course/grouping/members.php
@@ -15,7 +15,7 @@
data-get-members-url="<?= $controller->url_for('course/grouping/child_course_members', $child->id) ?>"
class="get-course-members">
<?= Icon::create('seminar') ?>
- <?= htmlReady($child->getFullname()) ?>
+ <?= htmlReady($child->getFullName()) ?>
</a>
</h1>
<span class="actions">
@@ -24,7 +24,7 @@
$controller->url_for('messages/write', [
'filter' => 'all',
'course_id' => $child->id,
- 'default_subject' => '[' . $child->getFullname() . ']',
+ 'default_subject' => '[' . $child->getFullName() . ']',
]),
_('Nachricht schicken'),
Icon::create('mail', Icon::ROLE_CLICKABLE, ['title' => _('Nachricht schicken')]),
diff --git a/app/views/course/grouping/move_members_target.php b/app/views/course/grouping/move_members_target.php
index 793fc19..d20d488 100644
--- a/app/views/course/grouping/move_members_target.php
+++ b/app/views/course/grouping/move_members_target.php
@@ -8,7 +8,7 @@
<? foreach ($targets as $one) : ?>
<label>
<input type="radio" name="target" value="<?= $one->id ?>">
- <?= htmlReady($one->getFullname()) ?>
+ <?= htmlReady($one->getFullName()) ?>
</label>
<? endforeach ?>
</section>
diff --git a/app/views/course/grouping/parent.php b/app/views/course/grouping/parent.php
index 1278cc3..0e4783d 100644
--- a/app/views/course/grouping/parent.php
+++ b/app/views/course/grouping/parent.php
@@ -10,9 +10,9 @@
sprintf(
'<a href="%s" title="%s">',
$controller->link_for('course/grouping/children', ['cid' => $parent->id]),
- htmlReady($parent->getFullname())
+ htmlReady($parent->getFullName())
),
- htmlReady($parent->getFullname()),
+ htmlReady($parent->getFullName()),
'</a>'
) ?>
</p>
diff --git a/app/views/course/statusgroups/edit.php b/app/views/course/statusgroups/edit.php
index 72dac2e..1e71d3d 100644
--- a/app/views/course/statusgroups/edit.php
+++ b/app/views/course/statusgroups/edit.php
@@ -83,7 +83,7 @@
<label for="<?= $d->id ?>">
<input type="checkbox" name="dates[]" value="<?= $d->id ?>" id="<?= $d->id?>"
<?= $group->dates->find($d->id) ? ' checked' : '' ?>>
- <?= htmlReady($d->getFullname()) ?>
+ <?= htmlReady($d->getFullName()) ?>
</label>
<?php endforeach ?>
</section>
@@ -100,7 +100,7 @@
<label for="<?= $s->id ?>">
<input type="checkbox" name="dates[]" value="<?= $s->id ?>" id="<?= $s->id?>"
<?= $group->dates->find($s->id) ? ' checked' : '' ?>>
- <?= htmlReady($s->getFullname()) ?>
+ <?= htmlReady($s->getFullName()) ?>
</label>
<?php endforeach ?>
</fieldset>
diff --git a/app/views/course/statusgroups/groupinfo.php b/app/views/course/statusgroups/groupinfo.php
index 3fff472..ddab481 100644
--- a/app/views/course/statusgroups/groupinfo.php
+++ b/app/views/course/statusgroups/groupinfo.php
@@ -71,7 +71,7 @@
<ul>
<?php foreach ($group->dates as $d) : ?>
<li>
- <?= htmlReady($d->getFullname()) ?>
+ <?= htmlReady($d->getFullName()) ?>
</li>
<?php endforeach ?>
</ul>
@@ -94,7 +94,7 @@
<?= sprintf(_('Zugeordnete %s:'), htmlReady(get_title_for_status('dozent', 2))) ?>
<ul>
<?php foreach ($lecturers as $l) : ?>
- <li><?= htmlReady($l->getFullname()) ?></li>
+ <li><?= htmlReady($l->getFullName()) ?></li>
<?php endforeach ?>
</ul>
</p>
diff --git a/app/views/course/studygroup/_members_gallery.php b/app/views/course/studygroup/_members_gallery.php
index 140a98b..52a81f9 100644
--- a/app/views/course/studygroup/_members_gallery.php
+++ b/app/views/course/studygroup/_members_gallery.php
@@ -2,7 +2,7 @@
<ul class="studygroup-gallery">
<? foreach ($members as $user_id => $m) : ?>
- <? $fullname = $m instanceof CourseMember ? $m->user->getFullname('no_title_rev') : $m['fullname']?>
+ <? $fullname = $m instanceof CourseMember ? $m->user->getFullName('no_title_rev') : $m['fullname']?>
<? ($last_visitdate <= $m['mkdate'] && $GLOBALS['perm']->have_studip_perm('tutor', $sem_id))
? $options = ['style' => 'border: 3px solid rgb(255, 100, 100);border: 1px solid rgba(255, 0, 0, 0.5)']
: $options = [] ?>
diff --git a/app/views/course/studygroup/_members_list.php b/app/views/course/studygroup/_members_list.php
index 470815a..c1dbc26 100644
--- a/app/views/course/studygroup/_members_list.php
+++ b/app/views/course/studygroup/_members_list.php
@@ -29,7 +29,7 @@
</thead>
<tbody>
<? foreach ($members as $m): ?>
- <? $fullname = $m instanceof CourseMember ? $m->user->getFullname('no_title_rev') : $m['fullname']?>
+ <? $fullname = $m instanceof CourseMember ? $m->user->getFullName('no_title_rev') : $m['fullname']?>
<tr <? if ($last_visitdate <= $m['mkdate'] && $GLOBALS['perm']->have_studip_perm('tutor', $sem_id)) echo 'class="new-member"'; ?>>
<? if ($GLOBALS['perm']->have_studip_perm('tutor', $sem_id)): ?>
<td>
diff --git a/app/views/course/studygroup/members.php b/app/views/course/studygroup/members.php
index 58a3b07..c12d97b 100644
--- a/app/views/course/studygroup/members.php
+++ b/app/views/course/studygroup/members.php
@@ -67,7 +67,7 @@
</td>
<td>
<a href="<?= URLHelper::getLink('dispatch.php/profile', ['username' => $p->username]) ?>">
- <?= htmlReady($p->user->getFullname('no_title_rev')) ?>
+ <?= htmlReady($p->user->getFullName('no_title_rev')) ?>
</a>
</td>
<td class="actions">
diff --git a/app/views/course/timesrooms/_cycleRow.php b/app/views/course/timesrooms/_cycleRow.php
index 6f4f459..71a5085 100644
--- a/app/views/course/timesrooms/_cycleRow.php
+++ b/app/views/course/timesrooms/_cycleRow.php
@@ -21,14 +21,14 @@ $is_exTermin = $termin instanceof CourseExDate;
<td class="<?= $termin->getRoom() !== null ? 'green' : 'red' ?>">
<? if ($is_exTermin) : ?>
<span class="is_ex_termin">
- <?= htmlReady($termin->getFullname(CourseDate::FORMAT_VERBOSE)) ?>
+ <?= htmlReady($termin->getFullName(CourseDate::FORMAT_VERBOSE)) ?>
</span>
<? elseif ($locked): ?>
- <?= htmlReady($termin->getFullname(CourseDate::FORMAT_VERBOSE)) ?>
+ <?= htmlReady($termin->getFullName(CourseDate::FORMAT_VERBOSE)) ?>
<? else: ?>
<a data-dialog
href="<?= $controller->url_for('course/timesrooms/editDate/' . $termin->termin_id, $linkAttributes) ?>">
- <?= htmlReady($termin->getFullname(CourseDate::FORMAT_VERBOSE)) ?>
+ <?= htmlReady($termin->getFullName(CourseDate::FORMAT_VERBOSE)) ?>
</a>
<? endif ?>
</td>
@@ -37,7 +37,7 @@ $is_exTermin = $termin instanceof CourseExDate;
<? if (count($termin->dozenten) > 0): ?>
<ul class="list-unstyled list-csv <? if ($is_exTermin) echo 'is_ex_termin' ?>">
<? foreach ($termin->dozenten as $dozent) : ?>
- <li><?= $dozent instanceof User ? htmlReady($dozent->getFullname()) : '' ?></li>
+ <li><?= $dozent instanceof User ? htmlReady($dozent->getFullName()) : '' ?></li>
<? endforeach ?>
</ul>
<? endif ?>
diff --git a/app/views/course/timesrooms/editDate.php b/app/views/course/timesrooms/editDate.php
index 13a699a..30d1090 100644
--- a/app/views/course/timesrooms/editDate.php
+++ b/app/views/course/timesrooms/editDate.php
@@ -130,7 +130,7 @@
<?= Avatar::getAvatar($teacher->user_id)->getImageTag(Avatar::SMALL) ?>
</span>
<span class="studip-selection-label">
- <?= htmlReady($teacher->getFullname()) ?>
+ <?= htmlReady($teacher->getFullName()) ?>
</span>
</li>
<? endforeach ?>
diff --git a/app/views/course/wizard/steps/basicdata/_user.php b/app/views/course/wizard/steps/basicdata/_user.php
index 320ec7c..9c87659 100644
--- a/app/views/course/wizard/steps/basicdata/_user.php
+++ b/app/views/course/wizard/steps/basicdata/_user.php
@@ -1,5 +1,5 @@
<div class="<?= $class ?>">
<input type="hidden" name="<?= $inputname ?>[<?= $user->id ?>]" value="1" id="<?= $user->id ?>"/>
- <?= htmlReady($user->getFullname('full_rev')) ?> (<?= htmlReady($user->username) ?>)
+ <?= htmlReady($user->getFullName('full_rev')) ?> (<?= htmlReady($user->username) ?>)
<?= Icon::create('trash', 'clickable')->asInput(["name" => 'remove_'.$class.'['.$user->id.']', "onclick" => "return STUDIP.CourseWizard.removePerson('".$user->id."')"]) ?>
</div>
diff --git a/app/views/course/wizard/summary.php b/app/views/course/wizard/summary.php
index 423ad18..5217bac 100644
--- a/app/views/course/wizard/summary.php
+++ b/app/views/course/wizard/summary.php
@@ -24,7 +24,7 @@
sprintf(
'<a data-dialog href="%s">%s</a>',
URLHelper::getLink('dispatch.php/course/details', ['sem_id' => $source_course->id]),
- htmlReady($source_course->getFullname())
+ htmlReady($source_course->getFullName())
)
) ?>
</label>
diff --git a/app/views/file/choose_file_from_course.php b/app/views/file/choose_file_from_course.php
index 968d78c..7ebf73a 100644
--- a/app/views/file/choose_file_from_course.php
+++ b/app/views/file/choose_file_from_course.php
@@ -49,7 +49,7 @@ if (Request::get('range_type')) {
</td>
<td>
<a href="<?= $controller->link_for('file/choose_file_from_course/' . $folder_id, array_merge($options, ['course_id' => $course->id])) ?>" data-dialog>
- <?= htmlReady($course->getFullname()) ?>
+ <?= htmlReady($course->getFullName()) ?>
</a>
</td>
<td>
diff --git a/app/views/file/choose_folder_from_course.php b/app/views/file/choose_folder_from_course.php
index 27bcb09..413a920 100644
--- a/app/views/file/choose_folder_from_course.php
+++ b/app/views/file/choose_folder_from_course.php
@@ -55,7 +55,7 @@ jQuery(function ($) {
name="course_id"
value="<?= htmlReady($course->id) ?>"
class="undecorated">
- <?= htmlReady($course->getFullname()) ?>
+ <?= htmlReady($course->getFullName()) ?>
</button>
</td>
<td data-sort-value="<?= htmlReady($course->getTextualSemester()) ?>">
diff --git a/app/views/files_dashboard/_search_tr.php b/app/views/files_dashboard/_search_tr.php
index e8e7010..60c5671 100644
--- a/app/views/files_dashboard/_search_tr.php
+++ b/app/views/files_dashboard/_search_tr.php
@@ -67,7 +67,7 @@
<?= $controller->markPhrase($searchResult['folder']->message->subject, $query->getQuery()) ?>
<? elseif ($searchResult['folder']->range_type === 'user') : ?>
<?= _('Öffentlicher Dateibereich') ?>:
- <?= $controller->markPhrase($searchResult['folder']->user->getFullname('full_rev_username'), $query->getQuery()) ?>
+ <?= $controller->markPhrase($searchResult['folder']->user->getFullName('full_rev_username'), $query->getQuery()) ?>
<? endif ?>
</a>
</td>
diff --git a/app/views/lti/content_item.php b/app/views/lti/content_item.php
index d686052..5284105 100644
--- a/app/views/lti/content_item.php
+++ b/app/views/lti/content_item.php
@@ -12,7 +12,7 @@
<select name="course_id" class="nested-select">
<? foreach ($courses as $course): ?>
<option value="<?= $course->id ?>">
- <?= htmlReady($course->getFullname('number-name-semester')) ?>
+ <?= htmlReady($course->getFullName('number-name-semester')) ?>
</option>
<? endforeach ?>
</select>
diff --git a/app/views/profile/seminare.php b/app/views/profile/seminare.php
index acb6714..b218eca 100644
--- a/app/views/profile/seminare.php
+++ b/app/views/profile/seminare.php
@@ -11,9 +11,9 @@
<? foreach ($seminar as $one) :?>
<a href="<?= URLHelper::getScriptLink('dispatch.php/course/details', ['sem_id' => $one->id])?>">
- <?= htmlReady($one->getFullname('number-name')) ?>
+ <?= htmlReady($one->getFullName('number-name')) ?>
<? if ($one->start_semester !== $one->end_semester) : ?>
- (<?= htmlReady($one->getFullname('sem-duration-name')) ?>)
+ (<?= htmlReady($one->getFullName('sem-duration-name')) ?>)
<? endif ?>
</a><br>
<?endforeach?>
diff --git a/app/views/questionnaire/question_types/vote/vote_evaluation.php b/app/views/questionnaire/question_types/vote/vote_evaluation.php
index 9d06055..bd6ce85 100644
--- a/app/views/questionnaire/question_types/vote/vote_evaluation.php
+++ b/app/views/questionnaire/question_types/vote/vote_evaluation.php
@@ -126,10 +126,10 @@ rsort($ordered_results);
) ?>">
<?= Avatar::getAvatar($user_id, $user->username)->getImageTag(
Avatar::SMALL,
- ['title' => $user->getFullname('no_title')]
+ ['title' => $user->getFullName('no_title')]
) ?>
<? if (count($results_users[$key]) < 4) : ?>
- <?= htmlReady($user->getFullname('no_title')) ?>
+ <?= htmlReady($user->getFullName('no_title')) ?>
<? endif ?>
</a>
<? endif ?>