+self["arrowup"].moveTo(800, 310, 1)
+self["arrowup"].startMoving()
+self["arrowup2"].moveTo(800, 310, 1)
+self["arrowup2"].startMoving()
+ </code>
+ <list>
+ <listentry caption="Yes, do an automatic scan now" step="scan" />
+ <listentry caption="Yes, do a manual scan now" step="manualscan" />
+ <listentry caption="No, scan later manually" step="parentalcontrol" />
+ </list>
+ </step>
+ <step id="scan" nextstep="parentalcontrol">
+ <text value="What do you want to scan?" />
+ <config screen="ScanSimple" module="ScanSetup" type="ConfigList" />
+ </step>
+ <step id="manualscan">
+ <text value="What do you want to scan?" />
+ <config screen="ScanSetup" module="ScanSetup" type="ConfigList" />
+ </step>
+ <step id="nextscan">
+ <text value="Do you want to do another manual service scan?" />
+ <list>
+ <listentry caption="Yes, do another manual scan now" step="manualscan" />
+ <listentry caption="No, scan later manually" step="parentalcontrol" />
+ </list>
+ </step>
+ <step id="parentalcontrol">
+ <text value="Do you want to enable the parental control feature on your dreambox?" />
+ <list>
+ <listentry caption="Yes" step="parentalsetup" />
+ <listentry caption="No" step="end" />
+ </list>
+ <code pos="after">
+if self["list"].getSelectedIndex() == 0:
+ config.ParentalControl.configured.value = True
+else:
+ config.ParentalControl.configured.value = False
+config.ParentalControl.configured.save()
+ </code>
+ </step>
+ <step id="parentalsetup">
+ <text value="You need to set a pin code and hide it from your children.\n\nDo you want to set the pin now?" />
+ <list>
+ <listentry caption="Yes" step="finishparentalsetup" />
+ <listentry caption="No" step="finishparentalsetup" />
+ </list>
+ <code pos="after">
+from ParentalControlSetup import ParentalControlChangePin
+if self["list"].getSelectedIndex() == 0:
+ self.session.open(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin"))