From: gustav_delius Date: Sun, 12 Sep 2004 15:06:29 +0000 (+0000) Subject: fixed capitalization and quoting of attribute values X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1c61c8d6bc5b082e7350686f6814f3b028332f6d;p=moodle.git fixed capitalization and quoting of attribute values --- diff --git a/mod/chat/backuplib.php b/mod/chat/backuplib.php index af7dc77a16..b6e34f8855 100644 --- a/mod/chat/backuplib.php +++ b/mod/chat/backuplib.php @@ -1,4 +1,4 @@ -'; echo ''; print_user_picture($userinfo['user']->id, 0, $userinfo['user']->picture, false, false, false); - echo ""; - echo "

"; + echo ""; + echo "

"; echo fullname($userinfo['user'])."
"; echo "$str->idle: ".format_time($lastping, $str)." "; echo 'chat_refresh_userlist) + 2)."; URL=http://$CFG->chat_serverhost:$CFG->chat_serverport/?win=users&". + $header .= "Refresh: ".(intval($CFG->chat_refresh_userlist) + 2)."; url=http://$CFG->chat_serverhost:$CFG->chat_serverport/?win=users&". "chat_sid=".$sessionid."&groupid=".$this->sets_info[$sessionid]['groupid']."\n"; $header .= "\n"; diff --git a/mod/chat/config.html b/mod/chat/config.html index a08339d4c1..a8e5c5408d 100644 --- a/mod/chat/config.html +++ b/mod/chat/config.html @@ -1,17 +1,17 @@

- +
- - - + + - - + + - - + + - - - + + - - - + + - - + + - - + + - - + + -
+
()

chat_method:

chat_method:

chat_refresh_userlist:

chat_refresh_userlist:

- +

chat_old_ping:

chat_old_ping:

- + @@ -44,16 +44,16 @@

+

()

chat_refresh_room:

chat_refresh_room:

- + @@ -61,43 +61,43 @@

+

()

chat_serverhost:

chat_serverhost:

- +

chat_serverip:

chat_serverip:

- +

chat_serverport:

chat_serverport:

- +

chat_servermax:

chat_servermax:

- + @@ -105,7 +105,7 @@
+ ">
diff --git a/mod/chat/db/mysql.php b/mod/chat/db/mysql.php index 1bb74215a3..76608fe3de 100644 --- a/mod/chat/db/mysql.php +++ b/mod/chat/db/mysql.php @@ -1,4 +1,4 @@ - - " HEIGHT=""> + " height=""> "> - - - + + + - + Unfortunatelly, your browser doesn't support Java applets. You have to use another one. - + - + " value=""> diff --git a/mod/chat/gui_header/chatmsg.php b/mod/chat/gui_header/chatmsg.php index 3f399b36bf..9679568d53 100644 --- a/mod/chat/gui_header/chatmsg.php +++ b/mod/chat/gui_header/chatmsg.php @@ -44,7 +44,7 @@ if ($arsc_my = arsc_getdatafromsid($arsc_sid)) header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Content-Type: text/html"); - header("Refresh: 4; URL=chatmsg.php?arsc_sid=".$arsc_sid."&arsc_lastid=".$arsc_lastid."&dummy=".time()."#end"); + header("Refresh: 4; url=chatmsg.php?arsc_sid=".$arsc_sid."&arsc_lastid=".$arsc_lastid."&dummy=".time()."#end"); echo $arsc_parameters["htmlhead"]; set_magic_quotes_runtime(0); diff --git a/mod/chat/gui_header/index.php b/mod/chat/gui_header/index.php index ffaf827078..ea29bf7bbe 100644 --- a/mod/chat/gui_header/index.php +++ b/mod/chat/gui_header/index.php @@ -12,7 +12,7 @@ include("../functions.inc.php"); - + diff --git a/mod/chat/gui_header_js/index.php b/mod/chat/gui_header_js/index.php index 82e69f2bfe..d9bb98f52e 100644 --- a/mod/chat/gui_header_js/index.php +++ b/mod/chat/gui_header_js/index.php @@ -62,9 +62,9 @@ - + - + diff --git a/mod/chat/gui_header_js/jsupdate.php b/mod/chat/gui_header_js/jsupdate.php index 659df29e32..d338d82b12 100644 --- a/mod/chat/gui_header_js/jsupdate.php +++ b/mod/chat/gui_header_js/jsupdate.php @@ -33,7 +33,7 @@ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Content-Type: text/html"); -header("Refresh: $CFG->chat_refresh_room; URL=jsupdate.php?chat_sid=$chat_sid&chat_lasttime=$chat_newlasttime&groupid=$groupid"); +header("Refresh: $CFG->chat_refresh_room; url=jsupdate.php?chat_sid=$chat_sid&chat_lasttime=$chat_newlasttime&groupid=$groupid"); ?> diff --git a/mod/chat/gui_push_js/index.php b/mod/chat/gui_push_js/index.php index 656d18cdf8..6b1ff9c458 100644 --- a/mod/chat/gui_push_js/index.php +++ b/mod/chat/gui_push_js/index.php @@ -12,8 +12,8 @@ include("../functions.inc.php"); - - + + diff --git a/mod/chat/gui_sockets/index.php b/mod/chat/gui_sockets/index.php index b55d38fbba..6a1532a313 100644 --- a/mod/chat/gui_sockets/index.php +++ b/mod/chat/gui_sockets/index.php @@ -63,7 +63,7 @@ - chat_serverhost:$CFG->chat_serverport?win=chat&$params"; ?>" NAME="msg" scrolling="auto" noresize marginwidth="2" marginheight="0"> + chat_serverhost:$CFG->chat_serverport?win=chat&$params"; ?>" name="msg" scrolling="auto" noresize marginwidth="2" marginheight="0"> chat_serverhost:$CFG->chat_serverport?win=users&$params"; ?>" name="users" scrolling="auto" marginwidth="5" marginheight="5"> diff --git a/mod/chat/gui_text/index.php b/mod/chat/gui_text/index.php index 7d16dbfc93..00b65b5615 100644 --- a/mod/chat/gui_text/index.php +++ b/mod/chat/gui_text/index.php @@ -34,7 +34,7 @@ if ($arsc_my = arsc_getdatafromsid($arsc_sid)) - ".$arsc_message."
", $arsc_room, 0); ?> + ".$arsc_message."
", $arsc_room, 0); ?> - + diff --git a/mod/chat/index.php b/mod/chat/index.php index f2df2e3bd9..a10aba9fc1 100644 --- a/mod/chat/index.php +++ b/mod/chat/index.php @@ -1,4 +1,4 @@ -wwwroot/mod/chat/view.php?c=$chat->id\">$chat->name
"; + echo "

