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