[svn r11197] Fix minor display bugs

skala
Julian Prud'homme 19 years ago
parent 6f3ba7c7e6
commit eb592aeb78
  1. 14
      main/dropbox/dropbox_functions.inc.php
  2. 2
      main/dropbox/index.php
  3. 8
      main/exercice/exercice.php

@ -521,7 +521,7 @@ function display_add_form()
<?php echo dropbox_lang("authors")?>:
</td>
<td>
<input type="text" name="authors" value="<?php echo getUserNameFromId($_user['user_id'])?>" size="32" />
<input type="text" name="authors" value="<?php echo getUserNameFromId($_user['user_id'])?>" size="32" style="width: 350px;" />
</td>
</tr>
<tr>
@ -529,7 +529,7 @@ function display_add_form()
<?php echo dropbox_lang("description")?>:
</td>
<td>
<textarea name="description" cols="24" rows="2"></textarea>
<textarea name="description" cols="24" rows="2" style="width: 350px;"></textarea>
</td>
</tr>
<tr>
@ -541,13 +541,13 @@ function display_add_form()
<?php
if ( $dropbox_person -> isCourseTutor || $dropbox_person -> isCourseAdmin)
{
echo 5;
echo 10;
}
else
{
echo 3;
echo 6;
}
?>" multiple style="width: 220px;">
?>" multiple style="width: 350px;">
<?php
//list of all users in this course and all virtual courses combined with it
@ -1021,7 +1021,7 @@ function format_feedback($feedback)
$output.='<strong>'.get_lang('Date').'</strong>: '.$feedback['feedback_date'].'<br />';
$output.='<strong>'.get_lang('Author').'</strong>: '.display_user_link($feedback['author_user_id']).'<br />';
$output.='<strong>'.get_lang('Text').'</strong>: '.$feedback['feedback'].'<hr size="1" noshade/>';
$output.='<strong>'.get_lang('Text').'</strong>: '.nl2br($feedback['feedback']).'<hr size="1" noshade/>';
return $output;
}
@ -1045,7 +1045,7 @@ function feedback_form()
$number_users_who_see_file=mysql_num_rows($result);
if ($number_users_who_see_file>1)
{
$return .= '<textarea name="feedback"></textarea><br /><input type="submit" name="store_feedback" value="Submit">';
$return .= '<textarea name="feedback" style="width: 80%; height: 80px;"></textarea><br /><input type="submit" name="store_feedback" value="Submit">';
}
else
{

@ -497,8 +497,6 @@ if ($_GET['view']=='sent' OR $dropbox_cnf['sent_received_tabs']==false)
$dropbox_file_data[]=$dropbox_file->last_upload_date;
foreach ($dropbox_file->recipients as $recipient)
{
//print_r($recipient);
//echo '<br />';
$receivers_celldata=display_user_link($recipient['user_id'], $recipient['name']).', '.$receivers_celldata;
}
$dropbox_file_data[]=$receivers_celldata;

@ -24,7 +24,7 @@
* @author Olivier Brouckaert, original author
* @author Denes Nagy, HotPotatoes integration
* @author Wolfgang Schneider, code/html cleanup
* @version $Id: exercice.php 11113 2007-02-14 17:43:58Z elixir_inter $
* @version $Id: exercice.php 11197 2007-02-22 16:03:42Z elixir_julian $
*/
@ -671,13 +671,11 @@ if($show == 'test'){
if($_configuration['tracking_enabled'])
{
?>
<br>
<br>
<h3><?php
//add link to breadcrumb
//$interbreadcrumb[]=array("url" => "exercice.php","name" => get_lang('StudentScore'));
echo $is_allowedToEdit?get_lang('StudentResults'):get_lang('YourResults'); ?></h3>
//echo $is_allowedToEdit?get_lang('StudentResults'):get_lang('YourResults'); ?></h3>
<?php
if($show == 'result'){
@ -925,7 +923,7 @@ $message = "<p>You attempt for the test #test# has been viewed/commented/correct
<?php
}else{
echo '<p><img src="'.api_get_path(WEB_IMG_PATH).'show_test_results.gif" align="absbottom">&nbsp;<a href="'.api_add_url_param($_SERVER['REQUEST_URI'],'show=result').'">'.get_lang("Show").' &gt;&gt;</a></p>';
echo '<p><img src="'.api_get_path(WEB_IMG_PATH).'show_test_results.gif" align="absbottom">&nbsp;<a href="'.api_add_url_param($_SERVER['REQUEST_URI'],'show=result').'">'.get_lang("Results").' &gt;&gt;</a></p>';
}// end if($show == 'result')

Loading…
Cancel
Save