PHP скрипт сейчас посмотрел, изменил, все равно не работает как надо... вот что вышло:
protected function _editSave()
{
/* init */
$imageid = intval( $this->request['imageid'] );
$caption = trim( $this->request['caption'] );
$description = trim( IPSText::br2nl( IPSText:

arseCleanValue( $_POST['description'] ) ) );
$copyright = trim( $this->request['copyright'] );
/* Make sure we have everything */
if( !$caption )
{
$this->returnString( $this->lang->words['gerror_no_title'] );
}
/* send it packing */
$result = $this->_moderate->editSave( $imageid, $caption, $description, $copyright );
/* Update deebee */
if ( $result === false )
{
return $this->returnString('no_permission');
}
return $this->returnJsonArray( $result );
}
Вместо смайлика : P без пробела