[svn r17969] in styles height=100% and exercise has improved the presentation of options question see FS#3519

skala
Carlos Vargas 16 years ago
parent 0204d33334
commit 25226290e5
  1. 2
      main/css/academica/default.css
  2. 2
      main/css/baby_orange/default.css
  3. 2
      main/css/corporate/default.css
  4. 2
      main/css/cosmic_campus/default.css
  5. 2
      main/css/dokeos_classic/default.css
  6. 2
      main/css/dokeos_classic_2D/default.css
  7. 2
      main/css/medical/default.css
  8. 2
      main/css/public_admin/default.css
  9. 2
      main/css/silver_line/default.css
  10. 2
      main/css/sober_brown/default.css
  11. 34
      main/exercice/question.class.php

@ -419,7 +419,7 @@ form span.form_error {
border-bottom:1px solid #4171b5;
border-top:1px solid #4171b5;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -417,7 +417,7 @@ form span.form_error {
border-bottom:1px solid #4171b5;
border-top:1px solid #4171b5;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -460,7 +460,7 @@ form span.form_error {
border-bottom:1px solid #999999;
border-top:1px solid #999999;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -471,7 +471,7 @@ form span.form_error {
border-bottom:1px solid #7171b7;
border-top:1px solid #7171b7;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -1844,7 +1844,7 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
border-bottom:1px solid #999999;
border-top:1px solid #999999;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -2429,7 +2429,7 @@ input.forms {
border-bottom:1px solid #999999;
border-top:1px solid #999999;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -1828,7 +1828,7 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
border-bottom:1px solid #999999;
border-top:1px solid #999999;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -1866,7 +1866,7 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
border-bottom:1px solid #999999;
border-top:1px solid #999999;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -1931,7 +1931,7 @@ div.system_announcement {
border-bottom:1px solid #999999;
border-top:1px solid #999999;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -1896,7 +1896,7 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
border-bottom:1px solid #999999;
border-top:1px solid #999999;
background-color:#efefef;
height:64px;
height:100%;
padding:2px;
margin-bottom: 5px;
vertical-align:middle;

@ -1,4 +1,4 @@
<?php // $Id: question.class.php 17954 2009-01-22 22:55:56Z cfasanando $
<?php // $Id: question.class.php 17969 2009-01-23 19:20:33Z cvargas1 $
/*
==============================================================================
@ -28,7 +28,7 @@
* File containing the Question class.
* @package dokeos.exercise
* @author Olivier Brouckaert
* @version $Id: question.class.php 17954 2009-01-22 22:55:56Z cfasanando $
* @version $Id: question.class.php 17969 2009-01-23 19:20:33Z cvargas1 $
*/
@ -1070,7 +1070,7 @@ abstract class Question
static function display_type_menu ()
{
global $exerciseId;
//echo '<strong>'.get_lang('AddQ').' :</strong> <div>';
echo '<div >';
foreach(self::$questionTypes as $i=>$a_type)
{
@ -1081,30 +1081,30 @@ abstract class Question
eval('$img = '.$a_type[1].'::$typePicture;');
eval('$explanation = get_lang('.$a_type[1].'::$explanationLangVar);');
//echo '<div id="answer_type_'.$i.'" style="float: left; width:120px; text-align:center">';
echo '<div id="answer_type_'.$i.'" style="float: left; width:120px; text-align:center">';
echo '<a href="admin.php?newQuestion=yes&answerType='.$i.'">';
//echo '<div>';
echo '<div>';
Display::display_icon($img, $explanation, array('align'=>'middle'));
//echo '</div>';
//echo '<div>';
echo '</div>';
echo '<div>';
echo $explanation;
//echo '</div>';
echo '</div>';
echo '</a>';
//echo '</div>';
echo '</div>';
}
//echo '<div id="answer_type_'.$i.'" style="float: left; width:120px; text-align:center">';
echo '<div id="answer_type_'.$i.'" style="float: left; width:120px; text-align:center">';
echo '<a href="question_pool.php?fromExercise='.$exerciseId.'">';
//echo '<div>';
echo '<div>';
Display::display_icon('database.gif', get_lang('GetExistingQuestion'), array('align'=>'middle'));
//echo '</div>';
//echo '<div>';
echo '</div>';
echo '<div>';
echo get_lang('GetExistingQuestion');
//echo '</div>';
echo '</div>';
echo '</a>';
//echo '</div>';
//echo '</div>';
//echo '<div style="clear:both"></div>';
echo '</div>';
echo '</div>';
echo '<div style="clear:both"></div>';
}
}

Loading…
Cancel
Save