} } elseif ($r["table"] == "bigtree_users") { if (!isset($user_cache[$r["entry"]])) { $user_cache[$r["entry"]] = $admin->getUser($r["entry"]); } $user = $user_cache[$r["entry"]]; if ($user) { $link = '<a target="_blank" href="' . ADMIN_ROOT . 'users/edit/' . $user["id"] . '/">' . $user["name"] . '</a>'; } else { $link = 'Deleted User: '******'<a target="_blank" href="' . $form_link . $r["entry"] . '/">View Entry (id: ' . $r["entry"] . ')</a>'; } else { $link = $r["entry"] . " (Unknown Form)"; } } ?> <li>
<?php $form = BigTreeAutoModule::getForm(end($bigtree["commands"])); $module = $admin->getModule(BigTreeAutoModule::getModuleForForm($form)); $table = $form["table"]; $fields = $form["fields"]; if (!is_array($form["hooks"])) { $form["hooks"] = array("pre" => "", "post" => "", "publish" => ""); } if (!BigTree::tableExists($table)) { ?> <div class="container"> <section> <div class="alert"> <span></span> <h3>Error</h3> </div> <p>The table for this form (<?php echo $table; ?> ) no longer exists.</p> </section> <footer> <a href="javascript:history.go(-1);" class="button">Back</a> <a href="<?php echo DEVELOPER_ROOT; ?> modules/forms/delete/<?php echo $form["id"]; ?> /?module=<?php