2024-03-06 08:33:44 +01:00
|
|
|
<form action="index.php" method="POST">
|
|
|
|
<div>
|
|
|
|
<input type="submit" name="home" value="home" accesskey="h">
|
|
|
|
<input type="submit" name="save" value="save" accesskey="s">
|
2024-09-30 10:08:36 +02:00
|
|
|
<input type="submit" name="preview" value="preview" accesskey="p" formtarget="_blank">
|
2024-10-02 11:49:15 +02:00
|
|
|
<input type="submit" name="download" value="download" accesskey="d">
|
|
|
|
<input type="submit" name="delete" value="delete">
|
2024-03-15 15:11:51 +01:00
|
|
|
<input hidden name="lastchanged" value="<? echo $lastchanged; ?>">
|
2024-03-12 12:12:13 +01:00
|
|
|
<div><input autocomplete="off" class="title" name="title" value="<? echo $title; ?>"></div>
|
2024-03-06 08:33:44 +01:00
|
|
|
</div>
|
|
|
|
<div class="editor">
|
|
|
|
<textarea rows="<? echo $rows; ?>" autofocus name="content" spellcheck="false"><? echo $content; ?></textarea>
|
|
|
|
</div>
|
|
|
|
<input hidden name="previoustitle" value="<? echo $title; ?>">
|
2024-10-07 09:01:05 +02:00
|
|
|
<?php
|
|
|
|
echo '<div class="grey">' . $lines . ' ' . $words . ' ' . $chars . ' ' . $title . '.md</div>';
|
|
|
|
echo linksdiv($content);
|
|
|
|
?>
|
2024-03-06 08:33:44 +01:00
|
|
|
</form>
|