diff options
author | deva <deva> | 2009-04-30 08:01:13 +0000 |
---|---|---|
committer | deva <deva> | 2009-04-30 08:01:13 +0000 |
commit | 8030e0c5506ace5ef7705bfe6c49d7badc4691a2 (patch) | |
tree | a51c4b360d1c694b128d02563553832802568430 /utils/modules/members.php | |
parent | 7fb502f4d526cbd4f80904116e5aab259a9e2371 (diff) |
Lars fix - part2
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": |