# HG changeset patch # User Nathan Phillip Brink # Date 2011-02-06 22:50:15 # Node ID 6efbb3695b2784d91121ddccc2c62a71920f7fc2 # Parent 1ae3c9d7f964df8085b7aeb9dc56583a48c9c1a7 Support prefilling the feedback form's feedback textbox with a feedback= querystring and also prefill the chosen college. diff --git a/feedback.php b/feedback.php --- a/feedback.php +++ b/feedback.php @@ -26,6 +26,12 @@ include_once 'inc/class.page.php'; $fromdom = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $httpagenti = $_SERVER['HTTP_USER_AGENT']; +/* some prefill support */ +$school = $feedbackpage->get_school(); +$feedback_text = ''; +if (isset($_GET['feedback'])) + $feedback_text = $_GET['feedback']; + $n = "\n"; ?> @@ -38,14 +44,14 @@ include_once 'inc/class.page.php';

Feedback Form


(if you want us to get back to you)
- (if relevant to your feedback)
+ (if relevant to your feedback)

Overall Rating:
Good Buggy Needs more features Don't Know

General Comments

- +