CLRF
This commit is contained in:
parent
634eb40a0c
commit
19ba788bae
|
@ -119,14 +119,14 @@ class PlayouthistoryController extends Zend_Controller_Action
|
|||
unset($this->view->form);
|
||||
}
|
||||
|
||||
public function createListItemAction()
|
||||
{
|
||||
public function createListItemAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$params = $request->getPost();
|
||||
Logging::info($params);
|
||||
|
||||
$historyService = new Application_Service_HistoryService();
|
||||
$historyService->createPlayedItem($params);
|
||||
Logging::info($params);
|
||||
|
||||
$historyService = new Application_Service_HistoryService();
|
||||
$historyService->createPlayedItem($params);
|
||||
}
|
||||
|
||||
public function editListItemAction()
|
||||
|
|
|
@ -4,19 +4,19 @@ class Application_Form_EditHistoryItem extends Zend_Form
|
|||
{
|
||||
public function init() {
|
||||
|
||||
$file_id = new Zend_Form_Element_Hidden('his_file_id');
|
||||
$file_id->setValidators(array(
|
||||
new Zend_Validate_Int()
|
||||
));
|
||||
$this->addElement($file_id);
|
||||
|
||||
|
||||
/* Title form element */
|
||||
$title = new Zend_Form_Element_Text('his_file_title');
|
||||
$title->setLabel(_('Title:'));
|
||||
$title->setAttrib('class', 'input_text');
|
||||
$title->addFilter('StringTrim');
|
||||
//$title->setDecorators(array('viewHelper'));
|
||||
$file_id = new Zend_Form_Element_Hidden('his_file_id');
|
||||
$file_id->setValidators(array(
|
||||
new Zend_Validate_Int()
|
||||
));
|
||||
$this->addElement($file_id);
|
||||
|
||||
|
||||
/* Title form element */
|
||||
$title = new Zend_Form_Element_Text('his_file_title');
|
||||
$title->setLabel(_('Title:'));
|
||||
$title->setAttrib('class', 'input_text');
|
||||
$title->addFilter('StringTrim');
|
||||
//$title->setDecorators(array('viewHelper'));
|
||||
$this->addElement($title);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue