diff --git a/chat.php b/chat.php index afbea47..3a6f4cb 100644 --- a/chat.php +++ b/chat.php @@ -1373,21 +1373,40 @@ function send_messages(){ print_start('messages', $U['refresh'], "$_SERVER[SCRIPT_NAME]?action=view&session=$U[session]&lang=$language$nocache$sort"); echo '
<$H[form]>$H[commonform]".hidden('action', 'inbox'); - echo submit(sprintf($I['inboxmsgs'], $tmp[0])).'
'; + echo "$I[bottom]"; + if(!$U['sortupdown']){ + echo '<$H[form]>$H[commonform]".hidden('action', 'inbox'); + echo submit(sprintf($I['inboxmsgs'], $tmp[0])).'
'; + } } + print_messages(); + }else{ + echo '<$H[form]>$H[commonform]".hidden('action', 'inbox'); + echo submit(sprintf($I['inboxmsgs'], $tmp[0])).'
'; + } + } + echo '