diff --git a/index.php b/index.php index b1d0172..d023f47 100644 --- a/index.php +++ b/index.php @@ -130,7 +130,7 @@ { downloadall(); } - else if (isset($_POST['save']) || isset($_POST['home']) || isset($_POST['links']) || isset($_POST['stats']) || isset($_POST['download'])) + else if (isset($_POST['save']) || isset($_POST['home']) || isset($_POST['download'])) { $title = $_POST['title']; $content = $_POST['content']; diff --git a/note.php b/note.php index 81d8203..b98e4a1 100644 --- a/note.php +++ b/note.php @@ -3,24 +3,17 @@ - - - ' . $lines . ' ' . $words . ' ' . $chars . ' ' . $title . '.md'; - } - else if (isset($_POST['links'])) - { - echo linksdiv($content); - }?>
+ ' . $lines . ' ' . $words . ' ' . $chars . ' ' . $title . '.md'; + echo linksdiv($content); + ?> diff --git a/readme.md b/readme.md index 3db706f..a4b9434 100644 --- a/readme.md +++ b/readme.md @@ -21,8 +21,6 @@ No javascript. | home (default action) | save and back to home | alt-h | | save | save | alt-s | | preview | save and show markdown preview | alt-p | -| links | save and show links | alt-l | -| stats | save and show stats | alt-i | | delete | delete (rename as .del) | alt-d | | Url params | action |