From 3a82baec9d793edf81ac2b151b0f4d4159641375 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 1 Apr 2024 11:09:25 -0400 Subject: login and register, liking on homepage --- src/web/_controller/modal.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/web/_controller/modal.php (limited to 'src/web/_controller/modal.php') diff --git a/src/web/_controller/modal.php b/src/web/_controller/modal.php new file mode 100644 index 0000000..03074d4 --- /dev/null +++ b/src/web/_controller/modal.php @@ -0,0 +1,34 @@ +view('template/modal', $data); + } + + public function new_post(): void { + $this->modal('new_post'); + } + + public function register(): void { + $this->load->app_lang( + $this->main->info['lang'], + 'auth' + ); + $this->modal('register'); + } +} + +?> + -- cgit v1.2.3-freya