Browse Source

Add account security widget

tags/1.0beta
Skylar Ittner 2 years ago
parent
commit
7644a49c6f
2 changed files with 15 additions and 1 deletions
  1. 14
    0
      apps/account_security.php
  2. 1
    1
      pages.php

+ 14
- 0
apps/account_security.php View File

@@ -0,0 +1,14 @@
<?php

dieifnotloggedin();
addMultiLangStrings(["en_us" => [
"manage account security" => "Manage account security",
"manage security description" => "Review security features or change your password."
]
]);
$APPS["account_security"]["i18n"] = TRUE;
$APPS["account_security"]["title"] = "account security";
$APPS["account_security"]["icon"] = "key";
$content = "<p>" . lang("manage security description", false) . '</p> <a href="home.php?page=security" class="btn btn-primary btn-block">' . lang("manage account security", false) . '</a>';
$APPS["account_security"]["content"] = $content;
?>

+ 1
- 1
pages.php View File

@@ -18,7 +18,7 @@ define("APPS", [
"home" => [
"taskfloor_tasks",
"taskfloor_messages",
"sample_app"
"account_security"
],
"security" => [
"change_password",

Loading…
Cancel
Save