diff --git a/bin/nav.js b/bin/nav.js index 157dc97..94b4461 100644 --- a/bin/nav.js +++ b/bin/nav.js @@ -15,4 +15,7 @@ $(document).ready(function(){ $("#logout").click(function(){ window.location.href = "/php/logout.php"; }); + $("#settings").click(function(){ + window.location.href = "/settings"; + }); }); diff --git a/cont/settings.php b/cont/settings.php new file mode 100644 index 0000000..e69de29 diff --git a/index.php b/index.php index 0f7a572..6cfadee 100644 --- a/index.php +++ b/index.php @@ -44,6 +44,10 @@ include $_SESSION["docroot"].'/cont/list.php'; break; + case "settings": + include $_SESSION["docroot"].'/cont/settings.php'; + break; + case "recipes": include $_SESSION["docroot"].'/cont/recipes.php'; break;