summaryrefslogtreecommitdiff
path: root/src/web/_controller
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-04-05 15:00:27 -0400
committerFreya Murphy <freya@freyacat.org>2024-04-05 15:00:27 -0400
commit4c8d58b646ac62e67fc34c12f8cad51e7512bee3 (patch)
tree432351cce0acccd9a986872f7ea020dae14b0c71 /src/web/_controller
parentuser menu (diff)
downloadxssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.tar.gz
xssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.tar.bz2
xssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.zip
add en_CAT makefile and use ucfirst/ucwords
Diffstat (limited to 'src/web/_controller')
-rw-r--r--src/web/_controller/modal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/_controller/modal.php b/src/web/_controller/modal.php
index 03074d4..40a2b42 100644
--- a/src/web/_controller/modal.php
+++ b/src/web/_controller/modal.php
@@ -11,7 +11,7 @@ class Modal_controller extends Controller {
* @param array $data
*/
private function modal($name, $data = array()): void {
- $title = lang($name . '_modal_title');
+ $title = ucwords(lang($name . '_modal_title'));
$data['title'] = $title;
$data['content'] = $name;
$this->view('template/modal', $data);