increase character limit on board URI, title and subtitle

This commit is contained in:
Michael Save
2012-04-09 21:13:44 +10:00
parent 874b8cbf00
commit 033491f84f
6 changed files with 20 additions and 30 deletions

View File

@@ -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);

View File

@@ -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>' .