From 141bbe516303d1d3e35e8419eb7caf9167da6dac Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Thu, 8 Feb 2007 16:56:01 +0100 Subject: [PATCH] [svn r11086] update to integrate new CSS --- main/blog/blog_admin.php | 8 +++---- main/calendar/agenda.inc.php | 26 ++++++++++++--------- main/exercice/hotspot_admin.inc.php | 12 +++++----- main/exercice/matching.class.php | 36 ++++++++++++++--------------- 4 files changed, 43 insertions(+), 39 deletions(-) diff --git a/main/blog/blog_admin.php b/main/blog/blog_admin.php index bd1899945d..da6dc5e586 100644 --- a/main/blog/blog_admin.php +++ b/main/blog/blog_admin.php @@ -94,10 +94,10 @@ api_display_tool_title($nameTools); echo "", "scormbuilder  ".get_lang('AddBlog').""; echo ""; - echo "", - "\n", - "\n", - "\n", + echo "", + "\n", + "\n", + "\n", "\n"; Blog::display_blog_list(); echo "
",get_lang('Title'),"",get_lang('Subtitle'),"",get_lang('Modify'),"
",get_lang('Title'),"",get_lang('Subtitle'),"",get_lang('Modify'),"
"; diff --git a/main/calendar/agenda.inc.php b/main/calendar/agenda.inc.php index 079f3e2c03..8265dea6f8 100644 --- a/main/calendar/agenda.inc.php +++ b/main/calendar/agenda.inc.php @@ -1,4 +1,4 @@ -\n"; $month_bar=""; $event_list=""; + $counter=0; while ($myrow=mysql_fetch_array($result)) { - + echo "\n"; /*-------------------------------------------------- display: the month bar --------------------------------------------------*/ @@ -1482,7 +1482,7 @@ function display_agenda_items() - echo "\t\t\n"; + echo ""; echo "\t\t\n\t\t"; + echo ""; + + $counter++; /*-------------------------------------------------- display: jump-to-top icon --------------------------------------------------*/ echo ""; + echo "
\n"; + echo "\t\t\n"; // adding an internal anchor echo "\t\t\t"; @@ -1490,7 +1490,7 @@ function display_agenda_items() // the icons. If the message is sent to one or more specific users/groups // we add the groups icon // 2do: if it is sent to groups we display the group icon, if it is sent to a user we show the user icon - echo ""; + echo ""; if ($myrow['to_group_id']!=='0') { echo ""; @@ -1499,7 +1499,7 @@ function display_agenda_items() echo "\t\t\n"; // the message has been sent to - echo "\t\t".get_lang("SentTo").": "; + echo "\t\t".get_lang("SentTo").": "; $sent_to=sent_to(TOOL_CALENDAR_EVENT, $myrow["ref"]); $sent_to_form=sent_to_form($sent_to); echo $sent_to_form; @@ -1508,7 +1508,7 @@ function display_agenda_items() /*-------------------------------------------------- display: the title --------------------------------------------------*/ - echo "\t
".get_lang("StartTimeWindow").": "; echo ucfirst(format_locale_date($dateFormatLong,strtotime($myrow["start_date"])))."   "; echo ucfirst(strftime($timeNoSecFormat,strtotime($myrow["start_date"]))).""; @@ -1529,7 +1529,8 @@ function display_agenda_items() $content = $myrow['content']; $content = make_clickable($content); $content = text_filter($content); - echo "\t
"; + echo "
"; echo ' '; @@ -1557,7 +1558,7 @@ function display_agenda_items() $event_list.=$myrow['id'].','; - echo "
"; + echo "
"; if (is_allowed_to_edit() OR api_get_course_setting('allow_user_edit_agenda')) { // edit @@ -1576,16 +1577,19 @@ function display_agenda_items() $image_visibility="invisible"; } echo "", - "\"".get_lang("Visible")."\"

"; + "\"".get_lang("Visible")."\""; } echo "
\"to


"; } // end while ($myrow=mysql_fetch_array($result)) -echo ""; + if(!empty($event_list)) { diff --git a/main/exercice/hotspot_admin.inc.php b/main/exercice/hotspot_admin.inc.php index 3018c2dd5e..06509a0e77 100644 --- a/main/exercice/hotspot_admin.inc.php +++ b/main/exercice/hotspot_admin.inc.php @@ -325,17 +325,17 @@ if($modifyAnswers)
- +
- - - - - + + + + +
'.get_lang('MakeCorrespond').' -
 **
 **
- -
+ + + + + '; $form -> addElement ('html', $html); @@ -185,15 +185,15 @@ class Matching extends Question {


-
'.get_lang('Number').' - - + + '.get_lang('Answer').' - - + + '.get_lang('MatchesTo').' - - + + '.get_lang('Weighting').' - -
- -
+ + + + + '; $form -> addElement ('html', $html);
'.get_lang('Number').' - - + + '.get_lang('Answer').' - -