Changeset 41
- Timestamp:
- 10/31/06 02:18:46 (16 years ago)
- Location:
- dev/common
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/comments.php
r39 r41 78 78 79 79 $html .= "<div><form id=\"postform\" name=\"postform\" method=\"post\" action=\"?a=kill_detail&kll_id=".$kill->getID()."\">"; 80 $html .= "<br><b>Add Comment:</b><br><textarea class=\"comment\" name=\"comment\" cols=\"55\" rows=\"5\" wrap=\"PHYSICAL\" on Keypress=\"limitText(this.form.comment,this.form.countdown,200);\"></textarea><br>";81 $html .= "< input readonly type=\"text\" name=\"countdown\" id=\"countdown\" size=\"1\" value=\"200\">Letters left<br/>";80 $html .= "<br><b>Add Comment:</b><br><textarea class=\"comment\" name=\"comment\" cols=\"55\" rows=\"5\" wrap=\"PHYSICAL\" onkeyup=\"limitText(this.form.comment,document.getElementById('countdown'),200);\" onkeypress=\"limitText(this.form.comment,document.getElementById('countdown'),200);\"></textarea><br>"; 81 $html .= "<span name=\"countdown\" id=\"countdown\">200</span> Letters left<br/>"; 82 82 $html .= "<b>Name:</b>"; 83 83 $html .= "<input style=\"position:relative; right:-3px;\" class=\"comment-button\" name=\"name\" type=\"text\" size=\"24\" maxlength=\"24\"> "; -
dev/common/generic.js
r16 r41 22 22 { 23 23 limitField.value = limitField.value.substring(0, limitNum); 24 limitCount.innerHTML = "0"; 24 25 } 25 26 else 26 27 { 27 limitCount. value= limitNum - limitField.value.length;28 limitCount.innerHTML = limitNum - limitField.value.length; 28 29 } 29 30 }