Strona 1 z 1
ShoutBox by przemo - problem ucina pisany txt
: 28 czerwca 2007, 07:32
autor: AKURAT
Mam problem z shotuboxem. Ucina mi dolna czesc textu wpisywanego do "Wpisz wiadomość:"
wyglada to tak:
http://img181.imageshack.us/my.php?imag ... 053bw3.jpg
czy jest na to jakis sposob ?
ps. zmiana wielkosci z pa nie pomaga
z gory dzieki za pomoc !!
: 28 czerwca 2007, 08:36
autor: daroPL
Poszerz w pliku shoutbox_send_body.tpl lub shoutbox_view_body.tpl wysokość tego pola, a lbo wklej tą cześć kodu tutaj.
: 28 czerwca 2007, 10:01
autor: AKURAT
hmmm
shoutbox_send_body.tpl:
Kod: Zaznacz cały
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="templates/fiblack3d/fiblack3d.css" type="text/css" />
<script language="JavaScript">
<!--
function submitonce()
{
document.post.msg.value = document.post.message.value;
document.post.message.value = "";
}
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4" />
<table class="formarea" width="100%" cellpadding="0" cellspacing="0">
<form name="post" action="{SHOUTBOX_ACTION}" method="POST" target="ekran" autocomplete=off onsubmit="submitonce()">
<tr>
<td class="row1" align="center" valign="bottom" nowrap><span class="gensmall">
<input type="hidden" name="name" value="{NICK}">
<input type="hidden" name="sb_user_id" value="{SB_USER_ID}">
{L_GG_MES}: <input type="text" name="message" style="height:15px" size="60" maxlength="{MAXLENGHT}" " value="" class="post">
<input type="hidden" name="msg" value="">
<input type="hidden" name="mode" value="submit">
<input type="submit" name="submit_button" value="{L_SEND}" style="font-size:9px; height:16px;" class="button"></span>
</td>
<td class="row1" align="right" nowrap><span class="gensmall">{SB_HIDE}</span></td>
</form>
</tr>
</table>
</body>
</html>
shoutbox_view_body.tpl:
Kod: Zaznacz cały
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="templates/fiblack3d/fiblack3d.css" type="text/css" />
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4" onload="window.scrollTo(0,99999);" />
<!-- BEGIN shoutrow -->
<table cellpadding="2" cellspacing="0" border="0" class="table0" width="100%">
<tr>
<td class="{shoutrow.ROW_CLASS}" width="100%"><span class="gensmall">
<font style="font-size:9px; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif">{shoutrow.DELMSG} {shoutrow.EDITMSG} {shoutrow.DATE} </font>
<b>{shoutrow.NAME}: </b>{shoutrow.MSG}</span></td>
</tr>
</table>
<!-- END shoutrow -->
</body>
</html>
: 28 czerwca 2007, 10:17
autor: daroPL
Do shoutbox_send_body.tpl
Kod: Zaznacz cały
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="templates/fiblack3d/fiblack3d.css" type="text/css" />
<script language="JavaScript">
<!--
function submitonce()
{
document.post.msg.value = document.post.message.value;
document.post.message.value = "";
}
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4" />
<table class="formarea" width="100%" cellpadding="0" cellspacing="0">
<form name="post" action="{SHOUTBOX_ACTION}" method="POST" target="ekran" autocomplete=off onsubmit="submitonce()">
<tr>
<td class="row1" align="center" valign="bottom" nowrap><span class="gensmall">
<input type="hidden" name="name" value="{NICK}">
<input type="hidden" name="sb_user_id" value="{SB_USER_ID}">
{L_GG_MES}: <input type="text" name="message" style="height:20px" size="60" maxlength="{MAXLENGHT}" " value="" class="post">
<input type="hidden" name="msg" value="">
<input type="hidden" name="mode" value="submit">
<input type="submit" name="submit_button" value="{L_SEND}" style="font-size:9px; height: 20px;" class="button"></span>
</td>
<td class="row1" align="right" nowrap><span class="gensmall">{SB_HIDE}</span></td>
</form>
</tr>
</table>
</body>
</html>
: 28 czerwca 2007, 10:31
autor: AKURAT
oka wszystko trybi !!
dzieki slicznie