diff options
Diffstat (limited to 'utils/modules/members.php')
-rw-r--r-- | utils/modules/members.php | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/utils/modules/members.php b/utils/modules/members.php index 60037a0..f06380a 100644 --- a/utils/modules/members.php +++ b/utils/modules/members.php @@ -90,11 +90,6 @@ class Members { $member = new Member($this->getNextID(), $vars["name"], $vars["image"], $vars["startyear"], $vars["stopyear"], $tags, $this->tags); echo "<p>Looking ok?</p>"; - echo "<div class=\"preview\">\n"; - echo "<div class=\"content\">\n"; - echo $member->show(); - echo "</div>\n"; - echo "</div>\n"; $form = new Form("add"); $form->addWidget(new Hidden($vars)); $form->addWidget(new Button("yes")); @@ -104,6 +99,11 @@ class Members { $form->addWidget(new Hidden($vars)); $form->addWidget(new Button("no")); $form->render(); + echo "<div class=\"preview\">\n"; + echo "<div class=\"content\">\n"; + echo $member->show(); + echo "</div>\n"; + echo "</div>\n"; break; case "retry": @@ -148,14 +148,7 @@ class Members { $tags = $this->getTagsFromArray($vars, "tags_"); $member = new Member($vars["memberid"], $vars["name"], $vars["image"], $vars["startyear"], $vars["stopyear"], $tags, $this->tags); - echo "<div style=\"font-size: 100px;\">Looking ok?</div>"; - echo "<div style=\"font-size: 50px;\">Remember to click 'yes' or 'no'</div>"; echo "<p>Looking ok?</p>"; - echo "<div class=\"preview\">\n"; - echo "<div class=\"content\">\n"; - echo $member->show(); - echo "</div>\n"; - echo "</div>\n"; $form = new Form("add"); $form->addWidget(new Hidden($vars)); $form->addWidget(new Button("yes")); @@ -165,6 +158,12 @@ class Members { $form->addWidget(new Hidden($vars)); $form->addWidget(new Button("no")); $form->render(); + + echo "<div class=\"preview\">\n"; + echo "<div class=\"content\">\n"; + echo $member->show(); + echo "</div>\n"; + echo "</div>\n"; break; case "edit": |