Compare commits
3 Commits
79c0b08397
...
0b10cefced
Author | SHA1 | Date |
---|---|---|
quenousimporte | 0b10cefced | |
quenousimporte | 610725ed89 | |
quenousimporte | 4a14757540 |
|
@ -3,7 +3,7 @@
|
|||
|
||||
function cleanstring($string)
|
||||
{
|
||||
return iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', strtolower($string));
|
||||
return iconv('UTF-8', 'UTF-8//TRANSLIT//IGNORE', strtolower($string));
|
||||
}
|
||||
|
||||
function downloadall()
|
||||
|
|
7
note.php
7
note.php
|
@ -142,7 +142,7 @@
|
|||
<input type="submit" name="download" value="download" accesskey="d">
|
||||
<input type="submit" name="delete" value="delete">
|
||||
<input hidden name="lastchanged" value="<?php echo $lastchanged; ?>">
|
||||
<div># <input autocomplete="off" class="title" name="title" value="<?php echo $title; ?>"></div>
|
||||
<div><span># </span><input autocomplete="off" class="title" name="title" value="<?php echo $title; ?>"></div>
|
||||
</div>
|
||||
<div class="editor">
|
||||
<textarea rows="<?php echo $rows; ?>" autofocus name="content" spellcheck="false"><?php echo $content; ?></textarea>
|
||||
|
@ -159,7 +159,10 @@
|
|||
<div <?php if(!isset($_GET['preview'])) echo 'hidden'; ?>>
|
||||
<div><a class="grey" href="note.php?title=<?php echo $title; ?>">back</a></div>
|
||||
<?php
|
||||
echo computepreview($title, $content);
|
||||
if (isset($_GET['preview']))
|
||||
{
|
||||
echo computepreview($title, $content);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue