+ <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" />