--- loncom/interface/lonpreferences.pm 2008/12/01 22:19:33 1.126 +++ loncom/interface/lonpreferences.pm 2008/12/06 20:34:09 1.129 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.126 2008/12/01 22:19:33 droeschl Exp $ +# $Id: lonpreferences.pm,v 1.129 2008/12/06 20:34:09 schafran Exp $ # # Copyright Michigan State University Board of Trustees # @@ -148,7 +148,7 @@ sub languagechanger { Apache::lonhtmlcommon::add_breadcrumb( { href => '/adm/preferences?action=changelanguages', - text => 'Change Colors'}); + text => 'Change Language'}); $r->print(Apache::loncommon::start_page('Change Language')); $r->print(Apache::lonhtmlcommon::breadcrumbs('Change Language')); my $user = $env{'user.name'}; @@ -772,7 +772,8 @@ sub msgforwardchanger { foad => 'Forwarding Address(es)', noti => 'Notification E-mail Address(es)', foad_exmpl => 'e.g. userA:domain1,userB:domain2,...', - mnot => 'Email Address(es) which should be notified about new LON-CAPA messages', # old: 'Message Notification Email Address(es)', + mnot => 'E-mail Address(es) which should be notified about new LON-CAPA messages', # old: 'Message +Notification Email Address(es)', mnot_exmpl => 'e.g. joe@doe.com', chg => 'Change', email => 'The e-mail address entered in row ', @@ -1836,24 +1837,6 @@ my @menu= ] }, - { categorytitle=>'Message Management', - items =>[ - { linktext => 'Messages & Notifications', - url => '/adm/preferences?action=changemsgforward', - permission => 'F', - #help => 'Prefs_Messages', - icon => 'mail-reply-all.png', - linktitle => 'Change messageforwarding or notifications settings.' - }, - { linktext => 'Discussion Display Preferences', - url => '/adm/preferences?action=changediscussions', - permission => 'F', - #help => 'Change_Discussion_Display', - icon => 'mail-message-new.png', - linktitle => 'Set display preferences for discussion posts for both bulletin boards and individual resources in all your courses.' - }, - ] - }, { categorytitle=>'Content Display Settings', items =>[ { linktext => 'Language', @@ -1861,28 +1844,46 @@ my @menu= permission => 'F', #help => 'Prefs_Language', icon => 'preferences-desktop-locale.png', - linktitle => 'Choose the default language for LON-CAPA.' + linktitle => 'Choose the default language for this user.' }, - { linktext => 'WYSIWYG Editor Preferences', + { linktext => 'WYSIWYG Editor', url => '/adm/preferences?action=changewysiwyg', permission => 'F', #help => '', icon => 'edit-select-all.png', linktitle => 'Enable or disable the WYSIWYG-Editor.' }, - { linktext => $role.' Page Preferences', + { linktext => $role.' Page', url => '/adm/preferences?action=changerolespref', permission => 'F', #help => '', icon => 'sctr.png', linktitle => 'Configure the roles hotlist.' }, - { linktext => 'Display of Math Equations', + { linktext => 'Display of Scientific Equations', url => '/adm/preferences?action=changetexenginepref', permission => 'F', #help => '', icon => 'stat.png', - linktitle => 'Change how Math Equations are displayed.' + linktitle => 'Change how Scientific Equations are displayed.' + }, + ] + }, + { categorytitle=>'Message Management', + items =>[ + { linktext => 'Messages & Notifications', + url => '/adm/preferences?action=changemsgforward', + permission => 'F', + #help => 'Prefs_Messages', + icon => 'mail-reply-all.png', + linktitle => 'Change messageforwarding or notifications settings.' + }, + { linktext => 'Discussion Display', + url => '/adm/preferences?action=changediscussions', + permission => 'F', + #help => 'Change_Discussion_Display', + icon => 'mail-message-new.png', + linktitle => 'Set display preferences for discussion posts for both bulletin boards and individual resources in all your courses.' }, ] }, @@ -1944,7 +1945,7 @@ push(@{ $menu[4]->{items} }, { || &Apache::lonnet::allowed('whn',$env{'request.course.id'}.'/' .$env{'request.course.sec'})) { push(@{ $menu[4]->{items} }, { - linktext => 'Course Initialization Preference', + linktext => 'Course Initialization', url => '/adm/preferences?action=changecourseinit', permission => 'F', #help => '', @@ -2119,7 +2120,7 @@ sub handler2 { })); push (@Options,({ action => 'changemsgforward', - linktext => 'Change Message Forwarding and Notification Email Addresses', + linktext => 'Change Message Forwarding and Notification E-mail Addresses', href => '/adm/preferences', help => 'Prefs_Messages', breadcrumb =>