Manu_youtbue_video_upload - Version 1.1.2

Version Notes

Video upload extension allow to video. video Gallery allow to play your youtube video gallery on your website

Download this release

Release Info

Developer Manvendra Sharma
Extension Manu_youtbue_video_upload
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

Files changed (27) hide show
  1. app/code/local/Manu/Video/Block/Adminhtml/Video.php +0 -12
  2. app/code/local/Manu/Video/Block/Adminhtml/Video/13.09.201.Grid.php +0 -116
  3. app/code/local/Manu/Video/Block/Adminhtml/Video/13.09.2013.Edit.php +0 -45
  4. app/code/local/Manu/Video/Block/Adminhtml/Video/Edit.php +0 -45
  5. app/code/local/Manu/Video/Block/Adminhtml/Video/Edit/Form.php +0 -19
  6. app/code/local/Manu/Video/Block/Adminhtml/Video/Edit/Tab/13.09.2013Form.php +0 -58
  7. app/code/local/Manu/Video/Block/Adminhtml/Video/Edit/Tab/Form.php +0 -54
  8. app/code/local/Manu/Video/Block/Adminhtml/Video/Edit/Tabs.php +0 -24
  9. app/code/local/Manu/Video/Block/Adminhtml/Video/Grid.php +0 -116
  10. app/code/local/Manu/Video/Block/Video.php +0 -17
  11. app/code/local/Manu/Video/Helper/Data.php +0 -6
  12. app/code/local/Manu/Video/Model/Mysql4/Video.php +0 -10
  13. app/code/local/Manu/Video/Model/Mysql4/Video/Collection.php +0 -10
  14. app/code/local/Manu/Video/Model/Status.php +0 -15
  15. app/code/local/Manu/Video/Model/Video.php +0 -10
  16. app/code/local/Manu/Video/controllers/13.09.2013.IndexController.php +0 -47
  17. app/code/local/Manu/Video/controllers/Adminhtml/VideoController.php +0 -214
  18. app/code/local/Manu/Video/controllers/IndexController.php +0 -47
  19. app/code/local/Manu/Video/etc/config.xml +0 -128
  20. app/code/local/Manu/Video/sql/video_setup/13.09.2013.mysql4-install-0.1.0.php +0 -23
  21. app/code/local/Manu/Video/sql/video_setup/mysql4-install-0.1.0.php +0 -22
  22. app/design/adminhtml/default/default/layout/video.xml +0 -8
  23. app/design/frontend/default/default/layout/video.xml +0 -10
  24. app/design/frontend/default/default/template/video/video.phtml +0 -60
  25. app/etc/modules/Manu_Video.xml +0 -17
  26. package.xml +7 -7
  27. skin/frontend/default/default/images/close.png +0 -0
