aboutsummaryrefslogtreecommitdiff
path: root/templates
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 /templates
parentf2f70529462f10f08d7a0ca57bfb50c80e645fa4 (diff)
replaced getFullname with getFullName, re #3499
Merge request studip/studip!2660
Diffstat (limited to 'templates')
-rw-r--r--templates/admission/userlist.php2
-rw-r--r--templates/blubber/course_context.php2
-rw-r--r--templates/courseware/mails/certificate.php2
-rw-r--r--templates/filesystem/topic_folder/description.php2
-rw-r--r--templates/header.php4
5 files changed, 6 insertions, 6 deletions
diff --git a/templates/admission/userlist.php b/templates/admission/userlist.php
index 872d691..6ce2af2 100644
--- a/templates/admission/userlist.php
+++ b/templates/admission/userlist.php
@@ -9,7 +9,7 @@
<ul>
<? foreach ($userlist->getUsers(true) as $user): ?>
<li>
- <?= htmlReady($user->getFullname('full_rev')) ?>
+ <?= htmlReady($user->getFullName('full_rev')) ?>
(<?= htmlReady($user->username) ?>)
</li>
<? endforeach; ?>
diff --git a/templates/blubber/course_context.php b/templates/blubber/course_context.php
index 206397a..e611992 100644
--- a/templates/blubber/course_context.php
+++ b/templates/blubber/course_context.php
@@ -22,7 +22,7 @@
<h4><?= _('Nächster Termin') ?></h4>
<a href="<?= URLHelper::getLink("dispatch.php/course/dates/details/".$nextdate->getId(), ['cid' => $course->id]) ?>" data-dialog="size=auto">
<?= Icon::create('date')->asImg(['class' => "text-bottom"]) ?>
- <?= htmlReady($nextdate->getFullname()) ?>
+ <?= htmlReady($nextdate->getFullName()) ?>
</a>
</div>
<? endif ?>
diff --git a/templates/courseware/mails/certificate.php b/templates/courseware/mails/certificate.php
index 1e948be..c24f96a 100644
--- a/templates/courseware/mails/certificate.php
+++ b/templates/courseware/mails/certificate.php
@@ -5,7 +5,7 @@
<?= htmlReady($unit->config['certificate']['title']) ?>
</h1>
<h2 style="font-size: 14px; text-align: center">
- <?= sprintf(_('für %s'), htmlReady($user->getFullname())) ?>
+ <?= sprintf(_('für %s'), htmlReady($user->getFullName())) ?>
</h2>
<p style="font-size: 14px; text-align: center;">
<?= $unit->config['certificate']['text'] ?>
diff --git a/templates/filesystem/topic_folder/description.php b/templates/filesystem/topic_folder/description.php
index c0e80bd..b80740f 100644
--- a/templates/filesystem/topic_folder/description.php
+++ b/templates/filesystem/topic_folder/description.php
@@ -7,7 +7,7 @@
<?= _('(Studierende dürfen keine Dateien hochladen.)')?>
<? endif ?>
<? endif ?>
- <?$dates = isset($topic) ? $topic->dates->getFullname() : [];?>
+ <?$dates = isset($topic) ? $topic->dates->getFullName() : [];?>
<? if (count($dates)) :?>
<?=_('Folgende Termine sind diesem Thema zugeordnet:') ?>
<div>
diff --git a/templates/header.php b/templates/header.php
index 73e3713..5ff5a1f 100644
--- a/templates/header.php
+++ b/templates/header.php
@@ -76,7 +76,7 @@ if ($navigation) {
$hasSidebar = false;
} ?>
<responsive-navigation :me="<?= htmlReady(json_encode($me)) ?>"
- context="<?= htmlReady(Context::get() ? Context::get()->getFullname() : '') ?>"
+ context="<?= htmlReady(Context::get() ? Context::get()->getFullName() : '') ?>"
:has-sidebar="<?= $hasSidebar ? 'true' : 'false' ?>"
:navigation="<?= htmlReady(json_encode(ResponsiveHelper::getNavigationObject($_COOKIE['responsive-navigation-hash'] ?? null))) ?>"
></responsive-navigation>
@@ -290,7 +290,7 @@ if ($navigation) {
<div id="context-title">
<? if (Context::isCourse()) : ?>
<?= Icon::create('seminar', Icon::ROLE_INFO)->asImg(20, ['class' => 'context_icon']) ?>
- <?= htmlReady(Context::get()->getFullname()) ?>
+ <?= htmlReady(Context::get()->getFullName()) ?>
<? if ($GLOBALS['user']->config->SHOWSEM_ENABLE && !Context::get()->isOpenEnded()): ?>
(<?= htmlReady(Context::get()->getTextualSemester()) ?>)
<? endif ?>