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); - }?>