[svn r19898] changes in announcements and survey see FS#3987

skala
Carlos Vargas 16 years ago
parent a4f7514bec
commit b0bc2bd008
  1. 4
      main/announcements/announcements.php
  2. 10
      main/survey/survey.lib.php

@ -1,4 +1,4 @@
<?php //$Id: announcements.php 19702 2009-04-10 11:39:21Z pcool $
<?php //$Id: announcements.php 19898 2009-04-20 17:54:24Z cvargas1 $
/*
==============================================================================
Dokeos - elearning and course management software
@ -1112,7 +1112,7 @@ if(!empty($error_message))
($email_ann=='1')?$checked='checked':$checked='';
echo ' <div class="row">
<div class="label">
<input class="checkbox" type="checkbox" value="1" name="email_ann" '.$checked.'>
<input class="checkbox" type="checkbox" value="1" name="email_ann" checked>
</div>
<div class="formw">'.get_lang('EmailOption').'
</div>

@ -24,7 +24,7 @@
* @package dokeos.survey
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University: cleanup, refactoring and rewriting large parts (if not all) of the code
@author Julio Montoya Armas <gugli100@gmail.com>, Dokeos: Personality Test modification and rewriting large parts of the code
* @version $Id: survey.lib.php 19829 2009-04-17 13:49:47Z pcool $
* @version $Id: survey.lib.php 19898 2009-04-20 17:54:24Z cvargas1 $
*
* @todo move this file to inc/lib
* @todo use consistent naming for the functions (save vs store for instance)
@ -1606,7 +1606,7 @@ class yesno extends question
$this->html .= get_lang('DisplayAnswersHorVert');
$this->html .= ' </div>';
$this->html .= ' <div class="formw">';
$this->html .= ' <input name="horizontalvertical" type="radio" value="horizontal" ';
$this->html .= ' <input name="horizontalvertical" type="radio" value="horizontal" checked ';
if ($form_content['horizontalvertical'] == 'horizontal')
{
$this->html .= 'checked="checked"';
@ -1704,7 +1704,7 @@ class multiplechoice extends question
$this->html .= get_lang('DisplayAnswersHorVert');
$this->html .= ' </div>';
$this->html .= ' <div class="formw">';
$this->html .= ' <input name="horizontalvertical" type="radio" value="horizontal" ';
$this->html .= ' <input name="horizontalvertical" type="radio" value="horizontal" checked ';
if ($form_content['horizontalvertical'] == 'horizontal')
{
$this->html .= 'checked="checked"';
@ -1793,7 +1793,7 @@ class personality extends question
$this->html .= ' <tr>';
$this->html .= ' <td align="right" valign="top">&nbsp;</td>';
$this->html .= ' <td>';
$this->html .= ' <input name="horizontalvertical" type="radio" value="horizontal" ';
$this->html .= ' <input name="horizontalvertical" type="radio" value="horizontal" checked ';
if ($form_content['horizontalvertical'] == 'horizontal')
{
@ -1900,7 +1900,7 @@ class multipleresponse extends question
$this->html .= get_lang('DisplayAnswersHorVert');
$this->html .= ' </div>';
$this->html .= ' <div class="formw">';
$this->html .= ' <input name="horizontalvertical" type="radio" value="horizontal" ';
$this->html .= ' <input name="horizontalvertical" type="radio" value="horizontal" checked ';
if ($form_content['horizontalvertical'] == 'horizontal')
{
$this->html .= 'checked="checked"';

Loading…
Cancel
Save