From 0d5738a2bc9dd4f5edf582f7cea3614bcbb44842 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 2 Feb 2025 12:23:02 +0200 Subject: feat!(views): Rename profile to user --- views/profile/authenticate.php | 24 -------------- views/profile/index.php | 73 ------------------------------------------ views/profile/meta.php | 4 --- 3 files changed, 101 deletions(-) delete mode 100644 views/profile/authenticate.php delete mode 100644 views/profile/index.php delete mode 100644 views/profile/meta.php (limited to 'views/profile') diff --git a/views/profile/authenticate.php b/views/profile/authenticate.php deleted file mode 100644 index e4cf47e..0000000 --- a/views/profile/authenticate.php +++ /dev/null @@ -1,24 +0,0 @@ -Username; -} -catch(Exception $e) { - http_response_code(401); - header('Content-Type: text/plain'); - echo 'Bad token!'; -} - -exit; diff --git a/views/profile/index.php b/views/profile/index.php deleted file mode 100644 index 1462e26..0000000 --- a/views/profile/index.php +++ /dev/null @@ -1,73 +0,0 @@ - - - -
- icon(); ?> -

Username ?>

-
- -
- - - - - -
- archives() as $page) { - include $VIEWS_DIR . '/archive/item.php'; - } - include_once $VIEWS_DIR . '/archive/item_show.php'; - ?> -
- - - - - - -

User "" doesn't exist!

- diff --git a/views/profile/meta.php b/views/profile/meta.php deleted file mode 100644 index 52764ef..0000000 --- a/views/profile/meta.php +++ /dev/null @@ -1,4 +0,0 @@ -