version 1.23, 2009/02/12 21:15:53
|
version 1.25, 2009/02/25 16:39:59
|
Line 76
|
Line 76
|
</string> |
</string> |
</state> |
</state> |
|
|
<state name="FORBID_CHAT" title="Chat Participation"> |
<state name="FORBID_CHAT" title="Chat Room Participation"> |
<message nextstate="FORBID_DISCUSSION"> |
<message nextstate="FORBID_DISCUSSION"> |
<p>LON-CAPA has live chat functionality. This course will receive |
<p>LON-CAPA has chat room functionality. This course will receive |
its own chat room. You may deny students, TAs, or instructors |
its own chat room. You may deny students, TAs, or instructors |
the right to access the chat room.</p> |
the right to access the chat room.</p> |
</message> |
</message> |
<choices variable="BANNED_CHAT_ROLES" multichoice="1" allowempty='1'> |
<choices variable="BANNED_CHAT_ROLES" multichoice="1" allowempty='1'> |
Line 105
|
Line 105
|
$denied =~ s/,([^,]*)$/, and\1/; |
$denied =~ s/,([^,]*)$/, and\1/; |
} |
} |
if ($denied) { |
if ($denied) { |
$denied = substr($denied, 1) . ' not allowed to participate in live chatroom.'; |
$denied = substr($denied, 1) . ' not allowed to participate in chat room.'; |
$denied = ucfirst($denied); |
$denied = ucfirst($denied); |
} else { |
} else { |
$denied = 'Everyone can participate in live chatroom.'; |
$denied = 'Everyone can participate in chat room.'; |
} |
} |
return $denied; |
return $denied; |
} else { |
} else { |