From f11a4cf77fc094a1a5b9becfe5207e496f516b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sun, 25 Mar 2007 16:10:15 +0000 Subject: [PATCH] Add and use testData::objectDisplayAddItemHelp() --- include/testData.php | 11 +++++++++++ testResults.php | 6 +----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/include/testData.php b/include/testData.php index 1addc4e..1182614 100644 --- a/include/testData.php +++ b/include/testData.php @@ -862,6 +862,17 @@ class testData{ /* STUB */ return TRUE; } + + function objectDisplayAddItemHelp() + { + echo "

This is the screen for inputing test information so that others "; + echo "looking at the database will know \n"; + echo "what was working on a particular release of Wine.

\n"; + echo "

Please be as detailed as you can.

\n"; + echo "

If you cannot find your distribution in the list of existing "; + echo "distributions, please add it in the \n"; + echo "provided field.

\n\n"; + } } ?> diff --git a/testResults.php b/testResults.php index 985767e..89c2f37 100644 --- a/testResults.php +++ b/testResults.php @@ -114,11 +114,7 @@ if ($aClean['sSub']) //help - echo "

This is the screen for inputing test information so that others looking at the database will know \n"; - echo "what was working on a particular release of Wine.

\n"; - echo "

Please be as detailed as you can.

\n"; - echo "

If you cannot find your distribution in the list of existing distributions, please add it in the \n"; - echo "provided field.

\n\n"; + $oTest->objectDisplayAddItemHelp(); if(!empty($errors)) {