feat: configure cue points analysis per track type

This commit is contained in:
jo 2023-02-10 22:55:54 +01:00 committed by Kyle Robbertze
parent 3a9ca109c3
commit f5e46c6f3d
22 changed files with 246 additions and 42 deletions

View file

@ -53,6 +53,12 @@ class Application_Form_AddTracktype extends Zend_Form
$visibility->setRequired(true);
$this->addElement($visibility);
$analyze_cue_points = new Zend_Form_Element_Checkbox('analyze_cue_points');
$analyze_cue_points->setLabel(_('Analyze cue points:'));
$analyze_cue_points->setAttrib('checked', true);
$analyze_cue_points->setRequired(true);
$this->addElement($analyze_cue_points);
$saveBtn = new Zend_Form_Element_Button('save_tracktype');
$saveBtn->setAttrib('class', 'btn right-floated');
$saveBtn->setIgnore(true);