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">
|
<link rel="stylesheet" type="text/css" href="style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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>
|
<div>
|
||||||
<input type="submit" name="new" value="new" accesskey="n" form="note">
|
<a href="note.php?new" class="grey" accesskey="n">new</a>
|
||||||
<input type="submit" name="download" value="download" accesskey="d" form="home">
|
<a href="index.php?download" class="grey" accesskey="d">download</a>
|
||||||
<br>
|
<form action="index.php" method="GET" id="home">
|
||||||
<input placeholder="search..." autofocus autocomplete="off" class="title" name="filter" value="<?php echo $filter; ?>" form="home">
|
<input hidden type="submit">
|
||||||
|
<input placeholder="filter..." autofocus autocomplete="off" class="title" name="filter" value="<?php echo $filter; ?>" form="home">
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@ -67,4 +64,4 @@
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
6
note.php
6
note.php
|
@ -112,14 +112,10 @@
|
||||||
|
|
||||||
<!-- preview -->
|
<!-- preview -->
|
||||||
<div <? if(!isset($_GET['preview'])) echo 'hidden'; ?>>
|
<div <? if(!isset($_GET['preview'])) echo 'hidden'; ?>>
|
||||||
<form action="note.php" method="GET">
|
<div><a class="grey" href="note.php?title=<? echo $title; ?>">back</a></div>
|
||||||
<input type="submit" value="back">
|
|
||||||
<input hidden name="title" value="<? echo $title; ?>">
|
|
||||||
</form>
|
|
||||||
<?
|
<?
|
||||||
echo computepreview($title, $content);
|
echo computepreview($title, $content);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue