[svn r21135] fix language confusion, fix tiny layout bug

skala
Patrick Cool 17 years ago
parent 507d9019f1
commit edd5151a20
  1. 10
      main/calendar/agenda.inc.php

@ -1,4 +1,4 @@
<?php //$Id: agenda.inc.php 21134 2009-05-31 18:40:17Z pcool $ <?php //$Id: agenda.inc.php 21135 2009-05-31 18:52:15Z pcool $
/* For licensing terms, see /dokeos_license.txt */ /* For licensing terms, see /dokeos_license.txt */
/* /*
============================================================================== ==============================================================================
@ -694,10 +694,10 @@ function plus_attachment() {
function plus_repeated_event() { function plus_repeated_event() {
if (document.getElementById('options2').style.display == 'none') { if (document.getElementById('options2').style.display == 'none') {
document.getElementById('options2').style.display = 'block'; document.getElementById('options2').style.display = 'block';
document.getElementById('plus2').innerHTML='&nbsp;<img src=\"../img/div_hide.gif\" alt=\"\" />&nbsp;".get_lang('RepeatedEvent')."'; document.getElementById('plus2').innerHTML='&nbsp;<img src=\"../img/div_hide.gif\" alt=\"\" />&nbsp;".get_lang('RepeatEvent')."';
} else { } else {
document.getElementById('options2').style.display = 'none'; document.getElementById('options2').style.display = 'none';
document.getElementById('plus2').innerHTML='&nbsp;<img src=\"../img/div_show.gif\" alt=\"\" />&nbsp;".get_lang('RepeatedEvent')."'; document.getElementById('plus2').innerHTML='&nbsp;<img src=\"../img/div_show.gif\" alt=\"\" />&nbsp;".get_lang('RepeatEvent')."';
} }
} }
@ -2900,13 +2900,13 @@ function show_add_form($id = '')
{ {
echo ' <div class="row"> echo ' <div class="row">
<div class="label"> <div class="label">
<a href="javascript://" onclick="return plus_repeated_event();"><span id="plus2">'.Display::return_icon('div_show.gif').'&nbsp;'.get_lang('RepeatedEvent').'</span></a> <a href="javascript://" onclick="return plus_repeated_event();"><span id="plus2">'.Display::return_icon('div_show.gif').'&nbsp;'.get_lang('RepeatEvent').'</span></a>
</div> </div>
<div class="formw">'; <div class="formw">';
?> ?>
<table id="options2" style="display: none;"> <table id="options2" style="display: none;">
<tr> <tr>
<td><label for="repeat"><?php echo get_lang('RepeatedEvent');?></label></td> <td><label for="repeat"><?php echo get_lang('RepeatEvent');?></label></td>
<td><input type="checkbox" name="repeat" <?php echo ($repeat?'checked="checked"':'');?>/></td> <td><input type="checkbox" name="repeat" <?php echo ($repeat?'checked="checked"':'');?>/></td>
</tr> </tr>
<tr> <tr>

Loading…
Cancel
Save