forked from hummypkg/webif
Reduce (or apply) maximum lengths for title and synopsis, allowing for character set prefix byte
This commit is contained in:
parent
2e471129b8
commit
d05f841bb4
@ -103,6 +103,8 @@ if {[llength $plugins(dmenu)]} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# the maxlength values for title and synopsis are 1 less than the maximum to
|
||||||
|
# allow for an extra byte to indicate character encoding (see rename.jim)
|
||||||
puts {
|
puts {
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@ -131,7 +133,7 @@ puts {
|
|||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
<input type=text name="rename_title" id="rename_title"
|
<input type=text name="rename_title" id="rename_title"
|
||||||
value="" size=70 maxlength=48
|
value="" size=70 maxlength=47
|
||||||
class="text ui-widget-content ui-corner-all">
|
class="text ui-widget-content ui-corner-all">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -144,7 +146,7 @@ puts {
|
|||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="rename_synopsis" id="rename_synopsis"
|
<textarea name="rename_synopsis" id="rename_synopsis"
|
||||||
value="" cols=70 rows=4
|
value="" cols=70 rows=4 maxlength=251
|
||||||
class="text ui-widget-content ui-corner-all"></textarea>
|
class="text ui-widget-content ui-corner-all"></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user