[LON-CAPA-cvs] cvs: loncom /interface lonpreferences.pm

droeschl droeschl@source.lon-capa.org
Wed, 03 Dec 2008 20:29:40 -0000


droeschl		Wed Dec  3 20:29:40 2008 EDT

  Modified files:              
    /loncom/interface	lonpreferences.pm 
  Log:
  Changes related to LON-CAPA redesign project.
  
  Some optimization.
  
  
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.127 loncom/interface/lonpreferences.pm:1.128
--- loncom/interface/lonpreferences.pm:1.127	Tue Dec  2 20:10:27 2008
+++ loncom/interface/lonpreferences.pm	Wed Dec  3 20:29:40 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Preferences
 #
-# $Id: lonpreferences.pm,v 1.127 2008/12/02 20:10:27 droeschl Exp $
+# $Id: lonpreferences.pm,v 1.128 2008/12/03 20:29:40 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1836,24 +1836,6 @@
 
 		]
     },
-    {	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',
@@ -1863,14 +1845,14 @@
 		icon => 'preferences-desktop-locale.png',
 		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 => '',
@@ -1886,6 +1868,24 @@
 	    },
 		]
     },
+    {	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.'
+	    },
+		]
+    },
     {	categorytitle=>'Other',
 	items =>[
 	    {	linktext => 'Register Response Devices ("Clickers")',
@@ -1944,7 +1944,7 @@
 	|| &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 => '',