diff options
Diffstat (limited to 'frontend/wizard/step1.php')
-rw-r--r-- | frontend/wizard/step1.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/frontend/wizard/step1.php b/frontend/wizard/step1.php index ab3fea5..cb8d2bf 100644 --- a/frontend/wizard/step1.php +++ b/frontend/wizard/step1.php @@ -1,12 +1,11 @@ <?php function wizard_init_step1() { - return array('title' => 'Create - Step 1'); + return array('title' => 'Step 1 - Choose Profile'); } function wizard_body_step1() { global $S; $build=&$S['wizard.build']; - $opts=$build->get_buildopts(); - echo '<h3>Step 1</h3>'; + //$opts=$build->get_buildopts(); // TODO use this to set selected="selected" on the current profile echo 'Profile: <select name="pkgdir">'; $r=$S['pdo']->query('SELECT * FROM `profiles` WHERE `flags` NOT LIKE "%d%"'); // d for disabled while ($profile=$r->fetch(PDO::FETCH_ASSOC)) { @@ -21,6 +20,5 @@ function wizard_process_step1() { $profile=new sql_profile($request['pkgdir']); $profileopt=new sql_buildopt($S['wizard.build']->id, 'profile', $profile->pkgdir); $profileopt->write(); - return true; } ?> |