app/code/local/Manu/Video/Block/Adminhtml/Video.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- class Manu_Video_Block_Adminhtml_Video extends Mage_Adminhtml_Block_Widget_Grid_Container
3
- {
4
- public function __construct()
5
- {
6
- $this->_controller = 'adminhtml_video';
7
- $this->_blockGroup = 'video';
8
- $this->_headerText = Mage::helper('video')->__('Video Manager');
9
- $this->_addButtonLabel = Mage::helper('video')->__('Add Video');
10
- parent::__construct();
11
- }
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Block/Adminhtml/Video/13.09.201.Grid.php DELETED
@@ -1,116 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Block_Adminhtml_Video_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
- {
5
- public function __construct()
6
- {
7
- parent::__construct();
8
- $this->setId('videoGrid');
9
- $this->setDefaultSort('video_id');
10
- $this->setDefaultDir('ASC');
11
- $this->setSaveParametersInSession(true);
12
- }
13
-
14
- protected function _prepareCollection()
15
- {
16
- $collection = Mage::getModel('video/video')->getCollection();
17
- $this->setCollection($collection);
18
- return parent::_prepareCollection();
19
- }
20
-
21
- protected function _prepareColumns()
22
- {
23
- $this->addColumn('video_id', array(
24
- 'header' => Mage::helper('video')->__('ID'),
25
- 'align' =>'right',
26
- 'width' => '50px',
27
- 'index' => 'video_id',
28
- ));
29
-
30
- $this->addColumn('title', array(
31
- 'header' => Mage::helper('video')->__('Title'),
32
- 'align' =>'left',
33
- 'index' => 'title',
34
- ));
35
-
36
- /*
37
- $this->addColumn('content', array(
38
- 'header' => Mage::helper('video')->__('Item Content'),
39
- 'width' => '150px',
40
- 'index' => 'content',
41
- ));
42
- */
43
-
44
- $this->addColumn('status', array(
45
- 'header' => Mage::helper('video')->__('Status'),
46
- 'align' => 'left',
47
- 'width' => '80px',
48
- 'index' => 'status',
49
- 'type' => 'options',
50
- 'options' => array(
51
- 1 => 'Enabled',
52
- 2 => 'Disabled',
53
- ),
54
- ));
55
-
56
- $this->addColumn('action',
57
- array(
58
- 'header' => Mage::helper('video')->__('Action'),
59
- 'width' => '100',
60
- 'type' => 'action',
61
- 'getter' => 'getId',
62
- 'actions' => array(
63
- array(
64
- 'caption' => Mage::helper('video')->__('Edit'),
65
- 'url' => array('base'=> '*/*/edit'),
66
- 'field' => 'id'
67
- )
68
- ),
69
- 'filter' => false,
70
- 'sortable' => false,
71
- 'index' => 'stores',
72
- 'is_system' => true,
73
- ));
74
-
75
- $this->addExportType('*/*/exportCsv', Mage::helper('video')->__('CSV'));
76
- $this->addExportType('*/*/exportXml', Mage::helper('video')->__('XML'));
77
-
78
- return parent::_prepareColumns();
79
- }
80
-
81
- protected function _prepareMassaction()
82
- {
83
- $this->setMassactionIdField('video_id');
84
- $this->getMassactionBlock()->setFormFieldName('video');
85
-
86
- $this->getMassactionBlock()->addItem('delete', array(
87
- 'label' => Mage::helper('video')->__('Delete'),
88
- 'url' => $this->getUrl('*/*/massDelete'),
89
- 'confirm' => Mage::helper('video')->__('Are you sure?')
90
- ));
91
-
92
- $statuses = Mage::getSingleton('video/status')->getOptionArray();
93
-
94
- array_unshift($statuses, array('label'=>'', 'value'=>''));
95
- $this->getMassactionBlock()->addItem('status', array(
96
- 'label'=> Mage::helper('video')->__('Change status'),
97
- 'url' => $this->getUrl('*/*/massStatus', array('_current'=>true)),
98
- 'additional' => array(
99
- 'visibility' => array(
100
- 'name' => 'status',
101
- 'type' => 'select',
102
- 'class' => 'required-entry',
103
- 'label' => Mage::helper('video')->__('Status'),
104
- 'values' => $statuses
105
- )
106
- )
107
- ));
108
- return $this;
109
- }
110
-
111
- public function getRowUrl($row)
112
- {
113
- return $this->getUrl('*/*/edit', array('id' => $row->getId()));
114
- }
115
-
116
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Block/Adminhtml/Video/13.09.2013.Edit.php DELETED
@@ -1,45 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Block_Adminhtml_Video_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
4
- {
5
- public function __construct()
6
- {
7
- parent::__construct();
8
-
9
- $this->_objectId = 'id';
10
- $this->_blockGroup = 'video';
11
- $this->_controller = 'adminhtml_video';
12
-
13
- $this->_updateButton('save', 'label', Mage::helper('video')->__('Save Item'));
14
- $this->_updateButton('delete', 'label', Mage::helper('video')->__('Delete Item'));
15
-
16
- $this->_addButton('saveandcontinue', array(
17
- 'label' => Mage::helper('adminhtml')->__('Save And Continue Edit'),
18
- 'onclick' => 'saveAndContinueEdit()',
19
- 'class' => 'save',
20
- ), -100);
21
-
22
- $this->_formScripts[] = "
23
- function toggleEditor() {
24
- if (tinyMCE.getInstanceById('video_content') == null) {
25
- tinyMCE.execCommand('mceAddControl', false, 'video_content');
26
- } else {
27
- tinyMCE.execCommand('mceRemoveControl', false, 'video_content');
28
- }
29
- }
30
-
31
- function saveAndContinueEdit(){
32
- editForm.submit($('edit_form').action+'back/edit/');
33
- }
34
- ";
35
- }
36
-
37
- public function getHeaderText()
38
- {
39
- if( Mage::registry('video_data') && Mage::registry('video_data')->getId() ) {
40
- return Mage::helper('video')->__("Edit Item '%s'", $this->htmlEscape(Mage::registry('video_data')->getTitle()));
41
- } else {
42
- return Mage::helper('video')->__('Add Item');
43
- }
44
- }
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Block/Adminhtml/Video/Edit.php DELETED
@@ -1,45 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Block_Adminhtml_Video_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
4
- {
5
- public function __construct()
6
- {
7
- parent::__construct();
8
-
9
- $this->_objectId = 'id';
10
- $this->_blockGroup = 'video';
11
- $this->_controller = 'adminhtml_video';
12
-
13
- $this->_updateButton('save', 'label', Mage::helper('video')->__('Save Video'));
14
- $this->_updateButton('delete', 'label', Mage::helper('video')->__('Delete Video'));
15
-
16
- $this->_addButton('saveandcontinue', array(
17
- 'label' => Mage::helper('adminhtml')->__('Save And Continue Edit'),
18
- 'onclick' => 'saveAndContinueEdit()',
19
- 'class' => 'save',
20
- ), -100);
21
-
22
- $this->_formScripts[] = "
23
- function toggleEditor() {
24
- if (tinyMCE.getInstanceById('video_content') == null) {
25
- tinyMCE.execCommand('mceAddControl', false, 'video_content');
26
- } else {
27
- tinyMCE.execCommand('mceRemoveControl', false, 'video_content');
28
- }
29
- }
30
-
31
- function saveAndContinueEdit(){
32
- editForm.submit($('edit_form').action+'back/edit/');
33
- }
34
- ";
35
- }
36
-
37
- public function getHeaderText()
38
- {
39
- if( Mage::registry('video_data') && Mage::registry('video_data')->getId() ) {
40
- return Mage::helper('video')->__("Edit Item '%s'", $this->htmlEscape(Mage::registry('video_data')->getTitle()));
41
- } else {
42
- return Mage::helper('video')->__('Add Video');
43
- }
44
- }
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Block/Adminhtml/Video/Edit/Form.php DELETED
@@ -1,19 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Block_Adminhtml_Video_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
4
- {
5
- protected function _prepareForm()
6
- {
7
- $form = new Varien_Data_Form(array(
8
- 'id' => 'edit_form',
9
- 'action' => $this->getUrl('*/*/save', array('id' => $this->getRequest()->getParam('id'))),
10
- 'method' => 'post',
11
- 'enctype' => 'multipart/form-data'
12
- )
13
- );
14
-
15
- $form->setUseContainer(true);
16
- $this->setForm($form);
17
- return parent::_prepareForm();
18
- }
19
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Block/Adminhtml/Video/Edit/Tab/13.09.2013Form.php DELETED
@@ -1,58 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Block_Adminhtml_Video_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
4
- {
5
- protected function _prepareForm()
6
- {
7
- $form = new Varien_Data_Form();
8
- $this->setForm($form);
9
- $fieldset = $form->addFieldset('video_form', array('legend'=>Mage::helper('video')->__('Item information')));
10
-
11
- $fieldset->addField('title', 'text', array(
12
- 'label' => Mage::helper('video')->__('Title'),
13
- 'class' => 'required-entry',
14
- 'required' => true,
15
- 'name' => 'title',
16
- ));
17
-
18
- $fieldset->addField('filename', 'file', array(
19
- 'label' => Mage::helper('video')->__('File'),
20
- 'required' => false,
21
- 'name' => 'filename',
22
- ));
23
-
24
- $fieldset->addField('status', 'select', array(
25
- 'label' => Mage::helper('video')->__('Status'),
26
- 'name' => 'status',
27
- 'values' => array(
28
- array(
29
- 'value' => 1,
30
- 'label' => Mage::helper('video')->__('Enabled'),
31
- ),
32
-
33
- array(
34
- 'value' => 2,
35
- 'label' => Mage::helper('video')->__('Disabled'),
36
- ),
37
- ),
38
- ));
39
-
40
- $fieldset->addField('content', 'editor', array(
41
- 'name' => 'content',
42
- 'label' => Mage::helper('video')->__('Content'),
43
- 'title' => Mage::helper('video')->__('Content'),
44
- 'style' => 'width:700px; height:500px;',
45
- 'wysiwyg' => false,
46
- 'required' => true,
47
- ));
48
-
49
- if ( Mage::getSingleton('adminhtml/session')->getVideoData() )
50
- {
51
- $form->setValues(Mage::getSingleton('adminhtml/session')->getVideoData());
52
- Mage::getSingleton('adminhtml/session')->setVideoData(null);
53
- } elseif ( Mage::registry('video_data') ) {
54
- $form->setValues(Mage::registry('video_data')->getData());
55
- }
56
- return parent::_prepareForm();
57
- }
58
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Block/Adminhtml/Video/Edit/Tab/Form.php DELETED
@@ -1,54 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Block_Adminhtml_Video_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
4
- {
5
- protected function _prepareForm()
6
- {
7
- $form = new Varien_Data_Form();
8
- $this->setForm($form);
9
- $fieldset = $form->addFieldset('video_form', array('legend'=>Mage::helper('video')->__('Video information')));
10
-
11
- $fieldset->addField('title', 'text', array(
12
- 'label' => Mage::helper('video')->__('Video Name'),
13
- 'class' => 'required-entry',
14
- 'required' => true,
15
- 'name' => 'title',
16
- ));
17
-
18
-
19
-
20
- $fieldset->addField('status', 'select', array(
21
- 'label' => Mage::helper('video')->__('Status'),
22
- 'name' => 'status',
23
- 'values' => array(
24
- array(
25
- 'value' => 1,
26
- 'label' => Mage::helper('video')->__('Enabled'),
27
- ),
28
-
29
- array(
30
- 'value' => 2,
31
- 'label' => Mage::helper('video')->__('Disabled'),
32
- ),
33
- ),
34
- ));
35
-
36
- $fieldset->addField('content', 'editor', array(
37
- 'name' => 'content',
38
- 'label' => Mage::helper('video')->__('Video Url'),
39
- 'title' => Mage::helper('video')->__('Content'),
40
- 'style' => 'width:700px; height:500px;',
41
- 'wysiwyg' => false,
42
- 'required' => true,
43
- ));
44
-
45
- if ( Mage::getSingleton('adminhtml/session')->getVideoData() )
46
- {
47
- $form->setValues(Mage::getSingleton('adminhtml/session')->getVideoData());
48
- Mage::getSingleton('adminhtml/session')->setVideoData(null);
49
- } elseif ( Mage::registry('video_data') ) {
50
- $form->setValues(Mage::registry('video_data')->getData());
51
- }
52
- return parent::_prepareForm();
53
- }
54
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Block/Adminhtml/Video/Edit/Tabs.php DELETED
@@ -1,24 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Block_Adminhtml_Video_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
4
- {
5
-
6
- public function __construct()
7
- {
8
- parent::__construct();
9
- $this->setId('video_tabs');
10
- $this->setDestElementId('edit_form');
11
- $this->setTitle(Mage::helper('video')->__('Video Information'));
12
- }
13
-
14
- protected function _beforeToHtml()
15
- {
16
- $this->addTab('form_section', array(
17
- 'label' => Mage::helper('video')->__('Video Information'),
18
- 'title' => Mage::helper('video')->__('Item Information'),
19
- 'content' => $this->getLayout()->createBlock('video/adminhtml_video_edit_tab_form')->toHtml(),
20
- ));
21
-
22
- return parent::_beforeToHtml();
23
- }
24
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Block/Adminhtml/Video/Grid.php DELETED
@@ -1,116 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Block_Adminhtml_Video_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
- {
5
- public function __construct()
6
- {
7
- parent::__construct();
8
- $this->setId('videoGrid');
9
- $this->setDefaultSort('video_id');
10
- $this->setDefaultDir('ASC');
11
- $this->setSaveParametersInSession(true);
12
- }
13
-
14
- protected function _prepareCollection()
15
- {
16
- $collection = Mage::getModel('video/video')->getCollection();
17
- $this->setCollection($collection);
18
- return parent::_prepareCollection();
19
- }
20
-
21
- protected function _prepareColumns()
22
- {
23
- $this->addColumn('video_id', array(
24
- 'header' => Mage::helper('video')->__('ID'),
25
- 'align' =>'right',
26
- 'width' => '50px',
27
- 'index' => 'video_id',
28
- ));
29
-
30
- $this->addColumn('title', array(
31
- 'header' => Mage::helper('video')->__('Title'),
32
- 'align' =>'left',
33
- 'index' => 'title',
34
- ));
35
-
36
- /*
37
- $this->addColumn('content', array(
38
- 'header' => Mage::helper('video')->__('Item Content'),
39
- 'width' => '150px',
40
- 'index' => 'content',
41
- ));
42
- */
43
-
44
- $this->addColumn('status', array(
45
- 'header' => Mage::helper('video')->__('Status'),
46
- 'align' => 'left',
47
- 'width' => '80px',
48
- 'index' => 'status',
49
- 'type' => 'options',
50
- 'options' => array(
51
- 1 => 'Enabled',
52
- 2 => 'Disabled',
53
- ),
54
- ));
55
-
56
- $this->addColumn('action',
57
- array(
58
- 'header' => Mage::helper('video')->__('Action'),
59
- 'width' => '100',
60
- 'type' => 'action',
61
- 'getter' => 'getId',
62
- 'actions' => array(
63
- array(
64
- 'caption' => Mage::helper('video')->__('Edit'),
65
- 'url' => array('base'=> '*/*/edit'),
66
- 'field' => 'id'
67
- )
68
- ),
69
- 'filter' => false,
70
- 'sortable' => false,
71
- 'index' => 'stores',
72
- 'is_system' => true,
73
- ));
74
-
75
- $this->addExportType('*/*/exportCsv', Mage::helper('video')->__('CSV'));
76
- $this->addExportType('*/*/exportXml', Mage::helper('video')->__('XML'));
77
-
78
- return parent::_prepareColumns();
79
- }
80
-
81
- protected function _prepareMassaction()
82
- {
83
- $this->setMassactionIdField('video_id');
84
- $this->getMassactionBlock()->setFormFieldName('video');
85
-
86
- $this->getMassactionBlock()->addItem('delete', array(
87
- 'label' => Mage::helper('video')->__('Delete'),
88
- 'url' => $this->getUrl('*/*/massDelete'),
89
- 'confirm' => Mage::helper('video')->__('Are you sure?')
90
- ));
91
-
92
- $statuses = Mage::getSingleton('video/status')->getOptionArray();
93
-
94
- array_unshift($statuses, array('label'=>'', 'value'=>''));
95
- $this->getMassactionBlock()->addItem('status', array(
96
- 'label'=> Mage::helper('video')->__('Change status'),
97
- 'url' => $this->getUrl('*/*/massStatus', array('_current'=>true)),
98
- 'additional' => array(
99
- 'visibility' => array(
100
- 'name' => 'status',
101
- 'type' => 'select',
102
- 'class' => 'required-entry',
103
- 'label' => Mage::helper('video')->__('Status'),
104
- 'values' => $statuses
105
- )
106
- )
107
- ));
108
- return $this;
109
- }
110
-
111
- public function getRowUrl($row)
112
- {
113
- return $this->getUrl('*/*/edit', array('id' => $row->getId()));
114
- }
115
-
116
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Block/Video.php DELETED
@@ -1,17 +0,0 @@
1
- <?php
2
- class Manu_Video_Block_Video extends Mage_Core_Block_Template
3
- {
4
- public function _prepareLayout()
5
- {
6
- return parent::_prepareLayout();
7
- }
8
-
9
- public function getVideo()
10
- {
11
- if (!$this->hasData('video')) {
12
- $this->setData('video', Mage::registry('video'));
13
- }
14
- return $this->getData('video');
15
-
16
- }
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Helper/Data.php DELETED
@@ -1,6 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Helper_Data extends Mage_Core_Helper_Abstract
4
- {
5
-
6
- }
 
 
 
 
 
 
app/code/local/Manu/Video/Model/Mysql4/Video.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Model_Mysql4_Video extends Mage_Core_Model_Mysql4_Abstract
4
- {
5
- public function _construct()
6
- {
7
- // Note that the video_id refers to the key field in your database table.
8
- $this->_init('video/video', 'video_id');
9
- }
10
- }
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Model/Mysql4/Video/Collection.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Model_Mysql4_Video_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
4
- {
5
- public function _construct()
6
- {
7
- parent::_construct();
8
- $this->_init('video/video');
9
- }
10
- }
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Model/Status.php DELETED
@@ -1,15 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Model_Status extends Varien_Object
4
- {
5
- const STATUS_ENABLED = 1;
6
- const STATUS_DISABLED = 2;
7
-
8
- static public function getOptionArray()
9
- {
10
- return array(
11
- self::STATUS_ENABLED => Mage::helper('video')->__('Enabled'),
12
- self::STATUS_DISABLED => Mage::helper('video')->__('Disabled')
13
- );
14
- }
15
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/Model/Video.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Model_Video extends Mage_Core_Model_Abstract
4
- {
5
- public function _construct()
6
- {
7
- parent::_construct();
8
- $this->_init('video/video');
9
- }
10
- }
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/controllers/13.09.2013.IndexController.php DELETED
@@ -1,47 +0,0 @@
1
- <?php
2
- class Manu_Video_IndexController extends Mage_Core_Controller_Front_Action
3
- {
4
- public function indexAction()
5
- {
6
-
7
- /*
8
- * Load an object by id
9
- * Request looking like:
10
- * http://site.com/video?id=15
11
- * or
12
- * http://site.com/video/id/15
13
- */
14
- /*
15
- $video_id = $this->getRequest()->getParam('id');
16
-
17
- if($video_id != null && $video_id != '') {
18
- $video = Mage::getModel('video/video')->load($video_id)->getData();
19
- } else {
20
- $video = null;
21
- }
22
- */
23
-
24
- /*
25
- * If no param we load a the last created item
26
- */
27
- /*
28
- if($video == null) {
29
- $resource = Mage::getSingleton('core/resource');
30
- $read= $resource->getConnection('core_read');
31
- $videoTable = $resource->getTableName('video');
32
-
33
- $select = $read->select()
34
- ->from($videoTable,array('video_id','title','content','status'))
35
- ->where('status',1)
36
- ->order('created_time DESC') ;
37
-
38
- $video = $read->fetchRow($select);
39
- }
40
- Mage::register('video', $video);
41
- */
42
-
43
-
44
- $this->loadLayout();
45
- $this->renderLayout();
46
- }
47
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/controllers/Adminhtml/VideoController.php DELETED
@@ -1,214 +0,0 @@
1
- <?php
2
-
3
- class Manu_Video_Adminhtml_VideoController extends Mage_Adminhtml_Controller_action
4
- {
5
-
6
- protected function _initAction() {
7
- $this->loadLayout()
8
- ->_setActiveMenu('video/items')
9
- ->_addBreadcrumb(Mage::helper('adminhtml')->__('Items Manager'), Mage::helper('adminhtml')->__('Item Manager'));
10
-
11
- return $this;
12
- }
13
-
14
- public function indexAction() {
15
- $this->_initAction()
16
- ->renderLayout();
17
- }
18
-
19
- public function editAction() {
20
- $id = $this->getRequest()->getParam('id');
21
- $model = Mage::getModel('video/video')->load($id);
22
-
23
- if ($model->getId() || $id == 0) {
24
- $data = Mage::getSingleton('adminhtml/session')->getFormData(true);
25
- if (!empty($data)) {
26
- $model->setData($data);
27
- }
28
-
29
- Mage::register('video_data', $model);
30
-
31
- $this->loadLayout();
32
- $this->_setActiveMenu('video/items');
33
-
34
- $this->_addBreadcrumb(Mage::helper('adminhtml')->__('Item Manager'), Mage::helper('adminhtml')->__('Item Manager'));
35
- $this->_addBreadcrumb(Mage::helper('adminhtml')->__('Item News'), Mage::helper('adminhtml')->__('Item News'));
36
-
37
- $this->getLayout()->getBlock('head')->setCanLoadExtJs(true);
38
-
39
- $this->_addContent($this->getLayout()->createBlock('video/adminhtml_video_edit'))
40
- ->_addLeft($this->getLayout()->createBlock('video/adminhtml_video_edit_tabs'));
41
-
42
- $this->renderLayout();
43
- } else {
44
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('video')->__('Item does not exist'));
45
- $this->_redirect('*/*/');
46
- }
47
- }
48
-
49
- public function newAction() {
50
- $this->_forward('edit');
51
- }
52
-
53
- public function saveAction() {
54
- if ($data = $this->getRequest()->getPost()) {
55
-
56
- if(isset($_FILES['filename']['name']) && $_FILES['filename']['name'] != '') {
57
- try {
58
- /* Starting upload */
59
- $uploader = new Varien_File_Uploader('filename');
60
-
61
- // Any extention would work
62
- $uploader->setAllowedExtensions(array('jpg','jpeg','gif','png'));
63
- $uploader->setAllowRenameFiles(false);
64
-
65
- // Set the file upload mode
66
- // false -> get the file directly in the specified folder
67
- // true -> get the file in the product like folders
68
- // (file.jpg will go in something like /media/f/i/file.jpg)
69
- $uploader->setFilesDispersion(false);
70
-
71
- // We set media as the upload dir
72
- $path = Mage::getBaseDir('media') . DS ;
73
- $uploader->save($path, $_FILES['filename']['name'] );
74
-
75
- } catch (Exception $e) {
76
-
77
- }
78
-
79
- //this way the name is saved in DB
80
- $data['filename'] = $_FILES['filename']['name'];
81
- }
82
-
83
-
84
- $model = Mage::getModel('video/video');
85
- $model->setData($data)
86
- ->setId($this->getRequest()->getParam('id'));
87
-
88
- try {
89
- if ($model->getCreatedTime == NULL || $model->getUpdateTime() == NULL) {
90
- $model->setCreatedTime(now())
91
- ->setUpdateTime(now());
92
- } else {
93
- $model->setUpdateTime(now());
94
- }
95
-
96
- $model->save();
97
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('video')->__('Item was successfully saved'));
98
- Mage::getSingleton('adminhtml/session')->setFormData(false);
99
-
100
- if ($this->getRequest()->getParam('back')) {
101
- $this->_redirect('*/*/edit', array('id' => $model->getId()));
102
- return;
103
- }
104
- $this->_redirect('*/*/');
105
- return;
106
- } catch (Exception $e) {
107
- Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
108
- Mage::getSingleton('adminhtml/session')->setFormData($data);
109
- $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
110
- return;
111
- }
112
- }
113
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('video')->__('Unable to find item to save'));
114
- $this->_redirect('*/*/');
115
- }
116
-
117
- public function deleteAction() {
118
- if( $this->getRequest()->getParam('id') > 0 ) {
119
- try {
120
- $model = Mage::getModel('video/video');
121
-
122
- $model->setId($this->getRequest()->getParam('id'))
123
- ->delete();
124
-
125
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('adminhtml')->__('Item was successfully deleted'));
126
- $this->_redirect('*/*/');
127
- } catch (Exception $e) {
128
- Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
129
- $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
130
- }
131
- }
132
- $this->_redirect('*/*/');
133
- }
134
-
135
- public function massDeleteAction() {
136
- $videoIds = $this->getRequest()->getParam('video');
137
- if(!is_array($videoIds)) {
138
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('adminhtml')->__('Please select item(s)'));
139
- } else {
140
- try {
141
- foreach ($videoIds as $videoId) {
142
- $video = Mage::getModel('video/video')->load($videoId);
143
- $video->delete();
144
- }
145
- Mage::getSingleton('adminhtml/session')->addSuccess(
146
- Mage::helper('adminhtml')->__(
147
- 'Total of %d record(s) were successfully deleted', count($videoIds)
148
- )
149
- );
150
- } catch (Exception $e) {
151
- Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
152
- }
153
- }
154
- $this->_redirect('*/*/index');
155
- }
156
-
157
- public function massStatusAction()
158
- {
159
- $videoIds = $this->getRequest()->getParam('video');
160
- if(!is_array($videoIds)) {
161
- Mage::getSingleton('adminhtml/session')->addError($this->__('Please select item(s)'));
162
- } else {
163
- try {
164
- foreach ($videoIds as $videoId) {
165
- $video = Mage::getSingleton('video/video')
166
- ->load($videoId)
167
- ->setStatus($this->getRequest()->getParam('status'))
168
- ->setIsMassupdate(true)
169
- ->save();
170
- }
171
- $this->_getSession()->addSuccess(
172
- $this->__('Total of %d record(s) were successfully updated', count($videoIds))
173
- );
174
- } catch (Exception $e) {
175
- $this->_getSession()->addError($e->getMessage());
176
- }
177
- }
178
- $this->_redirect('*/*/index');
179
- }
180
-
181
- public function exportCsvAction()
182
- {
183
- $fileName = 'video.csv';
184
- $content = $this->getLayout()->createBlock('video/adminhtml_video_grid')
185
- ->getCsv();
186
-
187
- $this->_sendUploadResponse($fileName, $content);
188
- }
189
-
190
- public function exportXmlAction()
191
- {
192
- $fileName = 'video.xml';
193
- $content = $this->getLayout()->createBlock('video/adminhtml_video_grid')
194
- ->getXml();
195
-
196
- $this->_sendUploadResponse($fileName, $content);
197
- }
198
-
199
- protected function _sendUploadResponse($fileName, $content, $contentType='application/octet-stream')
200
- {
201
- $response = $this->getResponse();
202
- $response->setHeader('HTTP/1.1 200 OK','');
203
- $response->setHeader('Pragma', 'public', true);
204
- $response->setHeader('Cache-Control', 'must-revalidate, post-check=0, pre-check=0', true);
205
- $response->setHeader('Content-Disposition', 'attachment; filename='.$fileName);
206
- $response->setHeader('Last-Modified', date('r'));
207
- $response->setHeader('Accept-Ranges', 'bytes');
208
- $response->setHeader('Content-Length', strlen($content));
209
- $response->setHeader('Content-type', $contentType);
210
- $response->setBody($content);
211
- $response->sendResponse();
212
- die;
213
- }
214
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/controllers/IndexController.php DELETED
@@ -1,47 +0,0 @@
1
- <?php
2
- class Manu_Video_IndexController extends Mage_Core_Controller_Front_Action
3
- {
4
- public function indexAction()
5
- {
6
-
7
- /*
8
- * Load an object by id
9
- * Request looking like:
10
- * http://site.com/video?id=15
11
- * or
12
- * http://site.com/video/id/15
13
- */
14
-
15
- $video_id = $this->getRequest()->getParam('id');
16
-
17
- if($video_id != null && $video_id != '') {
18
- $video = Mage::getModel('video/video')->load($video_id)->getData();
19
- } else {
20
- $video = null;
21
- }
22
- */
23
-
24
- /*
25
- * If no param we load a the last created item
26
- */
27
-
28
- if($video == null) {
29
- $resource = Mage::getSingleton('core/resource');
30
- $read= $resource->getConnection('core_read');
31
- $videoTable = $resource->getTableName('video');
32
-
33
- $select = $read->select()
34
- ->from($videoTable,array('video_id','title','content','status'))
35
- ->where('status',1)
36
- ->order('created_time DESC') ;
37
-
38
- $video = $read->fetchRow($select);
39
- }
40
- Mage::register('video', $video);
41
-
42
-
43
-
44
- $this->loadLayout();
45
- $this->renderLayout();
46
- }
47
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/etc/config.xml DELETED
@@ -1,128 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Manu
5
- * @package Manu_Video
6
- * @author ModuleCreator
7
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
- */
9
- -->
10
- <config>
11
- <modules>
12
- <Manu_Video>
13
- <version>0.1.0</version>
14
- </Manu_Video>
15
- </modules>
16
- <frontend>
17
- <routers>
18
- <video>
19
- <use>standard</use>
20
- <args>
21
- <module>Manu_Video</module>
22
- <frontName>video</frontName>
23
- </args>
24
- </video>
25
- </routers>
26
- <layout>
27
- <updates>
28
- <video>
29
- <file>video.xml</file>
30
- </video>
31
- </updates>
32
- </layout>
33
- </frontend>
34
- <admin>
35
- <routers>
36
- <video>
37
- <use>admin</use>
38
- <args>
39
- <module>Manu_Video</module>
40
- <frontName>video</frontName>
41
- </args>
42
- </video>
43
- </routers>
44
- </admin>
45
- <adminhtml>
46
- <menu>
47
- <video module="video">
48
- <title>Video</title>
49
- <sort_order>71</sort_order>
50
- <children>
51
- <items module="video">
52
- <title>Manage Items</title>
53
- <sort_order>0</sort_order>
54
- <action>video/adminhtml_video</action>
55
- </items>
56
- </children>
57
- </video>
58
- </menu>
59
- <acl>
60
- <resources>
61
- <all>
62
- <title>Allow Everything</title>
63
- </all>
64
- <admin>
65
- <children>
66
- <Manu_Video>
67
- <title>Video Module</title>
68
- <sort_order>10</sort_order>
69
- </Manu_Video>
70
- </children>
71
- </admin>
72
- </resources>
73
- </acl>
74
- <layout>
75
- <updates>
76
- <video>
77
- <file>video.xml</file>
78
- </video>
79
- </updates>
80
- </layout>
81
- </adminhtml>
82
- <global>
83
- <models>
84
- <video>
85
- <class>Manu_Video_Model</class>
86
- <resourceModel>video_mysql4</resourceModel>
87
- </video>
88
- <video_mysql4>
89
- <class>Manu_Video_Model_Mysql4</class>
90
- <entities>
91
- <video>
92
- <table>video</table>
93
- </video>
94
- </entities>
95
- </video_mysql4>
96
- </models>
97
- <resources>
98
- <video_setup>
99
- <setup>
100
- <module>Manu_Video</module>
101
- </setup>
102
- <connection>
103
- <use>core_setup</use>
104
- </connection>
105
- </video_setup>
106
- <video_write>
107
- <connection>
108
- <use>core_write</use>
109
- </connection>
110
- </video_write>
111
- <video_read>
112
- <connection>
113
- <use>core_read</use>
114
- </connection>
115
- </video_read>
116
- </resources>
117
- <blocks>
118
- <video>
119
- <class>Manu_Video_Block</class>
120
- </video>
121
- </blocks>
122
- <helpers>
123
- <video>
124
- <class>Manu_Video_Helper</class>
125
- </video>
126
- </helpers>
127
- </global>
128
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/sql/video_setup/13.09.2013.mysql4-install-0.1.0.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
-
3
- $installer = $this;
4
-
5
- $installer->startSetup();
6
-
7
- $installer->run("
8
-
9
- -- DROP TABLE IF EXISTS {$this->getTable('video')};
10
- CREATE TABLE {$this->getTable('video')} (
11
- `video_id` int(11) unsigned NOT NULL auto_increment,
12
- `title` varchar(255) NOT NULL default '',
13
- `filename` varchar(255) NOT NULL default '',
14
- `content` text NOT NULL default '',
15
- `status` smallint(6) NOT NULL default '0',
16
- `created_time` datetime NULL,
17
- `update_time` datetime NULL,
18
- PRIMARY KEY (`video_id`)
19
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
20
-
21
- ");
22
-
23
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manu/Video/sql/video_setup/mysql4-install-0.1.0.php DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
-
3
- $installer = $this;
4
-
5
- $installer->startSetup();
6
-
7
- $installer->run("
8
-
9
- -- DROP TABLE IF EXISTS {$this->getTable('video')};
10
- CREATE TABLE {$this->getTable('video')} (
11
- `video_id` int(11) unsigned NOT NULL auto_increment,
12
- `title` varchar(255) NOT NULL default '',
13
- `content` text NOT NULL default '',
14
- `status` smallint(6) NOT NULL default '0',
15
- `created_time` datetime NULL,
16
- `update_time` datetime NULL,
17
- PRIMARY KEY (`video_id`)
18
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
19
-
20
- ");
21
-
22
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/video.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0"?>
2
- <layout version="0.1.0">
3
- <video_adminhtml_video_index>
4
- <reference name="content">
5
- <block type="video/adminhtml_video" name="video" />
6
- </reference>
7
- </video_adminhtml_video_index>
8
- </layout>
 
 
 
 
 
 
 
 
app/design/frontend/default/default/layout/video.xml DELETED
@@ -1,10 +0,0 @@
1
- <?xml version="1.0"?>
2
- <layout version="0.1.0">
3
- <default>
4
- </default>
5
- <video_index_index>
6
- <reference name="content">
7
- <block type="video/video" name="video" template="video/video.phtml" />
8
- </reference>
9
- </video_index_index>
10
- </layout>
 
 
 
 
 
 
 
 
 
 
app/design/frontend/default/default/template/video/video.phtml DELETED
@@ -1,60 +0,0 @@
1
- <style type="text/css">
2
- .blankdiv{background-color:#000;
3
- position:fixed;
4
- z-index: 9001;
5
- top:0px; height:100%;
6
- left:0px;
7
- width:100%; opacity: 0.65;
8
- filter:alpha(opacity=65);}
9
-
10
- #pclose{background-image: url("<?php echo $this->getSkinURl('images/close.png'); ?>");
11
- background-position: left top;
12
- background-repeat: no-repeat;
13
- cursor: pointer;
14
- height: 25px;
15
- margin: 5% auto -6%;
16
- position: relative;
17
- right: -348px;
18
- text-indent: -9999px;
19
- top: 0;
20
- width: 25px;
21
- z-index: 9999;}
22
- </style>
23
- <h4><?php echo $this->__('Module List') ?></h4>
24
- <?php
25
- /*
26
- This shows how to load multiple rows in a collection and save a change to them.
27
- 1) The setPageSize function will load only 5 records per page and you can set the current Page with the setCurPage function.
28
- 2) The $collection->walk('save') allows you to save everything in the collection after all changes have been made.
29
- */
30
-
31
- $i = 0;
32
-
33
- $collection = Mage::getModel('video/video')->getCollection();
34
- $collection->setPageSize(15);
35
- $collection->setCurPage(2);
36
- $size = $collection->getSize();
37
- $cnt = count($collection);
38
- $z=1; foreach ($collection as $item) {
39
- $i = $i+1;
40
-
41
- $item->setTitle($i);
42
- $item1= $item->getContent();
43
- $cat = str_replace("http://www.youtube.com/watch?v=", "", $item1);
44
- ?>
45
- <div style="margin:5px; float:left;">
46
- <a href="javascript:void(0)" id="apply" onclick="javascript:document.getElementById('popupform<?php echo $z; ?>').style.display='block';"><img src="http://img.youtube.com/vi/<?php echo $cat; ?>/0.jpg" height="160" width="165" /></a>
47
- </div>
48
- <div id="popupform<?php echo $z; ?>" style="display:none; height: 100%; left: 0; padding: 15px; position: fixed; top: 0; width:97%; z-index: 10001; ">
49
- <div class="blankdiv"></div>
50
- <div id="pclose" onclick="javascript:document.getElementById('popupform<?php echo $z; ?>').style.display='none';">close</div>
51
- <div class="applyform" style="position:relative; overflow:auto; background-color:#fff; width:670px; height:500px; margin:5% auto auto auto; z-index: 9002; padding:10px; border:10px solid #7F3814; ">
52
- <p id="contactArea">
53
- <iframe width="670" height="500" src="//www.youtube.com/embed/<?php echo $cat; ?>?autoplay=1"" frameborder="0" allowfullscreen></iframe>
54
- </p>
55
- </div>
56
- </div>
57
- <?php $z++;}
58
-
59
- $collection->walk('save');
60
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/etc/modules/Manu_Video.xml DELETED
@@ -1,17 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Manu
5
- * @package Manu_Video
6
- * @author ModuleCreator
7
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
- */
9
- -->
10
- <config>
11
- <modules>
12
- <Manu_Video>
13
- <active>true</active>
14
- <codePool>local</codePool>
15
- </Manu_Video>
16
- </modules>
17
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Manu_youtbue_video_upload</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>With Video upload extension you can easy add video on your website. </summary>
10
- <description>With Video upload extension you can easy add video on your website. </description>
11
- <notes>With Video upload extension you can easy add video on your website. </notes>
12
  <authors><author><name>Manvendra Sharma</name><user>sharmamanvendra</user><email>sharmamanvendra6@gmail.com</email></author></authors>
13
- <date>2013-12-27</date>
14
- <time>10:35:31</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Manu_Video.xml" hash="ebffc96c65f13e7ad48cef61aaedcfcd"/></dir></target><target name="magelocal"><dir name="Manu"><dir name="Video"><dir name="Block"><dir name="Adminhtml"><dir name="Video"><file name="13.09.201.Grid.php" hash="360834ce33dcbece1f68c37773f0d0d7"/><file name="13.09.2013.Edit.php" hash="fbc232a1f32b4fcb904f3e6b560c79b8"/><dir name="Edit"><file name="Form.php" hash="7e7f822085e039a1217fb7d63012ca5e"/><dir name="Tab"><file name="13.09.2013Form.php" hash="f0231c4a8fb00955ba94f1495a8766ad"/><file name="Form.php" hash="c8f8f3ee7bdd11830305758c5c01fa2e"/></dir><file name="Tabs.php" hash="19056047ab6cb19eec78f5160a1cb559"/></dir><file name="Edit.php" hash="0859f324c944a9c8017d8d04da37772c"/><file name="Grid.php" hash="360834ce33dcbece1f68c37773f0d0d7"/></dir><file name="Video.php" hash="4060fb067ffe784675e2855d89a4ea61"/></dir><file name="Video.php" hash="c938e531f6c0c991f4d0940fa7868b6c"/></dir><dir name="Helper"><file name="Data.php" hash="ffce369d5323313b18f01aea9762fba7"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Video"><file name="Collection.php" hash="aa31186ac365e76503c76b164682a927"/></dir><file name="Video.php" hash="6905aa32332341f8890d4abda6bf0318"/></dir><file name="Status.php" hash="c78f9c44a086ae74e818947e363acd4f"/><file name="Video.php" hash="9af33a7dceb2d27fbdd52024d64dc4fd"/></dir><dir name="controllers"><file name="13.09.2013.IndexController.php" hash="0a219caa1e462ea97fd66b7dd238a6d4"/><dir name="Adminhtml"><file name="VideoController.php" hash="4227fce0293eefd30d44275415adcf70"/></dir><file name="IndexController.php" hash="4e91e87cb0b3f90b20bf14e7f0a27405"/></dir><dir name="etc"><file name="config.xml" hash="3352785553b2c3d0ac1a33e662a6c24e"/></dir><dir name="sql"><dir name="video_setup"><file name="13.09.2013.mysql4-install-0.1.0.php" hash="452606a24d277add093017487671fc75"/><file name="mysql4-install-0.1.0.php" hash="1bcbe8c8e0d4302fff2ddeb9a4efb0ef"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="video.xml" hash="88f9f081362ff5264980c5acb23ddca0"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="video.xml" hash="f0443c80929137d1c28acd1cdc08850a"/></dir><dir name="template"><dir name="video"><file name="video.phtml" hash="52f593c39d911792b26caad1420d26cc"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="images"><file name="close.png" hash="7e1e4fe9697be548050b612c84df15d7"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Manu_youtbue_video_upload</name>
4
+ <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Video upload extension allow to video. video Gallery allow to play your youtube video gallery on your website </summary>
10
+ <description>Video upload extension allow to video. video Gallery allow to play your youtube video gallery on your website </description>
11
+ <notes>Video upload extension allow to video. video Gallery allow to play your youtube video gallery on your website </notes>
12
  <authors><author><name>Manvendra Sharma</name><user>sharmamanvendra</user><email>sharmamanvendra6@gmail.com</email></author></authors>
13
+ <date>2014-04-11</date>
14
+ <time>10:54:54</time>
15
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="youtbuevideoupload.xml" hash=""/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="youtbuevideoupload.xml" hash=""/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Manu_Youtbuevideoupload.xml" hash=""/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
skin/frontend/default/default/images/close.png DELETED
Binary file