mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Ajax/Debug
* be a lot more verbose when errors are occuring (to staff anyway) * made hardcoded error messages for comments localizable * add error messages from posting comments to session to be displayed on next page update
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
<li><div>Deberías corregir tus comentarios antes de enviarlos.</div></li>
|
||||
</ul>
|
||||
<?php
|
||||
echo $this->coError ? ' <div class="msg-failure">'.$this->coError."</div>\n <div class=\"pad\"></div>\n" : '';
|
||||
|
||||
if (User::canComment()):
|
||||
?>
|
||||
<form name="addcomment" action="?comment=add&type=<?php echo $this->type.'&typeid='.$this->typeId; ?>" method="post" onsubmit="return co_validateForm(this)">
|
||||
|
||||
Reference in New Issue
Block a user