Compare commits

...

2 Commits

Author SHA1 Message Date
quenousimporte d96285fe50 remove: home link on home 2024-03-07 16:31:17 +01:00
quenousimporte c753e16390 remove: footer 2024-03-07 14:59:06 +01:00
2 changed files with 1 additions and 7 deletions

View File

@ -1,6 +1,5 @@
<form action="index.php" method="GET">
<div>
<input type="submit" name="home" value="home" accesskey="h">
<input type="submit" name="open" value="open" accesskey="o">
<input type="submit" name="search" value="search" accesskey="s">
<input type="submit" name="tags" value="tags" accesskey="t">

View File

@ -109,10 +109,7 @@
$content = file_get_contents($dir . '/' . $title);
}
$lines = substr_count($content, "\r\n") + 1;
$words = $lines + substr_count($content, " ");
$rows = max(20, $lines) * 2;
$length = strlen($content);
$rows = max(20, substr_count($content, "\r\n")) * 2;
require('note.php');
@ -140,8 +137,6 @@
}
echo '<br>';
}
echo '<span class="grey">' . $title . ' - ' . $now . ' - ' . $length . 'c - ' . $words . 'w - ' . $lines . 'l </span>';
}
else if ($nextpage == 'home')
{