*** iCommento2 ***

{err}
: [[ id: nome, kind: username, canmodify: true ]]
: [[ id: commento, kind: TextArea, rows: 10, cols: 60]]
{:if:notempty:vote}
Voto: {vote}
{:endif}
{:if:notempty:captcha}
{captcha} {:endif}
[[ id: btnSubmit, kind: Submit, value: 'Invia', class: AdminPageFooterCommandButton ]]
[[_onformaterrors{ D('Errori!', $ev->FormValues()); var_dump(func_get_arg(1)); var_dump(func_get_arg(2)); return "KAPPA"; }]] [[onvalidate{ $v = $ev->FormValues(); $rv = array(); if (empty($v['nome'])) $rv['nome'] = 'E\' necessario inserire un nome'; if (empty($v['commento'])) $rv['commento'] = 'Per favore, inserisci un commento'; return $rv; }]] [[oncomplete{ return '
Ti ringraziamo per avere insertito il commento. Esso sarą visibile al pił presto, compatibilmente con la netiquette
'; }]]