version 1.134, 2009/01/15 18:31:11
|
version 1.137, 2009/02/17 10:08:35
|
Line 126 $warning
|
Line 126 $warning
|
<label><input type="radio" name="wysiwyg" value="off" $onselect /> $switchoff</label><br /> |
<label><input type="radio" name="wysiwyg" value="off" $onselect /> $switchoff</label><br /> |
<label><input type="radio" name="wysiwyg" value="on" $offselect /> $switchon</label> |
<label><input type="radio" name="wysiwyg" value="on" $offselect /> $switchon</label> |
ENDLSCREEN |
ENDLSCREEN |
$r->print('<br /><input type="submit" value="'.&mt('Change').'" />'); |
$r->print('<br /><input type="submit" value="'.&mt('Save').'" />'); |
} |
} |
|
|
|
|
Line 172 sub languagechanger {
|
Line 172 sub languagechanger {
|
<input type="hidden" name="action" value="verify_and_change_languages" /> |
<input type="hidden" name="action" value="verify_and_change_languages" /> |
<br />$pref: $selectionbox |
<br />$pref: $selectionbox |
ENDLSCREEN |
ENDLSCREEN |
$r->print('<br /><input type="submit" value="'.&mt('Change').'" />'); |
$r->print('<br /><input type="submit" value="'.&mt('Save').'" />'); |
} |
} |
|
|
|
|
Line 227 sub texenginechanger {
|
Line 227 sub texenginechanger {
|
my %lt=&Apache::lonlocal::texthash( |
my %lt=&Apache::lonlocal::texthash( |
'headline' => 'Change Math Preferences', |
'headline' => 'Change Math Preferences', |
'preftxt' => 'Preferred method to display Math', |
'preftxt' => 'Preferred method to display Math', |
'change' => 'Change', |
'change' => 'Save', |
'exmpl' => 'Examples', |
'exmpl' => 'Examples', |
'jsmath' => 'jsMath:', |
'jsmath' => 'jsMath:', |
'tth' => 'tth (TeX to HTML):', |
'tth' => 'tth (TeX to HTML):', |
Line 239 sub texenginechanger {
|
Line 239 sub texenginechanger {
|
<form name="prefs" action="/adm/preferences" method="post"> |
<form name="prefs" action="/adm/preferences" method="post"> |
<input type="hidden" name="action" value="verify_and_change_texengine" /> |
<input type="hidden" name="action" value="verify_and_change_texengine" /> |
<p> |
<p> |
$lt{'preftxt'}:<br /> |
$lt{'preftxt'}: $selectionbox |
$selectionbox <input type="submit" value="$lt{'change'}" /> |
<br /> |
|
<input type="submit" value="$lt{'change'}" /> |
</p> |
</p> |
</form> |
</form> |
<br /> |
<br /> |
Line 402 sub rolesprefchanger {
|
Line 403 sub rolesprefchanger {
|
</p> |
</p> |
'.$roles_check_list.' |
'.$roles_check_list.' |
<br /> |
<br /> |
<input type="submit" value="'.&mt('Change').'" /> |
<input type="submit" value="'.&mt('Save').'" /> |
</form>'); |
</form>'); |
} |
} |
|
|
Line 607 sub iconchanger {
|
Line 608 sub iconchanger {
|
my $useicons=&mt('Use icons and text'); |
my $useicons=&mt('Use icons and text'); |
my $usebuttons=&mt('Use buttons and text'); |
my $usebuttons=&mt('Use buttons and text'); |
my $useicononly=&mt('Use icons only'); |
my $useicononly=&mt('Use icons only'); |
my $change=&mt('Change'); |
my $change=&mt('Save'); |
$r->print(<<ENDSCREEN); |
$r->print(<<ENDSCREEN); |
<form name="prefs" action="/adm/preferences" method="post"> |
<form name="prefs" action="/adm/preferences" method="post"> |
<input type="hidden" name="action" value="verify_and_change_icons" /> |
<input type="hidden" name="action" value="verify_and_change_icons" /> |
Line 700 sub domcoordchanger {
|
Line 701 sub domcoordchanger {
|
} |
} |
my $text=&mt('By default, the Domain Coordinator can enter your construction space.'); |
my $text=&mt('By default, the Domain Coordinator can enter your construction space.'); |
my $construction=&mt('Block access to construction space'); |
my $construction=&mt('Block access to construction space'); |
my $change=&mt('Change'); |
my $change=&mt('Save'); |
$r->print(<<ENDSCREEN); |
$r->print(<<ENDSCREEN); |
<form name="prefs" action="/adm/preferences" method="post"> |
<form name="prefs" action="/adm/preferences" method="post"> |
<input type="hidden" name="action" value="verify_and_change_domcoord" /> |
<input type="hidden" name="action" value="verify_and_change_domcoord" /> |
Line 779 sub msgforwardchanger {
|
Line 780 sub msgforwardchanger {
|
mnot => 'E-mail Address(es) which should be notified about new LON-CAPA messages', |
mnot => 'E-mail Address(es) which should be notified about new LON-CAPA messages', |
# old: 'Message Notification Email Address(es)', |
# old: 'Message Notification Email Address(es)', |
mnot_exmpl => 'e.g. <tt>joe@doe.com</tt>', |
mnot_exmpl => 'e.g. <tt>joe@doe.com</tt>', |
chg => 'Change', |
chg => 'Save', |
email => 'The e-mail address entered in row ', |
email => 'The e-mail address entered in row ', |
notv => 'is not a valid e-mail address', |
notv => 'is not a valid e-mail address', |
toen => "To enter multiple addresses, enter one address at a time, click 'Change' and then add the next one", |
toen => "To enter multiple addresses, enter one address at a time, click 'Change' and then add the next one", |
prme => 'Back to preferences menu', |
prme => 'Back', |
); |
); |
Apache::lonhtmlcommon::add_breadcrumb( |
Apache::lonhtmlcommon::add_breadcrumb( |
{ href => '/adm/preferences?action=changemsgforward', |
{ href => '/adm/preferences?action=changemsgforward', |
Line 955 ENDMSG
|
Line 956 ENDMSG
|
$r->print(qq| |
$r->print(qq| |
<br /><hr /> |
<br /><hr /> |
<input type="hidden" name="numnotify" value="$num" /> |
<input type="hidden" name="numnotify" value="$num" /> |
<input type="button" value="$lt{'chg'}" onclick="javascript:validate()" /> |
|
<input type="button" value="$lt{'prme'}" onclick="location.href='/adm/preferences'" /> |
<input type="button" value="$lt{'prme'}" onclick="location.href='/adm/preferences'" /> |
|
<input type="button" value="$lt{'chg'}" onclick="javascript:validate()" /> |
</form> |
</form> |
|); |
|); |
|
|
Line 1153 $start_data_table
|
Line 1154 $start_data_table
|
$chtable |
$chtable |
$end_data_table |
$end_data_table |
</table> |
</table> |
<input type="submit" value="Change Custom Colors" /> |
<input type="submit" value="'.&mt('Save').'" /> |
<input type="submit" name="resetall" value="Reset All Colors to Default" /> |
<input type="submit" name="resetall" value="'.&mt('Reset All').'" title="'.&mt('Reset All Colors to Default').'" /> |
</form> |
</form> |
ENDCOL |
ENDCOL |
} |
} |
Line 1338 sub client_form {
|
Line 1339 sub client_form {
|
'currentpass' => 'Current Password', |
'currentpass' => 'Current Password', |
'newpass' => 'New Password', |
'newpass' => 'New Password', |
'confirmpass' => 'Confirm Password', |
'confirmpass' => 'Confirm Password', |
'changepass' => 'Change Password'); |
'changepass' => 'Save'); |
|
|
my $output = qq| |
my $output = qq| |
<form name="client" > |
<form name="client" > |
Line 1601 sub discussionchanger {
|
Line 1602 sub discussionchanger {
|
'pref' => 'Display Preference', |
'pref' => 'Display Preference', |
'curr' => 'Current setting ', |
'curr' => 'Current setting ', |
'actn' => 'Action', |
'actn' => 'Action', |
'sdpf' => 'Set display preferences for discussion posts for both bulletin boards and individual resources in all your courses.', |
'sdpf' => 'Set display preferences for discussion posts for both discussion boards and individual resources in all your courses.', |
'prca' => 'Preferences can be set that determine', |
'prca' => 'Preferences can be set that determine', |
'whpo' => 'Which posts are displayed when you display a bulletin board or resource, and', |
'whpo' => 'Which posts are displayed when you display a discussion board or resource, and', |
'unwh' => 'Under what circumstances posts are identfied as "New"', |
'unwh' => 'Under what circumstances posts are identfied as "New"', |
'allposts' => 'All posts', |
'allposts' => 'All posts', |
'unread' => 'New posts only', |
'unread' => 'New posts only', |
Line 1666 END
|
Line 1667 END
|
$r->print(<<"END"); |
$r->print(<<"END"); |
<br /> |
<br /> |
<br /> |
<br /> |
<input type="submit" name="sub" value="Save Changes" /> |
<input type="submit" name="sub" value="Save" /> |
<br /> |
<br /> |
<br /> |
<br /> |
Note: $lt{'thde'} |
Note: $lt{'thde'} |
Line 1817 if (&Apache::lonnet::usertools_access($u
|
Line 1818 if (&Apache::lonnet::usertools_access($u
|
my @menu= |
my @menu= |
({ categorytitle=>'Personal Data', |
({ categorytitle=>'Personal Data', |
items =>[ |
items =>[ |
{ linktext => 'About Me', |
{ linktext => 'Personal Homepage', |
url => $aboutmeurl, |
url => $aboutmeurl, |
permission => $permissions{'aboutme'}, |
permission => $permissions{'aboutme'}, |
#help => 'Prefs_About_Me', |
#help => 'Prefs_About_Me', |
Line 1898 my @menu=
|
Line 1899 my @menu=
|
permission => 'F', |
permission => 'F', |
#help => 'Change_Discussion_Display', |
#help => 'Change_Discussion_Display', |
icon => 'mail-message-new.png', |
icon => 'mail-message-new.png', |
linktitle => 'Set display preferences for discussion posts for both bulletin boards and individual resources in all your courses.' |
linktitle => 'Set display preferences for discussion posts for both discussion boards and individual resources in all your courses.' |
}, |
}, |
] |
] |
}, |
}, |
Line 2154 sub handler2 {
|
Line 2155 sub handler2 {
|
'/adm/'.$env{'user.domain'}.'/'.$env{'user.name'}.'/aboutme'; |
'/adm/'.$env{'user.domain'}.'/'.$env{'user.name'}.'/aboutme'; |
push (@Options,{ action => 'none', |
push (@Options,{ action => 'none', |
linktext => |
linktext => |
q{Edit the 'About Me' Personal Information Screen}, |
q{Edit the Personal Homepage}, |
help => 'Prefs_About_Me', |
help => 'Prefs_About_Me', |
href => $aboutmeaction}); |
href => $aboutmeaction}); |
push (@Options,({ action => 'changecolors', |
push (@Options,({ action => 'changecolors', |