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-03-06 22:21:08 +01:00
|
|
|
<input type="submit" name="delete" value="delete" accesskey="d">
|
|
|
|
<input type="submit" name="preview" value="preview" accesskey="p">
|
2024-03-11 13:58:27 +01:00
|
|
|
<span class="grey"><?echo $lines; ?> lines</span>
|
|
|
|
<span class="grey"><?echo $words; ?> words</span>
|
|
|
|
<span class="grey"><?echo $chars; ?> chars</span>
|
2024-03-06 08:33:44 +01:00
|
|
|
<br>
|
|
|
|
<input autocomplete="off" class="title" name="title" value="<? echo $title; ?>">
|
|
|
|
</div>
|
|
|
|
<div class="editor">
|
|
|
|
<textarea rows="<? echo $rows; ?>" autofocus name="content" spellcheck="false"><? echo $content; ?></textarea>
|
|
|
|
</div>
|
|
|
|
<input hidden name="previoustitle" value="<? echo $title; ?>">
|
|
|
|
</form>
|