diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/display.php | 2 | ||||
| -rw-r--r-- | inc/mod.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/inc/display.php b/inc/display.php index 8be431aa..ef6d1efc 100644 --- a/inc/display.php +++ b/inc/display.php @@ -122,7 +122,7 @@ $body = html_entity_decode($body, ENT_COMPAT, 'UTF-8'); // calculate strlen() so we can add "..." after if needed - $strlen = strlen($body); + $strlen = mb_strlen($body); $body = substr($body, 0, $len); diff --git a/inc/mod.php b/inc/mod.php index f2e52b21..43ed760d 100644 --- a/inc/mod.php +++ b/inc/mod.php @@ -213,17 +213,17 @@ '<table>' . '<tr>' . '<th><label for="board">URI</label></th>' . - '<td><input type="text" name="uri" id="board" size="10" maxlength="15" />' . + '<td><input type="text" name="uri" id="board" size="10" />' . ' <span class="unimportant">(eg. "b"; "mu")</span></td>' . '</tr>' . '<tr>' . '<th><label for="title">Title</label></th>' . - '<td><input type="text" name="title" id="title" size="25" maxlength="40" />' . + '<td><input type="text" name="title" id="title" size="25" />' . ' <span class="unimportant">(eg. "Random")</span></td>' . '</tr>' . '<tr>' . '<th><label for="subtitle">Subtitle</label></th>' . - '<td><input type="text" name="subtitle" id="subtitle" size="25" maxlength="120" />' . + '<td><input type="text" name="subtitle" id="subtitle" size="25" />' . ' <span class="unimportant">(optional)</span></td>' . '</tr>' . '<tr>' . |
