Advertisement
Guest User

Untitled

a guest
Jul 18th, 2016
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <window type="buttonMenu">
  3. <defaultcontrol>9000</defaultcontrol>
  4. <coordinates>
  5. <left>0</left>
  6. <top>0</top>
  7. </coordinates>
  8. <controls>
  9. <include>fadebackground</include>
  10. <control type="image"><!-- Dialog background image -->
  11. <left>440</left>
  12. <top>102</top>
  13. <width>380</width>
  14. <height>512</height>
  15. <texture border="9">button-menu-background.png</texture>
  16. </control>
  17. <control type="label"><!-- Dialog heading -->
  18. <left>450</left>
  19. <top>112</top>
  20. <width>360</width>
  21. <height>31</height>
  22. <label>$LOCALIZE[31558]$INFO[Container(9000).NumItems,(,)]</label>
  23. <align>center</align>
  24. </control>
  25. <control type="button"><!-- Touch mouse close button -->
  26. <left>796</left>
  27. <top>94</top>
  28. <width>32</width>
  29. <height>32</height>
  30. <texturefocus>touch-close.png</texturefocus>
  31. <texturenofocus>touch-close.png</texturenofocus>
  32. <onclick>Close</onclick>
  33. <visible>Skin.HasSetting(touch-controls)</visible>
  34. </control>
  35. <control type="image">
  36. <left>450</left>
  37. <top>148</top>
  38. <width>360</width>
  39. <height>4</height>
  40. <texture>separator.png</texture>
  41. </control>
  42. <control type="grouplist" id="9000">
  43. <left>450</left>
  44. <top>154</top>
  45. <width>360</width>
  46. <height>450</height>
  47. <onleft>Close</onleft>
  48. <onright>Close</onright>
  49. <onup>Close</onup>
  50. <ondown>Close</ondown>
  51. <aligny>top</aligny>
  52. <control type="button" id="3"><!-- Shutdown -->
  53. <width>360</width>
  54. <height>50</height>
  55. <align>center</align>
  56. <aligny>center</aligny>
  57. <textwidth>330</textwidth>
  58. <font>font11</font>
  59. <onclick>SetProperty(ShutdownKodi,true,Home)</onclick>
  60. <onclick>Powerdown()</onclick>
  61. <visible>System.CanPowerDown</visible>
  62. <label>$LOCALIZE[13016]</label>
  63. </control>
  64. <control type="button" id="4"><!-- Custom shutdown timer -->
  65. <width>360</width>
  66. <height>50</height>
  67. <align>center</align>
  68. <aligny>center</aligny>
  69. <textwidth>330</textwidth>
  70. <font>font11</font>
  71. <onclick>AlarmClock(shutdowntimer,ShutDown())</onclick>
  72. <label>$LOCALIZE[20150]</label>
  73. <visible>no</visible>
  74. </control>
  75. <control type="button" id="5"><!-- Cancel shutdown timer -->
  76. <width>360</width>
  77. <height>50</height>
  78. <align>center</align>
  79. <aligny>center</aligny>
  80. <textwidth>330</textwidth>
  81. <font>font11</font>
  82. <onclick>CancelAlarm(shutdowntimer)</onclick>
  83. <label>$LOCALIZE[20151] $INFO[System.Alarmpos,(,)]</label>
  84. <visible>System.HasAlarm(shutdowntimer)</visible>
  85. </control>
  86. <control type="button" id="6"><!-- Suspend -->
  87. <width>360</width>
  88. <height>50</height>
  89. <align>center</align>
  90. <aligny>center</aligny>
  91. <textwidth>330</textwidth>
  92. <font>font11</font>
  93. <onclick>SetProperty(ShutdownKodi,true,Home)</onclick>
  94. <onclick>Suspend()</onclick>
  95. <visible>no</visible>
  96. <label>$LOCALIZE[13011]</label>
  97. </control>
  98. <control type="button" id="7"><!-- Hibernate -->
  99. <width>360</width>
  100. <height>50</height>
  101. <align>center</align>
  102. <aligny>center</aligny>
  103. <textwidth>330</textwidth>
  104. <font>font11</font>
  105. <onclick>SetProperty(ShutdownKodi,true,Home)</onclick>
  106. <onclick>Hibernate()</onclick>
  107. <visible>System.CanHibernate</visible>
  108. <label>$LOCALIZE[13010]</label>
  109. </control>
  110. <control type="button" id="8"><!-- Reboot -->
  111. <width>360</width>
  112. <height>50</height>
  113. <align>center</align>
  114. <aligny>center</aligny>
  115. <textwidth>330</textwidth>
  116. <font>font11</font>
  117. <onclick>SetProperty(ShutdownKodi,true,Home)</onclick>
  118. <onclick>Reset()</onclick>
  119. <visible>System.CanReboot</visible>
  120. <label>$LOCALIZE[13013]</label>
  121. </control>
  122. <control type="button" id="9"><!-- Logoff -->
  123. <width>360</width>
  124. <height>50</height>
  125. <align>center</align>
  126. <aligny>center</aligny>
  127. <textwidth>330</textwidth>
  128. <font>font11</font>
  129. <onclick>Dialog.Close(all,true)</onclick>
  130. <onclick>System.LogOff</onclick>
  131. <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
  132. <visible>[System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)] + System.Loggedon</visible>
  133. </control>
  134. <control type="togglebutton" id="10"><!-- Master mode -->
  135. <width>360</width>
  136. <height>50</height>
  137. <label>$LOCALIZE[20046]</label>
  138. <altlabel>$LOCALIZE[20045]</altlabel>
  139. <align>center</align>
  140. <aligny>center</aligny>
  141. <textwidth>330</textwidth>
  142. <font>font11</font>
  143. <usealttexture>!System.IsMaster</usealttexture>
  144. <onclick>Mastermode</onclick>
  145. <visible>System.HasLocks</visible>
  146. </control>
  147. <control type="button" id="11"><!-- Reboot to NAND -->
  148. <width>360</width>
  149. <height>50</height>
  150. <align>center</align>
  151. <aligny>center</aligny>
  152. <textwidth>330</textwidth>
  153. <font>font11</font>
  154. <onclick>System.ExecWait("/usr/sbin/rebootfromnand")</onclick>
  155. <visible>System.CanReboot</visible>
  156. <label>Reboot to NAND</label>
  157. </control>
  158. <control type="button" id="12"><!-- Inhibit idle shutdown -->
  159. <width>360</width>
  160. <height>50</height>
  161. <align>center</align>
  162. <aligny>center</aligny>
  163. <textwidth>330</textwidth>
  164. <font>font11</font>
  165. <onclick>InhibitIdleShutdown(true)</onclick>
  166. <label>$LOCALIZE[13017]</label>
  167. <visible>System.HasShutdown + !System.IsInhibit</visible>
  168. </control>
  169. <control type="button" id="13"><!-- Allow idel shutdown -->
  170. <width>360</width>
  171. <height>50</height>
  172. <align>center</align>
  173. <aligny>center</aligny>
  174. <textwidth>330</textwidth>
  175. <font>font11</font>
  176. <onclick>InhibitIdleShutdown(false)</onclick>
  177. <label>$LOCALIZE[13018]</label>
  178. <visible>System.HasShutdown + System.IsInhibit</visible>
  179. </control>
  180. </control>
  181. </controls>
  182. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement