add possibilty to hide menu entries when needed hardware is not available
[enigma2.git] / data / menu.xml
1 <menu text="Mainmenu" title="Mainmenu">
2         <id val="mainmenu" />
3 <!-- the following types are allowed:
4         <screen [module="mod"] [screen="classname"]>[arguments]</screen> 
5                 executes Screen called "classname" from module "Screen.mod"
6                 if no module is given, Screen must be globally available.
7                 if no screen is given, module is used as screen class name.
8                 arguments must be comma seperated (will be fed to eval), and can
9                         use stuff from module
10                 (of course you must specify at least one of module, screen.)
11         <setup id="id" />
12                 opens a setup with specified id
13         <code> .. code .. </code>
14                 "exec"s code
15 -->
16                 <!--<item text="Standby debug">quitMainloop(0)</item>
17                 <item text="Network setup" entryID="network_setup">self.openSetup("network")</item>-->
18                 <!--<item text="CI"><screen module="Ci" screen="CiSelection" /></item>-->
19                 <!--<item text="Radio"><code>print "radio mode"</code></item>-->
20                 <item level="0" text="Subtitles" entryID="subtitle_selection" weight="40"><screen module="Subtitles" screen="Subtitles" /></item>
21                 <item level="0" text="Timer" entryID="timer_edit"><screen module="TimerEdit" screen="TimerEditList" /></item>
22                 <item level="1" text="VCR scart" entryID="scart_switch" requires="ScartSwitch"><code>self.session.scart.VCRSbChanged(3)</code></item>
23
24                 <menu level="0" text="Information" entryID="info_screen">
25                         <id val="information" />
26                         <item level="1" text="Service" entryID="service_info_screen"><screen module="ServiceInfo" screen="ServiceInfo"/></item>
27                         <item level="0" text="About..." entryID="about_screen"><screen module="About" /></item>
28                 </menu>
29
30                 <item level="1" text="Plugins" entryID="plugin_selection"><screen module="PluginBrowser" screen="PluginBrowser" /></item>
31                 <menu level="0" text="Setup" flushConfigOnClose="1" entryID="setup_selection" >
32                         <id val="setup" />
33                         <!--<menu text="Service Organising">
34                                 <item text="New Bouquets"></item>
35                                 <item text="Add to Bouquets"></item>
36                                 <item text="Edit Bouquets"></item>
37                         </menu>-->
38                         <menu level="0" text="Service Searching" entryID="service_searching_selection">
39                                 <id val="scan" />
40                                 <item text="Tuner configuration" entryID="tuner_setup"><screen module="Satconfig" screen="NimSelection" /></item>
41                                 <item text="Automatic Scan" entryID="auto_scan"><screen module="ScanSetup" screen="ScanSimple" /></item>
42                                 <!--<item text="Automatic Scan"><screen module="ServiceScan" /></item>-->
43                                 <item text="Manual Scan" entryID="manual_scan"><screen module="ScanSetup" /></item>
44                                 <!--<item text="Rotor Control"></item>
45                                 <item text="Edit Transponder"></item>
46                                 <item text="Satfinder"></item>-->
47                         </menu>
48                         <menu level="0" text="System" entryID="system_selection">
49                                 <id val="system" />
50                                 <item level="0" text="Language..." entryID="language_setup"><screen module="LanguageSelection" /></item>
51                                 <item level="0" entryID="usage_setup"><setup id="usage" /></item>
52                                 <item level="0" entryID="timezone_setup"><setup id="timezone"/></item>
53                                 <item level="0" entryID="av_setup"><setup id="avsetup"/></item>
54                                 <!--<item level="0" text="Video Setup" entryID="video_setup"><screen module="VideoSetup" /></item>-->
55                                 <item level="1" entryID="rfmod_setup" requires="RfModulator"><setup id="RFmod"/></item>
56                                 <menu level="0" text="Harddisk" entryID="hardisk_selection" requires="Harddisc">
57                                         <id val="harddisk" />
58                                         <item level="1" entryID="harddisk_setup"><setup id="harddisk"/></item>
59                                         <item level="0" text="Initialization..." entryID="harddisk_init"><screen module="HarddiskSetup" screen="HarddiskSelection"/></item>
60                                 </menu>
61                                 <!--<item text="Remote Control"><setup id="rc" /></item>-->
62                                 <!--<item text="Keyboard"><setup id="keyboard" /></item>-->
63                                 <!--<item text="OSD"><setup id="osd" /></item>-->
64                                 <item><setup level="1" id="lcd" /></item>
65                                 <menu level="1" text="Network..." entryID="network_setup">
66                                         <id val="network" />
67                                         <item level="1" text="Device Setup..." entryID="device_setup"><screen module="NetworkSetup" screen="NetworkAdapterSelection"/></item>
68                                         <item level="1" text="Nameserver Setup..." entryID="dns_setup"><screen module="NetworkSetup" screen="NameserverSetup"/></item>
69                                 </menu>
70                         </menu>
71                         <item level="1" text="Common Interface" entryID="ci_setup" requires="CommonInterface"><screen module="Ci" screen="CiSelection" /></item>
72                         <item level="0" text="Parental control" entryID="parental_setup"><screen module="ParentalControlSetup" screen="ParentalControlSetup" /></item>
73                         <item level="0" text="Startwizard" entryID="startwizzard"><screen module="StartWizard" screen="StartWizard" /></item>
74                         <!--<item text="Parental Control"><setup id="parental" /></item>-->
75                         <!--<item text="Expert -disabled-"><setup id="expert" /></item>-->
76                 </menu>
77                 <!--<item text="Unser Setup">self.openSetup("Blaselfasel")</item>-->
78                 <menu text="Standby / Restart" entryID="standby_restart_list">
79                         <id val="shutdown" />
80                         <!--<item text="Standby"><code>quitMainloop(0)</code></item>-->
81                         <item text="Standby" entryID="standby"><screen module="Standby" screen="Standby"/></item>
82                         <item text="Restart" entryID="restart"><screen module="Standby" screen="TryQuitMainloop">2</screen></item>
83                         <item level="2" text="Restart GUI" entryID="restart_enigma"><screen module="Standby" screen="TryQuitMainloop">3</screen></item>
84                         <item text="Deep Standby" entryID="deep_standby"><screen module="Standby" screen="TryQuitMainloop">1</screen></item>
85                 </menu>
86 </menu>