wwwroot/mod/chat/view.php?c=$chat->id\">$chat->name
"; } $current = $chatuser->chatid; } $fullname = fullname($chatuser); - echo "   - $fullname
"; + echo "   - $fullname
"; } echo "
"; @@ -714,7 +714,7 @@ function chat_format_message_manually($message, $courseid, $sender, $currentuser $output->text = strip_tags($outinfo.': '.$outmain); - $output->html = "
$message->picture"; + $output->html = "
$message->picture"; $output->html .= "$outinfo"; if ($outmain) { $output->html .= ": $outmain"; diff --git a/mod/chat/mod.html b/mod/chat/mod.html index d91e1ed8b7..70b3d4bdd1 100644 --- a/mod/chat/mod.html +++ b/mod/chat/mod.html @@ -19,16 +19,16 @@ } ?> - +
- - + + - - + - - + + - - + + - - + - - +

:

:

- +

:

+

:

intro); ?>

:

:

chattime); echo " - "; print_time_selector("chathour", "chatminute", $form->chattime); ?>

:

:

schedule, "", "", ""); ?>

:

+

:

:

+

:

- - - - - - - + + + + + + + "> -"> +">
diff --git a/mod/chat/report.php b/mod/chat/report.php index c58aca4f6c..0578d72e97 100644 --- a/mod/chat/report.php +++ b/mod/chat/report.php @@ -1,4 +1,4 @@ -chat_refresh_userlist; URL=users.php?chat_sid=$chat_sid&groupid=$groupid"); +header("Refresh: $CFG->chat_refresh_userlist; url=users.php?chat_sid=$chat_sid&groupid=$groupid"); print_header(); @@ -94,11 +94,11 @@ if (!$chatusers = chat_get_users($chatuser->chatid, $groupid)) { echo ""; foreach ($chatusers as $chatuser) { $lastping = $timenow - $chatuser->lastmessageping; - echo "
"; + echo "
"; echo "id&course=$chat->course','user$chatuser->id','');\" href=\"$CFG->wwwroot/user/view.php?id=$chatuser->id&course=$chat->course\">"; print_user_picture($chatuser->id, 0, $chatuser->picture, false, false, false); - echo ""; - echo "

"; + echo "

"; + echo "

"; echo fullname($chatuser)."
"; echo "$stridle: ".format_time($lastping, $str).""; echo " id&groupid=$groupid\">$strbeep"; diff --git a/mod/chat/version.php b/mod/chat/version.php index 7a4579168e..f3bc17e954 100644 --- a/mod/chat/version.php +++ b/mod/chat/version.php @@ -1,4 +1,4 @@ -name", "", - "id>$strchats -> $chat->name", + "id\">$strchats -> $chat->name", "", "", true, update_module_button($cm->id, $course->id, $strchat), navmenu($course, $cm)); if (($chat->studentlogs or isteacher($course->id)) and !isguest()) { - echo "

id\">". + echo "

id\">". get_string("viewreport", "chat")."

"; } @@ -134,11 +134,11 @@ echo ""; foreach ($chatusers as $chatuser) { $lastping = $timenow - $chatuser->lastmessageping; - echo "
"; + echo "
"; echo "wwwroot/user/view.php?id=$chatuser->id&course=$chat->course\">"; print_user_picture($chatuser->id, 0, $chatuser->picture, false, false, false); - echo ""; - echo "

"; + echo "

"; + echo "

"; echo fullname($chatuser).'
'; echo "$stridle: ".format_time($lastping).""; echo "

"; diff --git a/mod/choice/backuplib.php b/mod/choice/backuplib.php index a3d3115c39..c4d59067c4 100644 --- a/mod/choice/backuplib.php +++ b/mod/choice/backuplib.php @@ -1,4 +1,4 @@ -
- +
- - + + - - + - - + + - - + + - - + + - - + + - - + + - - + + - - + +

:

:

- +

:

+

:

'; } else { - echo "

"; + echo "

"; helpbutton("textformat", get_string("formattexttype")); print_string("formattexttype"); echo ": "; @@ -98,53 +98,53 @@

:

:

- +

:

:

- +

:

:

- +

:

:

- +

:

:

- +

:

:

- +

:

: