+ <step id="nextscan">
+ <condition>
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
+ </condition>
+ <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="finisheddefaultsatlists" />
+ </list>
+ </step>
+ <step id="finisheddefaultsatlists">
+ <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"].index == 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"].index == 0:
+ self.session.open(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin"))
+ </code>
+ </step>
+ <step id="finishparentalsetup">