Oberflächenanpassungen für das Testtool:

Button-Style für die Teilgebiete
Größere Buttons und geänderte Beschriftungen
This commit is contained in:
Manfred Kindl
2011-03-03 15:35:39 +00:00
parent 205e3fe84d
commit c369e3c8d3
4 changed files with 16 additions and 11 deletions
+2 -2
View File
@@ -340,7 +340,7 @@ echo '<table width="100%"><tr><td valign="top" width="50%">'.$info.'</td><td ali
if($demo) if($demo)
{ {
//Wenn es sich um ein Demobeispiel handelt, dann wird die Maximale Gesamtzeit angezeigt //Wenn es sich um ein Demobeispiel handelt, dann wird die Maximale Gesamtzeit angezeigt
echo "<input type=\"button\" value=\"Start\" onclick=\"document.location.href='$PHP_SELF?gebiet_id=$gebiet_id&amp;start=true'\" /> "; echo "<input type=\"button\" style=\"width:110px; height:40px; white-space:normal\" value=\"Gebiet starten Start chapter\" onclick=\"document.location.href='$PHP_SELF?gebiet_id=$gebiet_id&amp;start=true'\" /> ";
echo $minute.':'.$sekunde.' Minuten '; echo $minute.':'.$sekunde.' Minuten ';
} }
else else
@@ -518,7 +518,7 @@ if($frage->frage_id!='')
if(!$demo) if(!$demo)
{ {
echo "<input type=\"submit\" name=\"submitantwort\" value=\"Speichern\" />"; echo "<input style=\"width:150px; height:45px; white-space:normal\" type=\"submit\" name=\"submitantwort\" value=\"Speichern und weiter Save and next\" />";
} }
echo "</form>"; echo "</form>";
echo '<br/><br/><br/>'; echo '<br/><br/><br/>';
+5 -1
View File
@@ -31,6 +31,10 @@
<body> <body>
<br><br><br> <br><br><br>
<center><b>Die Maximalzeit für dieses Gebiet ist abgelaufen, oder alle Fragen wurden beantwortet!</b></center> <center><b>Die Maximalzeit für dieses Gebiet ist abgelaufen, oder alle Fragen wurden beantwortet.
<br>_____________________________
<br>
<br>
The time for this part has expired or you have answered all the questions.</b></center>
</body> </body>
</html> </html>
+4 -4
View File
@@ -186,11 +186,11 @@ if(isset($_POST['save']) && isset($_SESSION['prestudent_id']))
echo '<FORM accept-charset="UTF-8" action="'. $_SERVER['PHP_SELF'].'" method="post" enctype="multipart/form-data">'; echo '<FORM accept-charset="UTF-8" action="'. $_SERVER['PHP_SELF'].'" method="post" enctype="multipart/form-data">';
echo '<input type="hidden" name="pruefling_id" value="'.$pruefling->pruefling_id.'">'; echo '<input type="hidden" name="pruefling_id" value="'.$pruefling->pruefling_id.'">';
echo '<table>'; echo '<table>';
echo '<tr><td>Semester:</td><td><input type="text" name="semester" size="1" maxlength="1" value="'.$pruefling->semester.'"></td></tr>'; echo '<tr><td>Semester:</td><td><input type="text" name="semester" size="1" maxlength="1" value="'.$pruefling->semester.'">&nbsp;<input type="submit" name="save" value="Semester ändern"></td></tr>';
//echo '<tr><td>ID Nachweis:</td><td><INPUT type="text" maxsize="50" name="idnachweis" value="'.$pruefling->idnachweis.'"></td></tr>'; //echo '<tr><td>ID Nachweis:</td><td><INPUT type="text" maxsize="50" name="idnachweis" value="'.$pruefling->idnachweis.'"></td></tr>';
echo '<tr><td></td><td><input type="submit" name="save" value="OK"></td>'; //echo '<tr><td></td><td><input type="submit" name="save" value="Semester ändern"></td>';
echo '</table>'; echo '</table>';
echo '</FORM><br><br>'; echo '</FORM><br>';
//Wenn die Sprachwahl fuer diesen Studiengang aktiviert ist, dann die Sprachen anzeigen //Wenn die Sprachwahl fuer diesen Studiengang aktiviert ist, dann die Sprachen anzeigen
if($stg_obj->testtool_sprachwahl) if($stg_obj->testtool_sprachwahl)
@@ -218,7 +218,7 @@ if(isset($_POST['save']) && isset($_SESSION['prestudent_id']))
} }
} }
} }
echo '<br><br><br><b>Klicken Sie links auf ein Teilgebiet</b><br><b>Select a topic on the left side</b>';
if($pruefling->pruefling_id!='') if($pruefling->pruefling_id!='')
{ {
$_SESSION['pruefling_id']=$pruefling->pruefling_id; $_SESSION['pruefling_id']=$pruefling->pruefling_id;
+5 -4
View File
@@ -49,7 +49,7 @@ if (isset($_SESSION['pruefling_id']))
</td></tr>'; </td></tr>';
echo '<tr><td nowrap><img src="../../skin/images/menu_item.gif" width="7" height="9">&nbsp;Gebiet</td></tr>'; echo '<tr><td nowrap><img src="../../skin/images/menu_item.gif" width="7" height="9">&nbsp;Gebiet</td></tr>';
echo '<tr><td nowrap>'; echo '<tr><td nowrap>';
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0" id="Gebiet" style="display: visible;">'; echo '<table /*width="100%"*/ border="0" cellspacing="0" cellpadding="0" id="Gebiet" style="display: visible;">';
$qry = "SELECT * FROM testtool.vw_ablauf WHERE studiengang_kz='".addslashes($_SESSION['studiengang_kz'])."' AND semester='".addslashes($_SESSION['semester'])."' ORDER BY reihung"; $qry = "SELECT * FROM testtool.vw_ablauf WHERE studiengang_kz='".addslashes($_SESSION['studiengang_kz'])."' AND semester='".addslashes($_SESSION['semester'])."' ORDER BY reihung";
//echo $qry; //echo $qry;
@@ -100,10 +100,11 @@ if (isset($_SESSION['pruefling_id']))
} }
echo '<tr> echo '<tr>
<td width="10" nowrap>&nbsp;</td> <td width="10" class="ItemTesttoolLeft" nowrap>&nbsp;</td>
<td nowrap> <td class="ItemTesttool" nowrap>
<a class="Item" href="frage.php?gebiet_id='.$row->gebiet_id.'" onclick="document.location.reload()" target="content" style="'.$style.'"><img src="../../skin/images/menu_item.gif" width="7" height="9">&nbsp;'.$row->gebiet_bez.'</a> <a class="ItemTesttool" href="frage.php?gebiet_id='.$row->gebiet_id.'" onclick="document.location.reload()" target="content" style="'.$style.'">'.$row->gebiet_bez.'</a>
</td> </td>
<td width="10" class="ItemTesttoolRight" nowrap>&nbsp;</td>
</tr>'; </tr>';
} }
else else