use plain links when possible
This commit is contained in:
parent
f3c3ddd2a6
commit
5e61fba372
17
index.php
17
index.php
|
@ -25,16 +25,13 @@
|
|||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<form action="index.php" method="GET" id="home">
|
||||
<input hidden type="submit" accesskey="h">
|
||||
</form>
|
||||
<form action="note.php" method="GET" id="note"></form>
|
||||
|
||||
<div>
|
||||
<input type="submit" name="new" value="new" accesskey="n" form="note">
|
||||
<input type="submit" name="download" value="download" accesskey="d" form="home">
|
||||
<br>
|
||||
<input placeholder="search..." autofocus autocomplete="off" class="title" name="filter" value="<?php echo $filter; ?>" form="home">
|
||||
<a href="note.php?new" class="grey" accesskey="n">new</a>
|
||||
<a href="index.php?download" class="grey" accesskey="d">download</a>
|
||||
<form action="index.php" method="GET" id="home">
|
||||
<input hidden type="submit">
|
||||
<input placeholder="filter..." autofocus autocomplete="off" class="title" name="filter" value="<?php echo $filter; ?>" form="home">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
@ -67,4 +64,4 @@
|
|||
?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
6
note.php
6
note.php
|
@ -112,14 +112,10 @@
|
|||
|
||||
<!-- preview -->
|
||||
<div <? if(!isset($_GET['preview'])) echo 'hidden'; ?>>
|
||||
<form action="note.php" method="GET">
|
||||
<input type="submit" value="back">
|
||||
<input hidden name="title" value="<? echo $title; ?>">
|
||||
</form>
|
||||
<div><a class="grey" href="note.php?title=<? echo $title; ?>">back</a></div>
|
||||
<?
|
||||
echo computepreview($title, $content);
|
||||
?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Reference in New Issue