mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-08 23:59:28 +00:00
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
AuthName "Technikum-Wien"
|
||||
AuthType Basic
|
||||
AuthLDAPURL ldap://ldap.technikum-wien.at/ou=People,dc=technikum-wien,dc=at?uid?one?objectclass=posixAccount
|
||||
AuthLDAPGroupAttributeIsDN Off
|
||||
AuthLDAPGroupAttribute memberuid
|
||||
require group cn=fhadmin,ou=Group,dc=technikum-wien,dc=at
|
||||
require group cn=hadesadm,ou=Group,dc=technikum-wien,dc=at
|
||||
require user tw01e061
|
||||
require user masik
|
||||
require user dpt
|
||||
@@ -106,6 +106,7 @@ if(isset($_POST['speichern']))
|
||||
$gebiet->level_sprung_ab = $_POST['level_sprung_ab'];
|
||||
$gebiet->updateamum = date('Y-m-d H:i:s');
|
||||
$gebiet->updatevon = $user;
|
||||
$gebiet->antwortenprozeile = $_POST['antwortenprozeile'];
|
||||
|
||||
if($gebiet->save(false))
|
||||
{
|
||||
@@ -163,6 +164,8 @@ if($gebiet_id!='')
|
||||
echo '</tr><tr>';
|
||||
echo '<td>Maximale Fragenanzahl</td><td><input type="text" size="5" maxlength="5" name="maxfragen" value="'.htmlentities($gebiet->maxfragen).'"></td>';
|
||||
echo '</tr><tr>';
|
||||
echo '<td>Antworten pro Zeile</td><td><input type="text" size="5" maxlength="5" name="antwortenprozeile" value="'.htmlentities($gebiet->antwortenprozeile).'"></td>';
|
||||
echo '</tr><tr>';
|
||||
echo '<td>Start Level</td><td><input type="text" size="5" maxlength="5" name="level_start" value="'.htmlentities($gebiet->level_start).'"></td>';
|
||||
echo '</tr><tr>';
|
||||
echo '<td>Richtige Fragen bis Levelaufstieg</td><td><input type="text" size="5" maxlength="5" name="level_sprung_auf" value="'.htmlentities($gebiet->level_sprung_auf).'"></td>';
|
||||
|
||||
@@ -51,7 +51,7 @@ if(isset($_GET['frage_id']))
|
||||
else
|
||||
$frage_id = '';
|
||||
|
||||
$MAX_VORSCHLAEGE_PRO_ZEILE=4;
|
||||
//$MAX_VORSCHLAEGE_PRO_ZEILE=4;
|
||||
?>
|
||||
<?xml version="1.0" ?>
|
||||
<?xml-stylesheet type="text/xsl" href="mathml.xsl" ?>
|
||||
@@ -440,7 +440,7 @@ if($frage->frage_id!='')
|
||||
echo "</td>";
|
||||
$anzahl++;
|
||||
|
||||
if($anzahl>$MAX_VORSCHLAEGE_PRO_ZEILE)
|
||||
if($anzahl>$gebiet->antwortenprozeile)
|
||||
{
|
||||
echo '</tr><tr>';
|
||||
$anzahl=1;
|
||||
|
||||
Reference in New Issue
Block a user