SAAS-1058: Podcast table schema
SAAS-1059: Add description field to cc_files
This commit is contained in:
parent
2d2ed25fcc
commit
28493497fd
32 changed files with 7660 additions and 18 deletions
|
@ -48,6 +48,16 @@ class Application_Form_EditAudioMD extends Zend_Form
|
|||
));
|
||||
$this->addElement($album_title);
|
||||
|
||||
// Description field
|
||||
$description = new Zend_Form_Element_Text('description');
|
||||
$description->class = 'input_text';
|
||||
$description->setLabel(_('Description:'))
|
||||
->setFilters(array('StringTrim'))
|
||||
->setValidators(array(
|
||||
new Zend_Validate_StringLength(array('max' => 512))
|
||||
));
|
||||
$this->addElement($description);
|
||||
|
||||
// Add track number field
|
||||
$track_number = new Zend_Form_Element('track_number');
|
||||
$track_number->class = 'input_text';
|
||||
|
|
|
@ -21,6 +21,7 @@ class Application_Form_SmartBlockCriteria extends Zend_Form_SubForm
|
|||
"copyright" => "s",
|
||||
"cuein" => "n",
|
||||
"cueout" => "n",
|
||||
"description" => "s",
|
||||
"artist_name" => "s",
|
||||
"encoded_by" => "s",
|
||||
"utime" => "n",
|
||||
|
@ -55,6 +56,7 @@ class Application_Form_SmartBlockCriteria extends Zend_Form_SubForm
|
|||
"copyright" => _("Copyright"),
|
||||
"cuein" => _("Cue In"),
|
||||
"cueout" => _("Cue Out"),
|
||||
"description" => _("Description"),
|
||||
"artist_name" => _("Creator"),
|
||||
"encoded_by" => _("Encoded By"),
|
||||
"genre" => _("Genre"),
|
||||
|
@ -489,6 +491,7 @@ class Application_Form_SmartBlockCriteria extends Zend_Form_SubForm
|
|||
"copyright" => "DbCopyright",
|
||||
"cuein" => "DbCuein",
|
||||
"cueout" => "DbCueout",
|
||||
"description" => "DbDescription",
|
||||
"encoded_by" => "DbEncodedBy",
|
||||
"utime" => "DbUtime",
|
||||
"mtime" => "DbMtime",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue