Compare commits
No commits in common. "0b10cefcede2fb65508d2a896ddb9cb01cb089ae" and "79c0b0839715054639c073341704e508d5b895aa" have entirely different histories.
0b10cefced
...
79c0b08397
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
function cleanstring($string)
|
function cleanstring($string)
|
||||||
{
|
{
|
||||||
return iconv('UTF-8', 'UTF-8//TRANSLIT//IGNORE', strtolower($string));
|
return iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', strtolower($string));
|
||||||
}
|
}
|
||||||
|
|
||||||
function downloadall()
|
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="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><span># </span><input autocomplete="off" class="title" name="title" value="<?php echo $title; ?>"></div>
|
<div># <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,10 +159,7 @@
|
||||||
<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