This commit is contained in:
Christian Paminger
2007-04-12 12:04:56 +00:00
parent 69eb0d1ea1
commit be7313ec0c
3 changed files with 29 additions and 25 deletions
+8 -6
View File
@@ -28,6 +28,8 @@ require_once('../../include/functions.inc.php');
require_once('../../include/frage.class.php');
require_once('../../include/vorschlag.class.php');
require_once('../../include/antwort.class.php');
$PHP_SELF=$_SERVER["PHP_SELF"];
session_start();
//testumgebung
@@ -48,10 +50,9 @@ else
$frage_id = '';
$MAX_VORSCHLAEGE_PRO_ZEILE=4;
?>
<?xml version="1.0" encoding="ISO-8859-15"?>
<?xml-stylesheet type="text/xsl" href="mathml.xsl"?>
?>
<?xml version="1.0" encoding="ISO-8859-15" ?>
<?xml-stylesheet type="text/xsl" href="mathml.xsl" ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@@ -106,7 +107,8 @@ $MAX_VORSCHLAEGE_PRO_ZEILE=4;
function checkantwort()
{
val = document.getElementById('antwort').value;
antwort = document.getElementById('antwort');
val=antwort.getAttribut('value');
if(val.length>1)
{
alert('Antwort darf nur 1 Buchstabe sein');
@@ -383,4 +385,4 @@ else
?>
</body>
</html>
</html>