root/trunk/app/views/podcasts/admin_add.ctp

Revision 929, 1.4 kB (checked in by aarkerio, 5 days ago)

Udate users

Line 
1<?php
2  echo $html->addCrumb('Control Panel', '/admin/entries/start');
3  echo $html->addCrumb('Podcasts', '/admin/podcasts/listing');
4  echo $html->getCrumbs(' > ');
5 
6  echo $html->div('title_section', __('Add new podcast', true));
7 
8  echo $form->create('Podcast', array("enctype"=>"multipart/form-data") );
9?>
10<fieldset>
11  <legend><?php __('New podcast'); ?></legend> 
12<?php
13  echo $form->label('Podcast.file', __('MP3 File', true));
14  echo $form->file('Podcast.file');
15   
16  echo $form->label('Podcast.status', __('Published', true));
17  echo $form->checkbox('Podcast.status');
18 
19  echo $form->label('Podcast.adult', __('Adult language', true));
20  echo $form->checkbox('Podcast.adult');
21 
22  echo $form->label('Podcast.karanet', 'Share on Knet');
23  echo $form->checkbox('Podcast.karanet');
24 
25  echo $form->input('Podcast.created', array('type'=>'date','label'=>__('Created', true), 'dateFormat'=>'DMY'));
26 
27  echo $form->label( 'Podcast.subject_id', __('Subject', true)) .'<br />';
28  echo $form->select('Podcast.subject_id', $subjects, null, array(), false);
29 
30  echo $form->input('Podcast.title', array('size' => 25, 'maxlength' => 50, 'label'=>__('Title', true)));
31 
32  echo $form->label('Podcast.description', __('Description', true));
33  echo $form->textarea('Podcast.description', array('rows'=>8, "cols"=>40));
34 
35  echo $form->end(__('Upload', true));
36?>
37</fieldset>
Note: See TracBrowser for help on using the browser.