Changeset 538 for trunk/Modules/TV
- Timestamp:
- May 18, 2013, 8:21:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/TV/TV.php
r519 r538 129 129 parent::Start(); 130 130 $this->System->RegisterPage('tv', 'PageIPTV'); 131 $this->System->FormManager->RegisterClass('TV', array( 132 'Title' => 'TV kanály', 133 'Table' => 'TV', 134 'DefaultSortColumn' => 'Name', 135 'Items' => array( 136 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 137 'Frequency' => array('Type' => 'Integer', 'Caption' => 'Frekvence', 'Default' => '', 'Suffix' => 'Hz'), 138 'Norm' => array('Type' => 'String', 'Caption' => 'Video norma', 'Default' => ''), 139 'Homepage' => array('Type' => 'Hyperlink', 'Caption' => 'Web', 'Default' => ''), 140 'Language' => array('Type' => 'TLanguage', 'Caption' => 'Jazyk', 'Default' => '', 'Null' => true), 141 'ShortName' => array('Type' => 'String', 'Caption' => 'Zkratka', 'Default' => ''), 142 'Stream' => array('Type' => 'Hyperlink', 'Caption' => 'Proud', 'Default' => ''), 143 'StreamWeb' => array('Type' => 'Hyperlink', 'Caption' => 'Proud web', 'Default' => ''), 144 'SourceType' => array('Type' => 'String', 'Caption' => 'Typ zdroje', 'Default' => ''), 145 'Category' => array('Type' => 'TTVGroup', 'Caption' => 'Kategorie', 'Default' => '', 'Null' => true), 146 ), 147 )); 148 $this->System->FormManager->RegisterClass('TVGroup', array( 149 'Title' => 'Skupiny TV kanálů', 150 'Table' => 'TVGroup', 151 'DefaultSortColumn' => 'Name', 152 'Items' => array( 153 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 154 ), 155 )); 156 131 157 } 132 158
Note:
See TracChangeset
for help on using the changeset viewer.